Changeset 35 in cheroxy for trunk/src/main.cpp
- Timestamp:
- 11/20/12 19:06:30 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/main.cpp
r34 r35 77 77 CRXProxy * aProxy = NULL; 78 78 79 char aFilterFileExtension[] = "exe|gif|jpg|png|css|js|ico| ";79 char aFilterFileExtension[] = "exe|gif|jpg|png|css|js|ico|swf|"; 80 80 char * aHttpMessage = NULL; 81 81 int aHttpMessageLength = 0; … … 106 106 if (aResult < 0) 107 107 { 108 c err<< aProxy->GetErrorMessage () << endl;108 cout << aProxy->GetErrorMessage () << endl; 109 109 } 110 110 … … 116 116 free (aHttpMessage); 117 117 118 aHttpMessageLength = aProxy->GetHttpResponse Length ();118 aHttpMessageLength = aProxy->GetHttpResponseHeaderLength (); 119 119 aHttpMessage = (char *) calloc (aHttpMessageLength + 1, 1); 120 cout << aProxy->GetHttpResponse (aHttpMessage, aHttpMessageLength) << endl;120 cout << aProxy->GetHttpResponseHeader (aHttpMessage, aHttpMessageLength) << endl; 121 121 free (aHttpMessage); 122 122 } … … 125 125 } 126 126 127 c err<< " thread exit." << endl;127 cout << " thread exit." << endl; 128 128 /*----------------------------------------------------------------*/ 129 129
Note:
See TracChangeset
for help on using the changeset viewer.