-
Notifications
You must be signed in to change notification settings - Fork 18.4k
net/http: initialize Value with File length in cloneMultipartForm #69943
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
Conversation
|
This PR (HEAD: a9683ba) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/621235. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from 黄志文: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Damien Neil: Patch Set 3: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 3: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-10-21T17:52:23Z","revision":"e2f1fbcddf52ed61401e1fdd3963eec8847fdbfd"} Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 3: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-10-21T17:52:23Z","revision":"e2f1fbcddf52ed61401e1fdd3963eec8847fdbfd"} Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Damien Neil: Patch Set 3: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 3: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 3: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Christian Ekrem: Patch Set 3: Code-Review+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from 黄志文: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from 黄志文: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from 黄志文: Patch Set 3: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from qiu laidongfeng2: Patch Set 3: Code-Review+1 Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 3: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-04-06T17:07:04Z","revision":"e2f1fbcddf52ed61401e1fdd3963eec8847fdbfd"} Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from qiu laidongfeng2: Patch Set 3: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 3: This CL has failed the run. Reason: Failed Tryjobs:
To reproduce, try Additional links for debugging:
To reproduce, try Additional links for debugging: Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 3: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Sean Liao: Patch Set 4: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 4: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-04-09T21:09:10Z","revision":"ea686adb21c9bf9b2f67ebf3b8c644a1718180b6"} Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Sean Liao: Patch Set 4: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 4: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Go LUCI: Patch Set 4: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Sean Liao: Patch Set 4: Auto-Submit+1 Code-Review+2 Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Dmitri Shuralyov: Patch Set 4: Code-Review+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
|
Message from Dmitri Shuralyov: Patch Set 5: Auto-Submit+1 TryBot-Bypass+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/621235. |
Improve the initialization of the Value map in cloneMultipartForm by utilizing the length of the File map to optimize memory allocation. Change-Id: I97ba9e19b2718a75c270e6df21306f4c82656c71 GitHub-Last-Rev: a9683ba GitHub-Pull-Request: #69943 Reviewed-on: https://go-review.googlesource.com/c/go/+/621235 Reviewed-by: Christian Ekrem <christianekrem@gmail.com> Reviewed-by: Sean Liao <sean@liao.dev> Reviewed-by: qiu laidongfeng2 <2645477756@qq.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Damien Neil <dneil@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
|
This PR is being closed because golang.org/cl/621235 has been merged. |
Improve the initialization of the Value map in cloneMultipartForm by
utilizing the length of the File map to optimize memory allocation.