Skip to content

Commit

Permalink
fix: do not flush immediately after write headers
Browse files Browse the repository at this point in the history
  • Loading branch information
veezhang committed Feb 27, 2023
1 parent 569fe81 commit b119821
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion http2/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -1614,7 +1614,6 @@ func (cc *ClientConn) writeHeaders(streamID uint32, endStream bool, maxFrameSize
cc.fr.WriteContinuation(streamID, endHeaders, chunk)
}
}
cc.bw.Flush()
return cc.werr
}

Expand Down

0 comments on commit b119821

Please sign in to comment.