Minor tweaks to support longer header key value pairs

Dependents:   Car_Bon_car_module

Fork of HTTPClient by David Smart

Revision:
25:19392aabd83d
Parent:
24:07dc6a23ca28
--- a/HTTPClient.cpp	Sun Mar 16 03:11:53 2014 +0000
+++ b/HTTPClient.cpp	Sun Mar 16 03:12:18 2014 +0000
@@ -390,7 +390,7 @@
                 }
                 if(!foundCrlf) { //Try to read more
                     if( trfLen < CHUNK_SIZE ) {
-                        size_t newTrfLen;
+                        size_t newTrfLen = 0;
                         ret = recv(buf + trfLen, 0, CHUNK_SIZE - trfLen - 1, &newTrfLen);
                         trfLen += newTrfLen;
                         CHECK_CONN_ERR(ret);