forked from quic-go/quic-go
Merge pull request #698 from twdkeule/implement-closeNotifier
implement the context for the server http.Request
This commit is contained in:
@@ -194,6 +194,7 @@ func (s *Server) handleRequest(session streamCreator, headerStream quic.Stream,
|
||||
_, _ = dataStream.Read([]byte{0}) // read the eof
|
||||
}
|
||||
|
||||
req = req.WithContext(dataStream.Context())
|
||||
reqBody := newRequestBody(dataStream)
|
||||
req.Body = reqBody
|
||||
|
||||
|
||||
Reference in New Issue
Block a user