update HTTP/3 errors

* rename HTTP_UNEXPECTED_FRAME to HTTP_FRAME_UNEXPECTED
* remove the HTTP_WRONG_STREAM error
* rename errors from HTTP_ to H3_
This commit is contained in:
Marten Seemann
2019-10-23 09:40:19 +07:00
parent 4af8a33c3f
commit ea0050e2a2
6 changed files with 33 additions and 36 deletions

View File

@@ -248,7 +248,7 @@ var _ = Describe("Server", func() {
done := make(chan struct{})
sess.EXPECT().CloseWithError(gomock.Any(), gomock.Any()).Do(func(code quic.ErrorCode, _ string) {
Expect(code).To(Equal(quic.ErrorCode(errorUnexpectedFrame)))
Expect(code).To(Equal(quic.ErrorCode(errorFrameUnexpected)))
close(done)
})
s.handleConn(sess)