Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Created Unassigned: http_client - boost client on OSX occasional reports end of file instead of time-out [295]

$
0
0
Instead of getting the errc::timedout "End of file" is reported. We don't control or set this error code at all so it must have something to do with Boost underneath.

This issue is very low impact since in either case an http_exception is expected and thrown.


This happens sporadically on two of the test cases and relaxed when on Apple:

Starting test case progress_handler_tests:set_progress_handler_request_timeout...
Report ERROR:5
EC MSG:End of file
/Users/stgates/stgatesdev/Release/tests/functional/http/client/progress_handler_tests.cpp:311: error: Failure in set_progress_handler_request_timeout: CHECK_EQUAL(static_cast<int>(std::errc::timed_out), _condFound.value()) where static_cast<int>(std::errc::timed_out)=60 and _condFound.value()=53
FAILED
Test case progress_handler_tests:set_progress_handler_request_timeout FAILED

Starting test case connections_and_errors:request_timeout...
Report ERROR:5
EC MSG:End of file
/Users/stgates/stgatesdev/Release/tests/functional/http/client/connections_and_errors.cpp:138: error: Failure in request_timeout: CHECK_EQUAL(static_cast<int>(std::errc::timed_out), _condFound.value()) where static_cast<int>(std::errc::timed_out)=60 and _condFound.value()=53
FAILED
Test case connections_and_errors:request_timeout FAILED

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>