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: SalesforceInterface df-2014-heroku-thermostat-k64f SalesforceInterface
Fork of HTTPClient by
Revision 48:db30340571c9, committed 2015-06-05
- Comitter:
- sarahmarshy
- Date:
- Fri Jun 05 21:48:15 2015 +0000
- Parent:
- 47:8a6098f41d15
- Child:
- 49:a564fc323921
- Commit message:
- Eliminated unnessecary logic when defnining chunk size
Changed in this revision
| HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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
