mirror of
https://github.com/golang/go.git
synced 2026-06-27 19:30:52 +00:00
Merge a0b89329c9 into 137b8065ab
This commit is contained in:
commit
7586464359
1 changed files with 1 additions and 1 deletions
|
|
@ -2026,7 +2026,7 @@ func (c *conn) serve(ctx context.Context) {
|
|||
c.bufw = newBufioWriterSize(checkConnErrorWriter{c}, 4<<10)
|
||||
|
||||
protos := c.server.protocols()
|
||||
if c.tlsState == nil && protos.UnencryptedHTTP2() {
|
||||
if protos.UnencryptedHTTP2() {
|
||||
if c.maybeServeUnencryptedHTTP2(ctx) {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue