Unit test failure http_client_get_test on MSVC 10.0 #78

Closed
glynos opened this Issue Dec 4, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@glynos
Member

glynos commented Dec 4, 2011

8: Test command: D:\Sandbox\cpp-netlib-1_45\tests\cpp-netlib-http-client_get_test.exe
8: Test timeout computed to be: 9.99988e+006
8: Running 12 test cases...
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_default_8bit_tcp_resolve,1,0

": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_default_8bit_udp_resolve,1,0
": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_keepalive_8bit_tcp_resolve,1
,0>>": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_keepalive_8bit_udp_resolve,1
,0>>": exception thrown by response = client_.get(request)
8:
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_async_8bit_udp_resolve,1,0>>
": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_async_8bit_tcp_resolve,1,0>>
": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_default_8bit_tcp_resolve,1,1
": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_default_8bit_udp_resolve,1,1
": exception thrown by response = client_.get(request)
8: *** 12 failures detected in test suite "HTTP 1.0 Get Test"
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_keepalive_8bit_tcp_resolve,1
,1>>": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_keepalive_8bit_udp_resolve,1
,1>>": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_async_8bit_udp_resolve,1,1>>
": exception thrown by response = client_.get(request)
8: D:/Sandbox/cpp-netlib/libs/network/test/http/client_get_test.cpp(18): fatal error in "http_client_get_test<struct boost::network::http::basic_client<struct boost::network::http::tags::http_async_8bit_tcp_resolve,1,1>>
": exception thrown by response = client_.get(request)
8/16 Test #8: cpp-netlib-http-client_get_test .....................***Failed 0.87 sec

The exception thrown refers to a "short read". More information about this can be found here:

http://www.boost.org/doc/libs/1_48_0/doc/html/boost_asio/overview/core/streams.html

@glynos

This comment has been minimized.

Show comment
Hide comment
@glynos

glynos Dec 10, 2011

Member

This bug was introduced by the URI parser. Tests pass now on 0.9-devel branch on MSVC 10.0 & GCC 4.4.

Member

glynos commented Dec 10, 2011

This bug was introduced by the URI parser. Tests pass now on 0.9-devel branch on MSVC 10.0 & GCC 4.4.

@glynos glynos closed this Dec 10, 2011

@deanberris deanberris reopened this Apr 12, 2012

@deanberris

This comment has been minimized.

Show comment
Hide comment
@deanberris

deanberris Apr 12, 2012

Member

Actually, this is because of HTTPS failures with Asio's short-read. Fix incoming.

Member

deanberris commented Apr 12, 2012

Actually, this is because of HTTPS failures with Asio's short-read. Fix incoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment