Skip to content

Commit a696daf

Browse files
committed
Link to the bufio hijack net/http issue
1 parent 3e9c728 commit a696daf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

accept.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ func accept(w http.ResponseWriter, r *http.Request, opts AcceptOptions) (*Conn,
131131
return nil, err
132132
}
133133

134+
// https://github.com/golang/go/issues/32314
134135
b, _ := brw.Reader.Peek(brw.Reader.Buffered())
135136
brw.Reader.Reset(io.MultiReader(bytes.NewReader(b), netConn))
136137

0 commit comments

Comments
 (0)