good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit a696daf4 authored by Anmol Sethi's avatar Anmol Sethi
Browse files

Link to the bufio hijack net/http issue

parent 3e9c7286
No related branches found
No related tags found
No related merge requests found
......@@ -131,6 +131,7 @@ func accept(w http.ResponseWriter, r *http.Request, opts AcceptOptions) (*Conn,
return nil, err
}
// https://github.com/golang/go/issues/32314
b, _ := brw.Reader.Peek(brw.Reader.Buffered())
brw.Reader.Reset(io.MultiReader(bytes.NewReader(b), netConn))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment