HTTPClient with increased vector for sites with long parameters

Fork of HTTPClient by Donatien Garnier

Files at this revision

API Documentation at this revision

Comitter:
liviur2
Date:
Mon Dec 03 22:56:14 2012 +0000
Parent:
16:1f743885e7de
Commit message:
Doubled the vector size for pages with long parameters.

Changed in this revision

HTTPClient.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HTTPClient.cpp	Thu Aug 30 15:38:57 2012 +0000
+++ b/HTTPClient.cpp	Mon Dec 03 22:56:14 2012 +0000
@@ -127,7 +127,7 @@
   char scheme[8];
   uint16_t port;
   char host[32];
-  char path[64];
+  char path[128]; //64
   //First we need to parse the url (http[s]://host[:port][/[path]]) -- HTTPS not supported (yet?)
   HTTPResult res = parseURL(url, scheme, sizeof(scheme), host, sizeof(host), &port, path, sizeof(path));
   if(res != HTTP_OK)