Fork of HTTPClient by
Revision 22:d4389480e952, committed 2015-03-12
- Comitter:
- komoritan
- Date:
- Thu Mar 12 12:44:17 2015 +0000
- Parent:
- 21:199217e7fa41
- Commit message:
- bug fix - Receive response
Changed in this revision
HTTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 199217e7fa41 -r d4389480e952 HTTPClient.cpp --- a/HTTPClient.cpp Tue Feb 10 12:21:03 2015 +0000 +++ b/HTTPClient.cpp Thu Mar 12 12:44:17 2015 +0000 @@ -18,7 +18,7 @@ */ //Debug is disabled by default -#if 0 +#if 1 //Enable debug #include <cstdio> #define DBG(x, ...) std::printf("[HTTPClient : DBG]"x"\r\n", ##__VA_ARGS__); @@ -310,7 +310,7 @@ ret = send(data, strlen(data)); CHECK_CONN_ERR(ret); - /* +#if 1 //Receive response printf("\n Receiving response"); @@ -610,7 +610,7 @@ } } - */ +#endif m_sock.close(); DBG("Completed HTTP transaction");