diff options
| author | Kale Blankenship <kale@lemnisys.com> | 2017-01-22 17:16:59 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-02-08 20:23:20 +0000 |
| commit | 39366326cc2600792a9d9f8c170aae5bc1613d25 (patch) | |
| tree | 31788b79defa04d659886dcdd6d8492abd3635e3 /src/database/sql/sql_test.go | |
| parent | 7bd968fbfdfd943d8bfc3f6f48b47c5fe990f9ba (diff) | |
| download | go-39366326cc2600792a9d9f8c170aae5bc1613d25.tar.xz | |
net/http/pprof: return error when requested profile duration exceeds WriteTimeout
Updates Profile and Trace handlers to reject requests for durations >=
WriteTimeout.
Modifies go tool pprof to print the body of the http response when
status != 200.
Fixes #18755
Change-Id: I6faed21685693caf39f315f003039538114937b0
Reviewed-on: https://go-review.googlesource.com/35564
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions
