Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Disable multiple connect attempts per socket on Linux.#5790

Merged
stephentoub merged 3 commits into
dotnet:masterfrom
ericeil:SyncPerfDev
Feb 1, 2016
Merged

Disable multiple connect attempts per socket on Linux.#5790
stephentoub merged 3 commits into
dotnet:masterfrom
ericeil:SyncPerfDev

Conversation

@ericeil

@ericeil ericeil commented Jan 29, 2016

Copy link
Copy Markdown
Contributor

The Linux implementation of multiple connect attempts per socket does not work correctly, per #5754. This change disables multiple connect attempts on all Unix platforms (since Linux was the only one that claimed to support it).

Fixes #5754

@pgavlin , @stephentoub

@joshfree joshfree changed the title Disable multiple connect attempts per socket on Linux. Disable multiple connect attempts per socket on Linux. Jan 29, 2016
@ericeil

ericeil commented Jan 29, 2016

Copy link
Copy Markdown
Contributor Author

This should unblock #5472 also.

@stephentoub

Copy link
Copy Markdown
Member

@ericeil, I think you might need to do this in two stages: first remove usage of the native method from the managed code, and then once we have a System.Net.Sockets package that contains the fix, subsequently remove the now dead code from the native shim.

@stephentoub

Copy link
Copy Markdown
Member

LGTM

@pgavlin

pgavlin commented Feb 1, 2016

Copy link
Copy Markdown
Contributor

LGTM as well.

…oes not appear to work correctly. Fixes #5754"

We need to check in the managed code changes first.  The native changes can come later, after we have a new build of System.Net.Sockets that doesn't depend on them.
This reverts commit f1914d5.
stephentoub added a commit that referenced this pull request Feb 1, 2016
Disable multiple connect attempts per socket on Linux.
@stephentoub
stephentoub merged commit 216da81 into dotnet:master Feb 1, 2016
@ericeil
ericeil deleted the SyncPerfDev branch February 1, 2016 20:29
@karelz karelz modified the milestone: 1.0.0-rtm Dec 3, 2016
@karelz karelz added the os-linux Linux OS (any supported distro) label Mar 8, 2017
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Disable multiple connect attempts per socket on Linux.

Commit migrated from dotnet/corefx@216da81
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net os-linux Linux OS (any supported distro)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants