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.
Fork of mbed-http by
Revision 6:112d72c60e07, committed 2017-02-23
- Comitter:
- Jan Jongboom
- Date:
- Thu Feb 23 14:11:47 2017 +0100
- Parent:
- 5:2456c90f02e9
- Child:
- 7:2e3eedb9ca5c
- Commit message:
- Call is_body_complete() in HTTPS request as well
Changed in this revision
| source/https_request.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/https_request.h Thu Feb 23 13:56:17 2017 +0100
+++ b/source/https_request.h Thu Feb 23 14:11:47 2017 +0100
@@ -256,8 +256,8 @@
free(recv_buffer);
return NULL;
}
- // No more chunks? break out of this loop
- if (_bpos < HTTP_RECEIVE_BUFFER_SIZE) {
+
+ if (_response->is_body_complete()) {
break;
}
}
