[OpenSIPS-Devel] [OpenSIPS/opensips] 93eb6b: stun: Fix regression in 'use_listeners_as_primary'...
Liviu Chircu
noreply at github.com
Wed Sep 17 13:36:49 UTC 2025
Branch: refs/heads/3.4
Home: https://github.com/OpenSIPS/opensips
Commit: 93eb6bef4380c76bc3aa7c6cb5b8501d09f84bd5
https://github.com/OpenSIPS/opensips/commit/93eb6bef4380c76bc3aa7c6cb5b8501d09f84bd5
Author: Liviu Chircu <liviu at opensips.org>
Date: 2025-09-17 (Wed, 17 Sep 2025)
Changed paths:
M modules/stun/stun.c
M modules/stun/stun.h
Log Message:
-----------
stun: Fix regression in 'use_listeners_as_primary' feature
In commit 8e6000d5f0d8d, it was missed that FD_SET(fd_x...) calls are
idempotent, while reactor_add_reader(fd_x...) calls are not. So when you
perform them multiple times (which the 'use_listeners_as_primary'
feature MAY do), OpenSIPS startup would now ERROR and abort.
Many thanks to Bernard Buitenhuis for an accurate report and sponsoring
the fix!
(cherry picked from commit 561a15515fd1bfac942c34bdbb8d9ce3c0c3ea3a)
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list