Commit 45e77170 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick Committed by Tom Bergan

http2: fix typo

Change-Id: I22b3781a4514b7e8a3778021c465822022b8bdc2
Reviewed-on: https://go-review.googlesource.com/34499Reviewed-by: 's avatarTom Bergan <tombergan@google.com>
parent 4909c4c0
......@@ -944,7 +944,7 @@ func (sc *serverConn) startFrameWrite(wr FrameWriteRequest) {
panic(fmt.Sprintf("internal error: attempt to send frame on a half-closed-local stream: %v", wr))
}
case stateClosed:
panic(fmt.Sprintf("internal error: attempt to send frame a closed stream: %v", wr))
panic(fmt.Sprintf("internal error: attempt to send frame on a closed stream: %v", wr))
}
}
if wpp, ok := wr.write.(*writePushPromise); ok {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment