-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Set SocketsHttpHandler's default connect timeout to 15s #66607
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsUnifies default ConnectTimeout for Windows and Linux. The value is less than default Windows socket timeout (21s) to minimize the race between timeout exception and socket exception. Fixes #66297
|
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.
Thanks.
* Set default connect timeout to 15s * Fix ConnectTimeout_Default test
Unifies default ConnectTimeout for Windows and Linux. The value is less than default Windows socket timeout (21s) to minimize the race between timeout exception and socket exception.
Fixes #66297