Eliminated unessecary logic when defining chunk size
Dependents: ECE_4180_Lab_4 IoT_Security_WIFI ESP8266_HTTP_HelloWorld ESP8266_ws_hw ... more
Fork of HTTPClient-SSL by
Diff: HTTPClient.cpp
- Revision:
- 48:db30340571c9
- Parent:
- 46:7cd69cc809b8
- Child:
- 49:a564fc323921
diff -r 8a6098f41d15 -r db30340571c9 HTTPClient.cpp --- a/HTTPClient.cpp Sat Dec 20 02:59:19 2014 +0000 +++ b/HTTPClient.cpp Fri Jun 05 21:48:15 2015 +0000 @@ -69,16 +69,6 @@ #define MAX_HEADER_KEY_LENGTH 40 #define HEADER_SCANF_FORMAT "%40[^:]: %4096[^\r\n]" /* must align with BIG_MEMORY_CHUNK */ #define REDIRECT_SCANF_FORMAT "%40[^:]: %4096[^\r\n]" /* must align with BIG_MEMORY_CHUNK */ -#elif defined (TARGET_C027) - // default smaller buffers - #define CHUNK_SIZE 256 - #define SEND_BUF_SIZE 1100 - #define MAX_URL_HOSTNAME_LENGTH 128 - #define MAX_URL_PATH_LENGTH 128 - #define MAX_HEADER_VALUE_LENGTH 41 - #define MAX_HEADER_KEY_LENGTH 40 - #define HEADER_SCANF_FORMAT "%40[^:]: %40[^\r\n]" /* must align with MAX_HEADER_VALUE_LENGTH */ - #define REDIRECT_SCANF_FORMAT "%40[^:]: %128[^\r\n]" /* must align with MAX_URL_PATH_LENGTH */ #else // default smaller buffers #define CHUNK_SIZE 256