forked from quic-go/quic-go
add a http3.Hijacker that allows stream creation on a QUIC session from a http.Response.Body
This commit is contained in:
@@ -316,7 +316,7 @@ func (c *client) doRequest(
|
||||
res.Header.Add(hf.Name, hf.Value)
|
||||
}
|
||||
}
|
||||
respBody := newResponseBody(str, reqDone, func() {
|
||||
respBody := newResponseBody(str, c.conn, reqDone, func() {
|
||||
c.conn.CloseWithError(quic.ApplicationErrorCode(errorFrameUnexpected), "")
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user