Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: exosite_http_example exosite_http_example
Fork of HTTPClient by
Revision 34:a34fcee9f204, committed 2015-01-20
- 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 |
diff -r bdd333d3939c -r a34fcee9f204 HTTPClient.cpp
--- 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()
diff -r bdd333d3939c -r a34fcee9f204 HTTPClient.h
--- 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 ;
