diff --git a/transport/http2_server.go b/transport/http2_server.go index 8bff1b96..bda50f72 100644 --- a/transport/http2_server.go +++ b/transport/http2_server.go @@ -167,6 +167,7 @@ func (t *http2Server) operateHeaders(hDec *hpackDecoder, s *Stream, frame header t.mu.Lock() if t.goaway { //Stop creating streams on this transport + log.Printf("transport: http2server received GOAWAY, rejecting new streams") t.mu.Unlock() return nil }