Merge pull request #2112 from lucas-clemente/update-h3-errors

update HTTP/3 errors
This commit is contained in:
Marten Seemann
2019-09-05 15:01:58 +07:00
committed by GitHub
5 changed files with 54 additions and 73 deletions

View File

@@ -197,7 +197,7 @@ var _ = Describe("Server", func() {
return responseBuf.Write(p)
}).AnyTimes()
str.EXPECT().CancelWrite(quic.ErrorCode(errorLimitExceeded))
str.EXPECT().CancelWrite(quic.ErrorCode(errorFrameError))
err := s.handleRequest(str, qpackDecoder)
Expect(err).To(HaveOccurred())
Expect(err.Error()).To(ContainSubstring("Headers frame too large"))