Adds logging on receipt of GOAWAY frame
This commit is contained in:
@ -167,6 +167,7 @@ func (t *http2Server) operateHeaders(hDec *hpackDecoder, s *Stream, frame header
|
|||||||
t.mu.Lock()
|
t.mu.Lock()
|
||||||
if t.goaway {
|
if t.goaway {
|
||||||
//Stop creating streams on this transport
|
//Stop creating streams on this transport
|
||||||
|
log.Printf("transport: http2server received GOAWAY, rejecting new streams")
|
||||||
t.mu.Unlock()
|
t.mu.Unlock()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user