Documentation
¶
Index ¶
Constants ¶
View Source
const ( // FlushInterval controls the time when we flush the connection in the // reverse proxies (Activator, QP). // As of go1.16, a FlushInterval of 0 (the default) still flushes immediately // when Content-Length is -1, which means the default works properly for // streaming/websockets, without flushing more often than necessary for // non-streaming requests. FlushInterval = 0 )
Variables ¶
This section is empty.
Functions ¶
func NewBufferPool ¶
func NewBufferPool() httputil.BufferPool
NewBufferPool creates a new BufferPool. This is only safe to use in the context of a httputil.ReverseProxy, as the buffers returned via Put are not cleaned explicitly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.