aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/http/server.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/http/server.go b/src/net/http/server.go
index a2c3acef50..2fa8ab23d8 100644
--- a/src/net/http/server.go
+++ b/src/net/http/server.go
@@ -178,6 +178,9 @@ type Hijacker interface {
//
// The returned bufio.Reader may contain unprocessed buffered
// data from the client.
+ //
+ // After a call to Hijack, the original Request.Body should
+ // not be used.
Hijack() (net.Conn, *bufio.ReadWriter, error)
}