reverse-proxy icon indicating copy to clipboard operation
reverse-proxy copied to clipboard

Doc WebSocket keep-alive requirement

Open Tratcher opened this issue 3 years ago • 2 comments

100s is the default activity timeout to close idle requests. Without this timeout the proxy would be subject to resource leaks as it can be very difficult to detect disconnects without ongoing traffic.

WebSocket or application level keep-alives are required to keep an idle WebSocket from being closed by the proxy. These can be enabled on either the client or server (not the proxy).

Tratcher avatar Jun 17 '22 17:06 Tratcher

How can one configure a different time-out value?

SEnglishSMP avatar Jun 21 '22 17:06 SEnglishSMP

See ActivityTimeout: https://microsoft.github.io/reverse-proxy/articles/http-client-config.html#httprequest, https://microsoft.github.io/reverse-proxy/articles/config-files.html

Tratcher avatar Jun 21 '22 21:06 Tratcher