warp icon indicating copy to clipboard operation
warp copied to clipboard

Add 2h keepalive by default

Open jq-rs opened this issue 4 years ago • 4 comments
trafficstars

Add 2h keepalive by default to drop unused TCP sessions (e.g. behind a firewall).

Fix unused deprecation error given by new compilers.

jq-rs avatar May 18 '21 14:05 jq-rs

Fixes #854. New 0.1.x release is kindly requested if this PR is approved.

jq-rs avatar May 18 '21 14:05 jq-rs

Hi, and thanks for the PR. I wonder if we should also allow for the user to configure it via Server. CC @seanmonstar

jxs avatar May 18 '21 16:05 jxs

If the 2 h default is not acceptable, I can certainly implement an API, please do suggest what kind of API would be preferable. To me, this feature itself is a must-have for public internet web servers.

jq-rs avatar Jul 02 '21 07:07 jq-rs

if you are on a rush, you can convert your warp filters to Service and set the keepalive on hyper

jxs avatar Jul 02 '21 09:07 jxs

Configurable solution available in #1075, closing this.

jq-rs avatar Dec 01 '23 14:12 jq-rs