Skip to content

Commit 709dd69

Browse files
committed
disable keep alives for orchestrator proxy to match settings of current nginx based session-proxy
with new implementation there is error that envd returns "connection reset by peer" when there was support for keep alive tcp connections for re-use.
1 parent c0a183b commit 709dd69

File tree

1 file changed

+1
-1
lines changed
  • packages/orchestrator/internal/proxy

1 file changed

+1
-1
lines changed

packages/orchestrator/internal/proxy/proxy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (p *SandboxProxy) Start() error {
6969
IdleConnTimeout: 620 * time.Second, // Matches keepalive_timeout
7070
TLSHandshakeTimeout: 10 * time.Second, // Similar to client_header_timeout
7171
ResponseHeaderTimeout: 24 * time.Hour, // Matches proxy_read_timeout
72-
DisableKeepAlives: false, // Allow keep-alive
72+
DisableKeepAlives: true, // Disable keep-alives, envd doesn't support idle connections
7373
}
7474

7575
p.server.Handler = http.HandlerFunc(p.proxyHandler(serverTransport))

0 commit comments

Comments
 (0)