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

Revert "add stream shutdown and support half-duplex operation" #42004

Closed
wants to merge 1 commit into from

Conversation

DilumAluthge
Copy link
Member

@DilumAluthge DilumAluthge commented Aug 25, 2021

Reverts #40783

This pull request reverts #40783. #40783 has introduced bugs on at least two platforms:

  1. FreeBSD x86_64
  2. Linux x86_64

For FreeBSD x86_64, it breaks the Sockets tests - see #41942 for details.

For Linux x86_64, it has introduced a bug in HTTP.jl in which certain HTTP.jl functions will hang indefinitely. Bisect shows that this PR introduced the bug. Reverting this PR fixes the bug. For details of the bisect, see JuliaLang/BumpStdlibs.jl#53. To see a demonstration of the revert fixing the bug, see JuliaLang/BumpStdlibs.jl#54.

Because two platforms are broken, I think the best course of action is to revert #41942, and then reland a different version with the bugs fixed.

@ararslan
Copy link
Member

Closing in favor of #42005, which addresses the issues introduced by the PR that this reverts.

@ararslan ararslan closed this Aug 25, 2021
@ararslan ararslan deleted the revert-40783-jn/shutdown branch August 25, 2021 17:53
vtjnash added a commit that referenced this pull request Aug 26, 2021
A stream can continue to be read after closewrite,
but cannot continue to be written to after seeing EOF.

Replaces #42004
Replaces #41983
Fixes #41942
Refs #40783
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
A stream can continue to be read after closewrite,
but cannot continue to be written to after seeing EOF.

Replaces JuliaLang#42004
Replaces JuliaLang#41983
Fixes JuliaLang#41942
Refs JuliaLang#40783
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
A stream can continue to be read after closewrite,
but cannot continue to be written to after seeing EOF.

Replaces JuliaLang#42004
Replaces JuliaLang#41983
Fixes JuliaLang#41942
Refs JuliaLang#40783
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