diff --git a/http2/server.go b/http2/server.go index 02c88b6b3..7f3bed926 100644 --- a/http2/server.go +++ b/http2/server.go @@ -3187,6 +3187,7 @@ func (sc *serverConn) startPush(msg *startPushRequest) { panic(fmt.Sprintf("newWriterAndRequestNoBody(%+v): %v", msg.url, err)) } + sc.curHandlers++ go sc.runHandler(rw, req, sc.handler.ServeHTTP) return promisedID, nil }