Doc WebSocket keep-alive requirement
Author: TratcherCreated Jun 17, 2022Updated Sep 28, 2026
LabelsType: Documentationhelp wanted
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).
Source: dotnet/yarp