diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2014-09-30 12:09:34 -0700 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2014-09-30 12:09:34 -0700 |
commit | cd9d0fc4cec3c1e37f3eb57402b5f9405e7f3beb (patch) | |
tree | 1b1fcec4237541dafb42c1f49c4cb9cea5cf4ac9 /src/net/sendfile_freebsd.go | |
parent | dea5397f06f7f2bb5fc1f461f49bd6be7d48c7fa (diff) | |
download | go-cd9d0fc4cec3c1e37f3eb57402b5f9405e7f3beb.tar.gz |
net/http/httputil: ensure DumpRequestOut dumps all of Body
Bodies larger than 8KB (the default bufio reader size) weren't
being dumped. Force a read of the body so they're teed into
the response buffer.
Thanks to Steven Hartland for identifying the problem.
Fixes Issue 8089
LGTM=r
R=golang-codereviews, r
CC=adg, golang-codereviews
https://codereview.appspot.com/144650044
Diffstat (limited to 'src/net/sendfile_freebsd.go')
0 files changed, 0 insertions, 0 deletions