-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix sporadic failure in specs with OpenSSL 1.1+. #8582
Conversation
Reading the linked OpenSSL issue, there is another solution that would work all the time, and transparently: insert a dummy |
@ysbaddaden I can't find exactly where in the linked issue it stands about the dummy |
Actually (3) at openssl/openssl#6904 (comment) Or we try to avoid raising inside the BIO and try to properly report the Errno to OpenSSL, if that's possible? |
I would definitely prefer a transparent solution.
That is unless, someone can make things work in the next couple of days. I checked this PR on top of the CI using 0.32.0 and it works https://circleci.com/workflow-run/96ac4542-1977-40ca-b631-fa1c19f02033 . |
openssl/openssl#7948 (comment) looks like a possible (albeit pretty hackish) solution. |
calling |
Ah yeah, I didnt properly read. I guess that OpenSSL is behaving wrongly and shall be fixed. In the meantime, we can merge this, and/or disable TLS 1.3 for the failing spec, or add a dummy read in the spec to avoid the write then close behavior that triggers the issue. |
Thanks @rdp for iterating here. When I checked if using bionic would break the new specs were not in master yet. |
* fix sporadic failure in specs with OpenSSL 1.1+. See openssl/openssl#6904 * don't use a keyword for a variable
openssl/openssl#6904