http3: add request to response (#3608)

This commit is contained in:
David Brouwer 2022-11-02 21:39:34 +01:00 committed by GitHub
parent af30cef57c
commit 047f9b6ffa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -390,6 +390,7 @@ func (c *client) doRequest(req *http.Request, str quic.Stream, opt RoundTripOpt,
ProtoMajor: 3,
Header: http.Header{},
TLS: &connState,
Request: req,
}
for _, hf := range hfs {
switch hf.Name {