Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Configurable idle timeout for Homer TCP connection

Aperta
#2,040 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@darwvin-dev ci sta già lavorando.

Dal 13/10/2026.

  • #2202 di @darwvin-dev — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
networking

Direzione di ricerca

The payload names no files: start from wherever the --homer / --homer-protocol=tcp options are parsed and from the code that opens and writes the HEP socket, since that is where Write error to Homer ... Broken pipe is emitted. Read how other connection-related options are declared and documented so a new idle-timeout/reconnect option follows the same pattern. Done means the Homer TCP socket is detected as closed (CLOSE_WAIT) and reopened instead of failing the next write, with the option documented and a repro or test for an idle peer close.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe

Hi,

I'm using rtpengine with --homer and --homer-protocol=tcp to send HEP traffic to a local stunnel instance, which then forwards the traffic (over TLS) to a remote Homer server.

From time to time I see the following log line:

[1765850620.856975] ERR: [U62KpxU9D2/bB5blxZxA/1 port 36493]: [core] Write error to Homer at 172.16.1.198:9062: Broken pipe

After some investigation it looks like the remote side (Homer/stunnel) closes the TCP connection when it has been idle for too long. On the rtpengine host, when the remote side closes the connection, netstat shows the socket in CLOSE_WAIT state. The connection stays in CLOSE_WAIT until the next call, and when rtpengine tries to send the next HEP packet over that connection, the write fails with Broken pipe.

My question: is there currently any way to control the idle timeout behavior for the TCP connection from rtpengine to Homer?

If this is not configurable today, would you consider adding such an option or automatic reconnect behavior when the Homer TCP connection has been closed by the peer due to idling?

Environment

  • rtpengine version: 12.5
  • OS / distro: bullseye
Lingua principale
Perl
Stelle
992
Fork
459
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sipwise/rtpengine

Tutte le issue di sipwise/rtpengine

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.