mbed-http
Fork of mbed-http by
Revision 20:0e63d6a93c02, committed 2017-11-18
- Comitter:
- Jan Jongboom
- Date:
- Sat Nov 18 14:03:26 2017 +0100
- Parent:
- 19:a5371b71de6f
- Child:
- 21:fcd2bfd31a39
- Commit message:
- ifndef around HTTP_RECEIVE_BUFFER_SIZE
Changed in this revision
| source/http_request.h | Show annotated file Show diff for this revision Revisions of this file |
| source/https_request.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/source/http_request.h Mon Sep 04 16:52:46 2017 +0100 +++ b/source/http_request.h Sat Nov 18 14:03:26 2017 +0100 @@ -32,6 +32,9 @@ * - Userinfo parameter is not handled */ +#ifndef HTTP_RECEIVE_BUFFER_SIZE +#define HTTP_RECEIVE_BUFFER_SIZE 8 * 1024 +#endif /** * \brief HttpRequest implements the logic for interacting with HTTP servers.
--- a/source/https_request.h Mon Sep 04 16:52:46 2017 +0100 +++ b/source/https_request.h Sat Nov 18 14:03:26 2017 +0100 @@ -28,6 +28,10 @@ #include "http_parsed_url.h" #include "tls_socket.h" +#ifndef HTTP_RECEIVE_BUFFER_SIZE +#define HTTP_RECEIVE_BUFFER_SIZE 8 * 1024 +#endif + /** * \brief HttpsRequest implements the logic for interacting with HTTPS servers. */
