increased the chunk buffer to accept post messages above 512 bytes

Dependents:   catcher_sensoresmx_info_POST_KARLO

Fork of HTTPClient by Toyomasa Watarai

Files at this revision

API Documentation at this revision

Comitter:
karlovalentin
Date:
Tue Mar 08 06:19:31 2016 +0000
Parent:
21:87fb5dd782dc
Commit message:
testing with 1000char message being sent 100k times;

Changed in this revision

HTTPClient.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HTTPClient.cpp	Mon Oct 19 14:46:48 2015 +0000
+++ b/HTTPClient.cpp	Tue Mar 08 06:19:31 2016 +0000
@@ -40,7 +40,7 @@
 #define MIN(x,y) (((x)<(y))?(x):(y))
 #define MAX(x,y) (((x)>(y))?(x):(y))
 
-#define CHUNK_SIZE 256
+#define CHUNK_SIZE 2048
 #define BUF_SIZE 64
 
 #include <cstring>