- Timestamp:
- 11/06/12 16:28:09 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/CRXHttpMessage.cpp
r6 r17 8 8 #include "CRXHttpMessage.h" 9 9 10 #include <iostream>11 #include <stdio.h>12 #include <stdlib.h>13 14 10 CRXHttpMessage::CRXHttpMessage (void) 15 : mHttpMessage (""),16 mHttpVersion ("")17 11 { 18 12 } … … 24 18 return ; 25 19 26 mHttpMessage.clear ();27 20 mHttpMessage.assign (aHttpMessage); 28 21 -
trunk/src/CRXHttpRequest.cpp
r6 r17 8 8 #include "CRXHttpRequest.h" 9 9 10 #include <iostream>11 10 #include <stdio.h> 12 11 #include <stdlib.h> 13 12 14 13 CRXHttpRequest::CRXHttpRequest (void) 15 : mMethod (""), 16 mUrl (""), 17 mHttpVersion (""), 18 mProtocol (""), 19 mHost (""), 14 : 20 15 mPort (0) 21 16 { … … 65 60 66 61 char aMethod[64] = {0x00, }; 67 char aUrl[1024 ]= {0x00, };62 char aUrl[1024 * 4] = {0x00, }; 68 63 char aHttpVersion[64] = {0x00, }; 69 64 -
trunk/src/CRXHttpResponse.cpp
r6 r17 8 8 #include "CRXHttpResponse.h" 9 9 10 #include <iostream>11 10 #include <stdio.h> 12 11 #include <stdlib.h> -
trunk/src/main.cpp
r16 r17 38 38 #define CRX_PRINT_ERROR(__code, __message) \ 39 39 do { \ 40 char __error[ 1024] = {0x00, }; \40 char __error[4096] = {0x00, }; \ 41 41 ostringstream __stream; \ 42 42 __stream << __message; \ … … 122 122 int aReceivedSize = 0; 123 123 124 const unsigned int aBufferSize = 1024 * 64;124 const unsigned int aBufferSize = 1024 * 16; 125 125 char aBuffer[aBufferSize] = {0x00, }; 126 126 … … 132 132 133 133 bool aIsMoreRequest = false; 134 134 135 /*----------------------------------------------------------------*/ 135 136 delete (CRXProxyThreadArgs *)aThreadArg;
Note:
See TracChangeset
for help on using the changeset viewer.