remove the H3_EARLY_RESPONSE error

This commit is contained in:
Marten Seemann
2020-07-27 12:01:53 +07:00
parent 9fa8bdff78
commit 7d29cc31f8
3 changed files with 4 additions and 7 deletions

View File

@@ -298,7 +298,7 @@ func (s *Server) handleRequest(sess quic.Session, str quic.Stream, decoder *qpac
}
// If the EOF was read by the handler, CancelRead() is a no-op.
str.CancelRead(quic.ErrorCode(errorEarlyResponse))
str.CancelRead(quic.ErrorCode(errorNoError))
return requestError{}
}