Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: 35bb59e0949efd4166d68643de6c923313a86c0c https://github.com/OpenSIPS/opensips/commit/35bb59e0949efd4166d68643de6c923313a86c0c Author: Bogdan-Andrei Iancu <bog...@opensips.org> Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths: M action.c M async.c M async.h M cfg.y M cfg_reload.c M net/proto_tcp/proto_tcp.c M net/trans_trace.c M net/trans_trace.h M route.c M route.h M route_struct.c M route_struct.h M trace_api.h Log Message: ----------- Migrate from index to references when pointing to a script route The idx are hard to work with in the context of script reload, as they cannot be upated or checked (if still valid). So, instead of pointing to the route by its idx, use an intermediary structure that holds: name of the route, the idx of the route, the version of the script. Now, such intermediary structs (or route refs) may operate in 2 ways: * they are per process, in pkg; all such refs are linked in a single list and automatically updated (their idx) upon reload. * they are shared (like attached to data structs in shm), in shm; if so, before using it, the version is checked, and if old, the idx is updated on spot. Commit: c637bb43ce2dbc464bd5121953ddede1284cebdd https://github.com/OpenSIPS/opensips/commit/c637bb43ce2dbc464bd5121953ddede1284cebdd Author: Bogdan-Andrei Iancu <bog...@opensips.org> Date: 2023-05-16 (Tue, 16 May 2023) Changed paths: M modules/tm/async.c M modules/tm/h_table.c M modules/tm/h_table.h M modules/tm/t_fwd.c M modules/tm/t_fwd.h M modules/tm/t_reply.c M modules/tm/t_reply.h M modules/tm/tm.c Log Message: ----------- [tm] migrate to new route references Related to 2e65a82e657731fe70844768013287443b266068 Commit: d69a8cc5beb7a968c09a87e29ac08c5fb1c5e6b0 https://github.com/OpenSIPS/opensips/commit/d69a8cc5beb7a968c09a87e29ac08c5fb1c5e6b0 Author: Bogdan-Andrei Iancu <bog...@opensips.org> Date: 2023-05-16 (Tue, 16 May 2023) Changed paths: M modules/b2b_entities/b2b_entities.c M modules/b2b_entities/b2b_entities.h M modules/b2b_entities/dlg.c M modules/b2b_logic/b2b_logic.c M modules/b2b_logic/b2b_logic.h M modules/b2b_logic/b2bl_db.c M modules/b2b_logic/entity_storage.c M modules/b2b_logic/logic.c M modules/b2b_logic/records.c M modules/b2b_logic/records.h M modules/cpl_c/cpl.c M modules/cpl_c/cpl_env.h M modules/cpl_c/cpl_sig.c M modules/dialog/dialog.c M modules/dialog/dlg_db_handler.c M modules/dialog/dlg_handlers.c M modules/dialog/dlg_hash.c M modules/dialog/dlg_hash.h M modules/dialog/dlg_replication.c M modules/dialog/dlg_req_within.c M modules/dispatcher/dispatch.c M modules/dispatcher/dispatch.h M modules/dispatcher/dispatcher.c M modules/drouting/dr_load.c M modules/drouting/drouting.c M modules/drouting/prefix_tree.c M modules/drouting/prefix_tree.h M modules/drouting/routing.c M modules/event_kafka/event_kafka.c M modules/event_kafka/kafka_producer.c M modules/event_kafka/kafka_producer.h M modules/event_route/event_route.c M modules/event_route/route_send.c M modules/event_route/route_send.h M modules/event_routing/ebr_data.c M modules/event_routing/event_routing.c M modules/msrp_relay/auth.c M modules/msrp_relay/msrp_relay.c M modules/msrp_relay/msrp_relay.h M modules/pike/pike.c M modules/pike/pike_funcs.c M modules/presence_dfks/presence_dfks.c M modules/proto_bins/proto_bins.c M modules/proto_msrp/msrp_common.c M modules/proto_msrp/msrp_common.h M modules/proto_msrp/proto_msrp.c M modules/proto_tls/proto_tls.c M modules/proto_ws/proto_ws.c M modules/proto_ws/ws_handshake_common.h M modules/proto_wss/proto_wss.c M modules/script_helper/script_helper.c M modules/sipcapture/sipcapture.c M modules/tls_openssl/openssl_trace.h M modules/tls_wolfssl/wolfssl_trace.h Log Message: ----------- [modules] migrate to new route references Related to 2e65a82e657731fe70844768013287443b266068 Compare: https://github.com/OpenSIPS/opensips/compare/63309e55fae3...d69a8cc5beb7 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel