Skip to content
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

winhttp: retry erroneously failing requests #4731

Merged
merged 1 commit into from
Jul 27, 2018
Merged

Conversation

ethomson
Copy link
Member

Early Windows TLS 1.2 implementations have an issue during key exchange with OpenSSL implementations that cause negotiation to fail with the error "the buffer supplied to a function was too small."

This is a transient error on the connection, so when that error is received, retry up to 5 times to create a connection to the remote server before actually giving up.

We put a bandaid on our CI servers by disabling DHE. This is good for our build servers, but end-users will still see this problem if they are running older versions of Windows.

Early Windows TLS 1.2 implementations have an issue during key exchange
with OpenSSL implementations that cause negotiation to fail with the
error "the buffer supplied to a function was too small."

This is a transient error on the connection, so when that error is
received, retry up to 5 times to create a connection to the remote
server before actually giving up.
Copy link
Member

@pks-t pks-t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Would you feel comfortable with removing the AppVeyor workaround or do you think that the issue will still be triggered frequently?

@ethomson
Copy link
Member Author

I'll remove it in #4723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants