Fork of wolfSSL's HTTPClient fork. Fork!

Dependencies:   CyaSSL

Dependents:   exosite_http_example exosite_http_example

Fork of HTTPClient by wolf SSL

Files at this revision

API Documentation at this revision

Comitter:
Patrick Barrett
Date:
Tue Jan 20 14:29:43 2015 -0600
Parent:
33:bdd333d3939c
Commit message:
missed a couple things

Changed in this revision

HTTPClient.cpp Show annotated file Show diff for this revision Revisions of this file
HTTPClient.h Show annotated file Show diff for this revision Revisions of this file
--- 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()
--- a/HTTPClient.h	Tue Jan 20 14:13:54 2015 -0600
+++ b/HTTPClient.h	Tue Jan 20 14:29:43 2015 -0600
@@ -153,7 +153,6 @@
     const char* m_basicAuthPassword;
     int m_httpResponseCode;
 
-    const char * header ;
     char * redirect_url ;
     int    redirect_url_size ;
     int    redirect ;