http3: convert RequestStream from an interface to a struct (#5153)

This commit is contained in:
Marten Seemann
2025-05-29 11:08:39 +08:00
committed by GitHub
parent 45e0d5fc7d
commit 2675d0845f
6 changed files with 27 additions and 36 deletions

View File

@@ -119,7 +119,7 @@ func (c *connection) openRequestStream(
reqDone chan<- struct{},
disableCompression bool,
maxHeaderBytes uint64,
) (*requestStream, error) {
) (*RequestStream, error) {
if c.perspective == protocol.PerspectiveClient {
c.streamMx.Lock()
maxStreamID := c.maxStreamID