Fork of wolfSSL's HTTPClient fork. Fork!

Dependencies:   CyaSSL

Dependents:   exosite_http_example exosite_http_example

Fork of HTTPClient by wolf SSL

Revision:
34:a34fcee9f204
Parent:
33:bdd333d3939c
--- a/HTTPClient.cpp	Tue Jan 20 14:13:54 2015 -0600
+++ b/HTTPClient.cpp	Tue Jan 20 14:29:43 2015 -0600
@@ -118,7 +118,8 @@
     m_basicAuthUser = NULL ;
     redirect_url = NULL ;
     redirect = 0 ;
-    header = NULL ;
+    for(size_t i = 0; i < MAX_HEADER_COUNT; i++)
+        header[i] = NULL ;
 }
 
 HTTPClient::~HTTPClient()