forked from quic-go/quic-go
remove stray GinkgoRecover() in http3.Server
This commit is contained in:
@@ -17,7 +17,6 @@ import (
|
|||||||
"github.com/lucas-clemente/quic-go"
|
"github.com/lucas-clemente/quic-go"
|
||||||
"github.com/lucas-clemente/quic-go/internal/utils"
|
"github.com/lucas-clemente/quic-go/internal/utils"
|
||||||
"github.com/marten-seemann/qpack"
|
"github.com/marten-seemann/qpack"
|
||||||
"github.com/onsi/ginkgo"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// allows mocking of quic.Listen and quic.ListenAddr
|
// allows mocking of quic.Listen and quic.ListenAddr
|
||||||
@@ -198,7 +197,6 @@ func (s *Server) handleConn(sess quic.EarlySession) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
defer ginkgo.GinkgoRecover()
|
|
||||||
rerr := s.handleRequest(sess, str, decoder, func() {
|
rerr := s.handleRequest(sess, str, decoder, func() {
|
||||||
sess.CloseWithError(quic.ErrorCode(errorFrameUnexpected), "")
|
sess.CloseWithError(quic.ErrorCode(errorFrameUnexpected), "")
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user