]> Cypherpunks repositories - gostls13.git/commit
net/http/pprof: configure WriteDeadline
authorAlexander Yastrebov <yastrebov.alex@gmail.com>
Thu, 23 Nov 2023 12:08:33 +0000 (12:08 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 22 Jan 2024 16:17:44 +0000 (16:17 +0000)
commita557f9dcd72f29a571088f6867b2c3f206df41e1
tree6feda056d16e3d5597bb9c44b02ea42ecec0a04b
parent8435659a43e46d4088cd5dcd09ee9fb87a5a0ae6
net/http/pprof: configure WriteDeadline

Configure write deadline according to requested profiling duration.

Fixes #62358

Change-Id: I2350110ff20a637c7e90bdda57026b0b0d9c87ba
GitHub-Last-Rev: b79ae38defc4d9b58b23a9d13ff86fa863f18b00
GitHub-Pull-Request: golang/go#64360
Reviewed-on: https://go-review.googlesource.com/c/go/+/544756
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/net/http/pprof/pprof.go