Skip to content

winhttp: retry erroneously failing requests#4731

Merged
ethomson merged 1 commit intomasterfrom
ethomson/wintls_fix
Jul 27, 2018
Merged

winhttp: retry erroneously failing requests#4731
ethomson merged 1 commit intomasterfrom
ethomson/wintls_fix

Conversation

@ethomson
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants