fix the problem http request with '\0' and fixx query string in url
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;
}
}
