Even when the underlying TCP congestion window scales to several megabytes via BBR, an HTTP/2 multiplexer can still throttle throughput if its application-layer WINDOW_UPDATE frames lag behind link capacity.

Stream vs. Connection Flow Control

// Tuning HTTP/2 initial window sizes in Go x/net/http2
http2Server := &http2.Server{
    MaxConcurrentStreams:         250,
    MaxUploadBufferPerConnection: 16 * 1024 * 1024,
    MaxUploadBufferPerStream:     4 * 1024 * 1024,
}

Aligning HTTP/2 receive windows with kernel socket buffers prevents premature stream stalls during large binary transfers.