From: Allister L. S. <all...@gm...> - 2008-08-08 20:19:35
|
Hi Dean and everyone, I've just checked out your latest commit to the http_integration branch. I tested it with Visual C++ 2008 on Windows Vista. I get the following error: ======= Start error log =========== 1>testing.unit-test libs\network\test\bin\msvc-9.0express\debug\link-static\threading-multi\localhost_tests.passed 1>Running 10 test cases... 1>libs/network/test/localhost_tests.cpp(133): error in "text_file_query": check body(response_).length() == size failed [113 != 117] 1>unknown location(0): fatal error in "cgi_query": std::runtime_error: End of file 1>libs\network\test\localhost_tests.cpp(182): last checkpoint 1>*** 2 failures detected in test suite "http 1.0 localhost tests" 1>message_test.cpp 1> 1> libs\network\test\bin\msvc-9.0express\debug\link-static\threading-multi\localhost_tests.exe && echo. > libs\network\test\bin\msvc-9.0express\debug\link-static\threading-multi\localhost_tests.passed 1>...failed testing.unit-test libs\network\test\bin\msvc-9.0express\debug\link-static\threading-multi\localhost_tests.passed... ======= End error log =========== Here's the log from the python server: ======= Start server log =========== alxpc01 - - [08/Aug/2008 21:52:21] "GET / HTTP/1.0" 200 - alxpc01 - - [08/Aug/2008 21:52:22] "GET / HTTP/1.0" 200 - alxpc01 - - [08/Aug/2008 21:52:23] "GET /boost.jpg HTTP/1.0" 200 - alxpc01 - - [08/Aug/2008 21:52:24] "GET /test.xml HTTP/1.0" 200 - alxpc01 - - [08/Aug/2008 21:52:25] "GET /test.xml HTTP/1.0" 200 - alxpc01 - - [08/Aug/2008 21:52:26] "GET /boost.jpg HTTP/1.0" 200 - alxpc01 - - [08/Aug/2008 21:52:27] "GET /cgi-bin/requestinfo.py?query=1 HTTP/1.0 " 200 - alxpc01 - - [08/Aug/2008 21:52:27] command: C:\Python25\python.exe -u d:\Dev\vc9 ws\cpp-netlib\libs\network\test\server\cgi-bin\requestinfo.py alxpc01 - - [08/Aug/2008 21:52:27] CGI script exited OK alxpc01 - - [08/Aug/2008 21:52:28] code 404, message File not found alxpc01 - - [08/Aug/2008 21:52:28] "GET /file_not_found HTTP/1.0" 404 - ======= End server log =========== Can't say what exactly what's wrong yet as I still have to dive into the code, but at least you gurus can figure it out ;-) Cheers, Allister On Fri, Aug 8, 2008 at 9:34 PM, Dean Michael C. Berris < dmb...@fr...> wrote: > I've just committed changes that fixes the errors on MSVC. Can someone > with access to GCC and other compilers try the latest in the > http_integration branch? > > Thanks in advance. :) > > -- > Dean Michael Berris > Software Engineer, Friendster, Inc. > > > -----Original Message----- > > From: cpp...@li... > > [mailto:cpp...@li...] On > > Behalf Of Dean Michael C. Berris > > Sent: Saturday, August 09, 2008 2:19 AM > > To: C++ Networking Library Developers Mailing List > > Subject: Re: [cpp-netlib-devel] New http::client code errors > > > > Hi Divye, > > > > > -----Original Message----- > > > From: cpp...@li... > > > [mailto:cpp...@li...] On > > Behalf Of > > > Divye Kapoor > > > Sent: Saturday, August 09, 2008 12:21 AM > > > To: C++ Networking Library Developers Mailing List > > > Subject: [cpp-netlib-devel] New http::client code errors > > > > > > Hi Dean, > > > I just tried out your new code on Vista/MSVC8 and it seems that > > > there is an issue of a missing type-declaration of the > > > headers_container in the message/wrappers/headers.hpp This doesn't > > > seem to be an error due to asio. I couldn't figure out the include > > > dependency order causing this. Could you have a look? > > > > > > > Are you using precompiled headers? > > > > I haven't tested with MSVC8 yet, I'll give it a whirl through > > MSVC 2008 Express Edition (MSVC9 I think) soon. > > > > Thanks for the report. > > > > |