[OpenSIPS-Devel] [OpenSIPS/opensips] 9800b2: registrars: Fix an edge-case with lookup("r")
Liviu Chircu
noreply at github.com
Fri Nov 4 09:17:29 UTC 2022
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: 9800b21b4dd43d253246197e240540a4898a3e21
https://github.com/OpenSIPS/opensips/commit/9800b21b4dd43d253246197e240540a4898a3e21
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M lib/reg/lookup.c
Log Message:
-----------
registrars: Fix an edge-case with lookup("r")
This fixes a bug where the registrar library would return
E_LOOKUP_NO_RESULTS upon encountering an AoR with 0 contacts, instead of
continuing to walk the branches and expand the remaining AoRs.
Many thanks to @MayamaTakeshi for a detailed bug report!
Fixes #2917
(cherry picked from commit 9ac7739ef02079a22de6beb776d6a1628a4458cb)
Commit: 8e17ae3d10ac803bf3555f101db55b8aade5c79d
https://github.com/OpenSIPS/opensips/commit/8e17ae3d10ac803bf3555f101db55b8aade5c79d
Author: Liviu Chircu <liviu at opensips.org>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M modules/registrar/test/test.c
Log Message:
-----------
registrar: Add a unit test for lookup("r")
Related to #2917
(cherry picked from commit 02ddcc6cc52e6c27d27870447c4df7a352508a75)
Compare: https://github.com/OpenSIPS/opensips/compare/8aca6740d83b...8e17ae3d10ac
More information about the Devel
mailing list