From: <at...@us...> - 2007-11-04 15:44:32
|
Revision: 524 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=524&view=rev Author: atani Date: 2007-11-04 07:44:30 -0800 (Sun, 04 Nov 2007) Log Message: ----------- fixed compilation error in httpclient on win32 fixed bug in useragent which caused segfault when content-encoding was not chunked. Modified Paths: -------------- tiki/examples/net/httpclient/src/main.cpp tiki/src/net/http/useragent.cpp Modified: tiki/examples/net/httpclient/src/main.cpp =================================================================== --- tiki/examples/net/httpclient/src/main.cpp 2007-10-30 18:43:38 UTC (rev 523) +++ tiki/examples/net/httpclient/src/main.cpp 2007-11-04 15:44:30 UTC (rev 524) @@ -36,6 +36,7 @@ else { Debug::printf("Sent %d/%d\n", progress->getBytesSent(), progress->getBytesExpected()); } + return 0; } }; Modified: tiki/src/net/http/useragent.cpp =================================================================== --- tiki/src/net/http/useragent.cpp 2007-10-30 18:43:38 UTC (rev 523) +++ tiki/src/net/http/useragent.cpp 2007-11-04 15:44:30 UTC (rev 524) @@ -337,6 +337,7 @@ } else if(!field.compare("Content-Length")) { responseSize = atoi(value.c_str()); + response->setHeaderParam(field, value); } else { response->setHeaderParam(field, value); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |