go/src
Kale Blankenship 39366326cc 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>
2017-02-08 20:23:20 +00:00
..
archive time: record monotonic clock reading in time.Now, for more accurate comparisons 2017-02-03 19:04:52 +00:00
bufio
builtin
bytes bytes, strings: optimize Split* 2017-02-08 18:39:43 +00:00
cmd net/http/pprof: return error when requested profile duration exceeds WriteTimeout 2017-02-08 20:23:20 +00:00
compress all: test adjustments for the iOS builder 2017-01-14 03:27:53 +00:00
container
context context: lazily initialize cancelCtx done channel 2017-02-01 20:08:41 +00:00
crypto crypto/tls: fix link to more info about channel bindings 2017-02-08 19:57:15 +00:00
database/sql database/sql: record the context error in Rows if canceled 2017-02-08 18:30:39 +00:00
debug
encoding encoding/json: add Valid for checking validity of input bytes 2017-02-07 23:48:44 +00:00
errors
expvar
flag
fmt fmt: undo clearflags in catchPanic after error message has been printed 2016-12-11 21:59:59 +00:00
go go/constant: use new math/big.IsInt and isUint predicates 2017-02-08 19:13:19 +00:00
hash hash/crc32: use sub-benchmarks 2017-02-08 17:17:08 +00:00
html
image Revert "image: fix the overlap check in Rectangle.Intersect." 2017-02-07 15:21:56 +00:00
index/suffixarray
internal
io io: fix test when MultiReader is inlined with -l=3 2017-02-02 18:56:20 +00:00
log
math math/big: add IsInt64/IsUint64 predicates 2017-02-07 23:02:33 +00:00
mime mime/multipart: allow boundary len <= 70 2017-02-01 21:06:49 +00:00
net net/http/pprof: return error when requested profile duration exceeds WriteTimeout 2017-02-08 20:23:20 +00:00
os os: make Stdin.Stat() return ModeCharDevice if Stdin is console 2017-02-07 23:59:31 +00:00
path path/filepath: ignore dot for Dir(`\\server\share`) 2017-02-04 07:24:20 +00:00
plugin cmd/go, plugin: disable plugins on darwin 2016-12-15 05:46:20 +00:00
reflect reflect: adjust documentation on Value 2017-02-01 19:11:34 +00:00
regexp
runtime runtime: use atomic ops for fwdSig, make sigtable immutable 2017-02-08 04:14:41 +00:00
sort sort: optimize average calculation in binary search 2017-02-06 17:08:13 +00:00
strconv
strings bytes, strings: optimize Split* 2017-02-08 18:39:43 +00:00
sync
syscall syscall: regenerate zsyscall_darwin_arm64.go with mksyscall.pl 2017-02-01 22:09:32 +00:00
testing testing: clarify T.Parallel() godoc wording 2017-02-07 15:30:49 +00:00
text text/template: remove duplicate logic in conditional 2017-02-07 15:10:25 +00:00
time time: bound file reads and validate LoadLocation argument 2017-02-08 16:20:25 +00:00
unicode
unsafe
vendor/golang_org/x vendor/golang.org/x/crypto/curve25519: avoid loss of R15 in -dynlink mode 2017-02-06 20:14:03 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash buildall.bash: clarify target selection 2017-02-04 04:34:36 +00:00
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc