Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: CyaSSL-Twitter-OAuth4Tw TweetTest NetworkThermometer CyaSSL-Twitter-OAuth4Tw_arrange
Fork of HTTPClient by
Revision 28:25b5d3720bd1, committed 2014-12-03
- 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
