-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
tls: pauseOnConnect option not honored #29620
Comments
Our current workaround is to manually pause the socket explicitly with |
Here's the cert and key I used. |
Thanks @cjihrig, I can work on a PR later tonight if you'd like. |
This was referenced Sep 20, 2019
BridgeAR
pushed a commit
that referenced
this issue
Oct 9, 2019
`pauseOnConnect` is now passed along to the net.Socket constructor from the tls.Socket constructor. The `readable` flag must match the value of `pauseOnConnect`. Tests were added to cover all available net.Server options when used in the tls.Server constructor. Fixes: #29620 Refs: #27665 PR-URL: #29635 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
Issue
The fix in #27665 does not seem to work with the
pauseOnConnect
option. The test in that PR only checks theallowHalfOpen
option. The docs indicate thatAny net.createServer() option can be provided.
Reproduction
Expect error 'Socket is not paused' when you
ncat --ssl localhost 6666
orwget https://localhost:6666
.The text was updated successfully, but these errors were encountered: