[OpenSIPS-Devel] [OpenSIPS/opensips] 19a85c: Build listen_id and phostport tokens all the time.
Bogdan Andrei IANCU
noreply at github.com
Fri Sep 27 03:47:24 EDT 2019
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2019-09-27 (Fri, 27 Sep 2019)
Build listen_id and phostport tokens all the time.
During script reload we avoid "interpreting" (during script reparsing) the tokens which are not related to the routing blocks (as we do now want to re-load the global params or the mod params).
Still, the listen_id and phostport tokens are used both from routing blocks (force_send_socket() and set_advertise()) and from the global parameters. As when they are parsed we have no clue what they will later expand to, better build the all the time the corresponding structures and eventually free them later if the grammar reduces to tokens related to global params.
More information about the Devel