mirror of
https://github.com/containous/traefik.git
synced 2025-03-20 22:50:12 +03:00
feature: tune transport buffer size to increase performance
This commit is contained in:
parent
bdba7d3adf
commit
e898080460
@ -123,6 +123,8 @@ func createRoundTripper(cfg *dynamic.ServersTransport) (http.RoundTripper, error
|
||||
IdleConnTimeout: 90 * time.Second,
|
||||
TLSHandshakeTimeout: 10 * time.Second,
|
||||
ExpectContinueTimeout: 1 * time.Second,
|
||||
ReadBufferSize: 64 * 1024,
|
||||
WriteBufferSize: 64 * 1024,
|
||||
}
|
||||
|
||||
transport.RegisterProtocol("h2c", &h2cTransportWrapper{
|
||||
|
Loading…
x
Reference in New Issue
Block a user