-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTPClientSession::receiveResponse() gives NoMessage instead of Timeout exception for SSL connection on Windows when using OpenSSL 3.0.x #3806
Comments
Potentially related issues:
|
consider that the OpenSSL 3.0.x error behaviour did not change on Windows comapared to OpenSSL 1.1.1 see pocoproject#3806
This is a bug, not an enhancement. The current code is failing to handle any socket errors with OpenSSL 3.0 because |
Thanks @aleks-f - this issue can now be closed I believe. |
Thanks for merging the fix. |
I am using these versions:
compiled with VS 2019 (VS 16.11.2) on Windows 10
I use a test case where a HTTPS server is sending delayed responses ("mock server").
The test client uses a
Poco::Net::HTTPSClientSession
to send requests to the mock server. In the relevant test cases, I configure the timeout to be less than the delay of the mock server.I observe the following changes behavior going from Poco 1.11.0 with OpenSSL 1.1.1k to Poco 1.12.2 with OpenSSL 3.0.5:
On Linux, the behavior did not change:
The reasons seems to be this code:
Based on my observations, I'd say the comment should say
Thus, I propose the following change:
The text was updated successfully, but these errors were encountered: