ban4jp - / HTTPClient-wolfSSL

Dependents:   CyaSSL-Twitter-OAuth4Tw TweetTest NetworkThermometer CyaSSL-Twitter-OAuth4Tw_arrange

Fork of HTTPClient by wolf SSL

Files at this revision

API Documentation at this revision

Comitter:
wolfSSL
Date:
Wed Dec 03 05:14:23 2014 +0000
Parent:
27:5d4739eae63e
Child:
29:79567006ecb4
Commit message:
timing after request sent;

Changed in this revision

CyaSSL.lib Show annotated file Show diff for this revision Revisions of this file
HTTPClient.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/CyaSSL.lib	Mon Jul 21 11:29:00 2014 +0000
+++ b/CyaSSL.lib	Wed Dec 03 05:14:23 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/wolfSSL/code/CyaSSL/#1239e9b70ca2
+http://mbed.org/users/wolfSSL/code/CyaSSL/#53d6dbf1f3a5
--- a/HTTPClient.cpp	Mon Jul 21 11:29:00 2014 +0000
+++ b/HTTPClient.cpp	Wed Dec 03 05:14:23 2014 +0000
@@ -323,6 +323,8 @@
         return HTTP_CONN;
     }
 
+    wait(0.1) ;
+    
     //Send all headers
 
     //Send default headers
@@ -606,7 +608,7 @@
 {
     DBG("Trying to read between %d and %d bytes", minLen, maxLen);
     size_t readLen = 0;
-
+    maxLen = maxLen == 0 ? 1 : maxLen ;
     if(!m_sock.is_connected()) {
         WARN("Connection was closed by server");
         return HTTP_CLOSED; //Connection was closed by server