Skip to content

Add configurable HTTP idle (keepalive) timeout#2077

Closed
hyavari wants to merge 1 commit intosipwise:masterfrom
hyavari:feature/http-idle-timeout
Closed

Add configurable HTTP idle (keepalive) timeout#2077
hyavari wants to merge 1 commit intosipwise:masterfrom
hyavari:feature/http-idle-timeout

Conversation

@hyavari
Copy link
Contributor

@hyavari hyavari commented Feb 27, 2026

  • Add --http-idle-timeout option (seconds; 0 = libwebsockets default, 5s for HTTP/1.1)
  • Pass keepalive_timeout to libwebsockets when creating HTTP and HTTPS vhosts
  • Reject negative values; default 0 preserves existing behaviour
  • Document in docs/rtpengine.md and etc/rtpengine.conf
  • Extend auto-daemon-tests-http.pl to run with --http-idle-timeout=5

Closes #2076

- Add --http-idle-timeout option (seconds; 0 = libwebsockets default, 5s for HTTP/1.1)
- Pass keepalive_timeout to libwebsockets when creating HTTP and HTTPS vhosts
- Reject negative values; default 0 preserves existing behaviour
- Document in docs/rtpengine.md and etc/rtpengine.conf
- Extend auto-daemon-tests-http.pl to run with --http-idle-timeout=5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Configurable HTTP/HTTPS Idle (Keep-Alive) Timeout

1 participant