view mod_s2s_idle_timeout/README.markdown @ 4293:edde5905744a

mod_s2s_keepalive: Don't send whitespace keepalives before s2sin stream is open Could possibly result in whitespace before the XML and stream header, which isn't allowed by the parser. Don't think s2sout is affected, as the stream is opened early and doesn't have to wait for the other end. Thanks Ge0rG
author Kim Alvefur <zash@zash.se>
date Thu, 10 Dec 2020 11:57:03 +0100
parents 4d73a1a6ba68
children
line wrap: on
line source

---
labels:
- 'Stage-Stable'
summary: 'Close idle server-to-server connections'
...

Introduction
============

Some people find it preferable to close server-to-server connections
after they have been silent for a while.

Configuration
=============

...is trivial. The default timeout is 300 seconds (5 minutes). To change
this simply put in the config:

       s2s_idle_timeout = 60 -- or any other number of seconds

Compatibility
=============

  ----- -------
  0.6   Works
  0.7   Works
  ----- -------