[OpenSIPS-Devel] [OpenSIPS/opensips] 46553a: registrars: Correctly reply on all save() edge-cases
Liviu Chircu
noreply at github.com
Thu Jan 14 07:32:25 EST 2021
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 46553a9aad6ab00d14a787a81300fd01599751f0
https://github.com/OpenSIPS/opensips/commit/46553a9aad6ab00d14a787a81300fd01599751f0
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-01-14 (Thu, 14 Jan 2021)
Changed paths:
M lib/reg/rerrno.c
M lib/reg/rerrno.h
M modules/mid_registrar/save.c
M modules/registrar/save.c
Log Message:
-----------
registrars: Correctly reply on all save() edge-cases
This patch fixes several corner-cases when calling
[mid_registrar]_save(), where:
* the registrar would not send a reply
* the registrar would send a bad reply (e.g. 200 OK on an error!)
Commit: e4708c2aaf0ce1b0d87223407417679b5d6b4b29
https://github.com/OpenSIPS/opensips/commit/e4708c2aaf0ce1b0d87223407417679b5d6b4b29
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-01-14 (Thu, 14 Jan 2021)
Changed paths:
M etc/opensips.cfg
M menuconfig/configs/opensips_residential.m4
Log Message:
-----------
Sample opensips.cfg: Avoid double-replying after save()
Commit: 6cd76760ece9665a88e5eaa5971777961e5b2806
https://github.com/OpenSIPS/opensips/commit/6cd76760ece9665a88e5eaa5971777961e5b2806
Author: Liviu Chircu <liviu at opensips.org>
Date: 2021-01-14 (Thu, 14 Jan 2021)
Changed paths:
M modules/mid_registrar/save.c
M modules/registrar/save.c
M modules/usrloc/ul_cluster.c
M parser/test/test_parser.c
Log Message:
-----------
registrars: Do not save() AoR URIs with no 'username'
Also add some protection on the receiving end of the cluster
communication for such strings which could crash the server.
Fixes #2232
Compare: https://github.com/OpenSIPS/opensips/compare/386f1cd7c5e8...6cd76760ece9
More information about the Devel
mailing list