-
Notifications
You must be signed in to change notification settings - Fork 17.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
net/http: make Request.Clone create fresh copies for matches and otherValues #64913
Conversation
This PR (HEAD: 1ca0941) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/553375. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
This PR (HEAD: fbb3f76) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/553375. Important tips:
|
This PR (HEAD: a673160) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/553375. Important tips:
|
Message from Jes Cok: Patch Set 3: Run-TryBot+1 (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Gopher Robot: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Gopher Robot: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Gopher Robot: Patch Set 3: TryBot-Result-1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Emmanuel Odeke: Patch Set 3: (4 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
This PR (HEAD: d177cf8) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/553375. Important tips:
|
Message from Jes Cok: Patch Set 4: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Emmanuel Odeke: Patch Set 4: Code-Review+2 Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Gopher Robot: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Gopher Robot: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Gopher Robot: Patch Set 4: TryBot-Result-1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Ingo Oeser: Patch Set 4: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 4: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jonathan Amsterdam: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Emmanuel Odeke: Patch Set 4: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 4: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jonathan Amsterdam: Patch Set 4: Code-Review+2 (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jonathan Amsterdam: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jonathan Amsterdam: Patch Set 4: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Go LUCI: Patch Set 4: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-01-02T14:05:09Z","revision":"a8b19e4b0f266e0f72728dab3f7cf83f32d264ec"} Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jonathan Amsterdam: Patch Set 4: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Go LUCI: Patch Set 4: This CL has failed the run. Reason: Tryjob golang/try/gotip-windows-386 has failed with summary (view all results): FAILURE
Tests failed. See all test results. Error: Links: Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Go LUCI: Patch Set 4: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 4: Run-TryBot+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 4: -Run-TryBot Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 4: Run-TryBot+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
This PR (HEAD: 1981db1) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/553375. Important tips:
|
Message from Jes Cok: Patch Set 5: Run-TryBot+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Gopher Robot: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Gopher Robot: Patch Set 5: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Ingo Oeser: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
Message from Jes Cok: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/553375. |
…rValues This change fixes Request.Clone to correctly work with SetPathValue by creating fresh copies for matches and otherValues so that SetPathValue for cloned requests doesn't pollute the original request. While here, also added a doc for Request.SetPathValue. Fixes #64911 Change-Id: I2831b38e135935dfaea2b939bb9db554c75b65ef GitHub-Last-Rev: 1981db1 GitHub-Pull-Request: #64913 Reviewed-on: https://go-review.googlesource.com/c/go/+/553375 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Jes Cok <xigua67damn@gmail.com> Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This PR is being closed because golang.org/cl/553375 has been merged. |
…rValues This change fixes Request.Clone to correctly work with SetPathValue by creating fresh copies for matches and otherValues so that SetPathValue for cloned requests doesn't pollute the original request. While here, also added a doc for Request.SetPathValue. Fixes golang#64911 Change-Id: I2831b38e135935dfaea2b939bb9db554c75b65ef GitHub-Last-Rev: 1981db1 GitHub-Pull-Request: golang#64913 Reviewed-on: https://go-review.googlesource.com/c/go/+/553375 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Jes Cok <xigua67damn@gmail.com> Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
…rValues This change fixes Request.Clone to correctly work with SetPathValue by creating fresh copies for matches and otherValues so that SetPathValue for cloned requests doesn't pollute the original request. While here, also added a doc for Request.SetPathValue. Fixes #64911 Change-Id: I2831b38e135935dfaea2b939bb9db554c75b65ef GitHub-Last-Rev: 1981db16475a49fe8d4b874a6bceec64d28a1332 GitHub-Pull-Request: golang/go#64913 Reviewed-on: https://go-review.googlesource.com/c/go/+/553375 Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com> Run-TryBot: Jes Cok <xigua67damn@gmail.com> Auto-Submit: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This change fixes Request.Clone to correctly work with SetPathValue
by creating fresh copies for matches and otherValues so that
SetPathValue for cloned requests doesn't pollute the original request.
While here, also added a doc for Request.SetPathValue.
Fixes #64911