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
net/http: never cancel r.Context() after Hijack #32315
Conversation
This PR (HEAD: ba7fc7e) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/179458 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 902ee3b) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/179458 to see it. Tip: You can toggle comments from me using the |
Message from Dave Cheney: Patch Set 2: Thank you for this change. Please add a test so this does not regress in the future. Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Brad Fitzpatrick: Patch Set 2: Run-TryBot+1 This looks fine, but do please add a new test. Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Gobot Gobot: Patch Set 2: TryBots beginning. Status page: https://farmer.golang.org/try?commit=0e59d0ea Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Gobot Gobot: Patch Set 2: Build is still in progress... Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Brad Fitzpatrick: Patch Set 3: Patch Set 2 was rebased Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Brad Fitzpatrick: Patch Set 3: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Gobot Gobot: Patch Set 3: TryBots beginning. Status page: https://farmer.golang.org/try?commit=f804102c Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Gobot Gobot: Patch Set 3: Build is still in progress... Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Emmanuel Odeke: Patch Set 3:
Anmol, perhaps https://play.golang.org/p/xFSvh6j_h7F might be a test for you or inlined below: package main import ( func TestConnCloseNoReqCancellation(t *testing.T) {
} Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
This PR (HEAD: 1d106b4) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/179458 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 14b4712) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/179458 to see it. Tip: You can toggle comments from me using the |
Message from Anmol Sethi: Patch Set 4: I have added a test. Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Emmanuel Odeke: Patch Set 5: Run-TryBot+1 (10 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Gobot Gobot: Patch Set 5: TryBots beginning. Status page: https://farmer.golang.org/try?commit=43576df4 Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
Message from Gobot Gobot: Patch Set 5: Build is still in progress... Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed. Please don’t reply on this GitHub thread. Visit golang.org/cl/179458. |
@odeke-em feel free to take over, I don't have the time to respond to the reviews |
Hey @nhyor, I think you copied the test that I provided verbatim, it won't
have the trybot failures and also matches the style for code review :) Just
that change and it'll be perhaps good to go.
…On Tue, Jun 11, 2019 at 6:42 AM Anmol Sethi ***@***.***> wrote:
Closed #32315 <#32315>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#32315?email_source=notifications&email_token=ABFL3VZ656MJNHZNADRUMX3PZ6TVDA5CNFSM4HQYGVV2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR5GO65Q#event-2404183926>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABFL3V27XU3UN2DDEFQ3CSDPZ6TVDANCNFSM4HQYGVVQ>
.
|
*I think if you copy the test that I provided verbatim
Sorry was typing from my phone
…On Tue, Jun 11, 2019 at 9:44 AM Emmanuel Odeke ***@***.***> wrote:
Hey @nhyor, I think you copied the test that I provided verbatim, it won't
have the trybot failures and also matches the style for code review :) Just
that change and it'll be perhaps good to go.
On Tue, Jun 11, 2019 at 6:42 AM Anmol Sethi ***@***.***>
wrote:
> Closed #32315 <#32315>.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#32315?email_source=notifications&email_token=ABFL3VZ656MJNHZNADRUMX3PZ6TVDA5CNFSM4HQYGVV2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR5GO65Q#event-2404183926>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABFL3V27XU3UN2DDEFQ3CSDPZ6TVDANCNFSM4HQYGVVQ>
> .
>
|
Fixes #32314