-
Notifications
You must be signed in to change notification settings - Fork 217
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
More testing of withListeningSocket #2069
Conversation
With the binary from #2064 (and master I suspect) it failed, but with this fix, it passes for me. |
Or the fix still failed when I retried a few times. |
5daa76a
to
c5dac1d
Compare
Turns out my theory about there being a race against withListeningSocket was wrong. |
These tests are pretty old and were working fine for long. Yet I recently updated them when we bumped to version of the tls package to include support for TLS 1.2+. So there could be some windows specific thing regarding TLS 1.2 🤔 ? |
c5dac1d
to
551f0ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors merge
Build succeeded: |
Issue Number
This might fix #2067.
Overview
I initially had a theory that the function
withListeningSocket
only bound the socket, but did not start listening. Therefore, connections to the port which were made during thewithListeningSocket
action, but before the warp server starts listening, would be refused. However this was incorrect.This PR adds another test case to check that the socket really is listening.
Comments