-
- Downloads
res_pjsip: make it unloadable
The res_pjsip module was previously unloadable. With this patch it can now be unloaded. This patch is based off the original patch on the issue (listed below) by Corey Farrell with a few modifications. Namely, removed a few changes not required to make the module unloadable and also fixed a bug that would cause asterisk to crash on unloading. This patch is the first step (should hopefully be followed by another/others at some point) in allowing res_pjsip and the modules that depend on it to be unloadable. At this time, res_pjsip and some of the modules that depend on res_pjsip cannot be unloaded without causing problems of some sort. The goal of this patch is to get res_pjsip and only res_pjsip to be able to unload successfully and/or shutdown without incident (crashes, leaks, etc...). Other dependent modules may still cause problems on unload. Basically made sure, with the patch applied, that res_pjsip (with no other dependent modules loaded) could be succesfully unloaded and Asterisk could shutdown without any leaks or crashes that pertained directly to res_pjsip. ASTERISK-24485 #close Reported by: Corey Farrell Review: https://reviewboard.asterisk.org/r/4311/ patches: pjsip_unload-broken-r1.patch submitted by Corey Farrell (license 5909) ........ Merged revisions 430628 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- main/stasis_message_router.c 1 addition, 1 deletionmain/stasis_message_router.c
- res/res_pjsip.c 87 additions, 13 deletionsres/res_pjsip.c
- res/res_pjsip/config_auth.c 2 additions, 1 deletionres/res_pjsip/config_auth.c
- res/res_pjsip/config_transport.c 3 additions, 1 deletionres/res_pjsip/config_transport.c
- res/res_pjsip/include/res_pjsip_private.h 29 additions, 1 deletionres/res_pjsip/include/res_pjsip_private.h
- res/res_pjsip/location.c 3 additions, 1 deletionres/res_pjsip/location.c
- res/res_pjsip/pjsip_configuration.c 4 additions, 1 deletionres/res_pjsip/pjsip_configuration.c
- res/res_pjsip/pjsip_distributor.c 9 additions, 8 deletionsres/res_pjsip/pjsip_distributor.c
- res/res_pjsip/pjsip_global_headers.c 4 additions, 1 deletionres/res_pjsip/pjsip_global_headers.c
- res/res_pjsip/pjsip_options.c 2 additions, 2 deletionsres/res_pjsip/pjsip_options.c
- res/res_pjsip/pjsip_outbound_auth.c 7 additions, 2 deletionsres/res_pjsip/pjsip_outbound_auth.c
Loading
Please register or sign in to comment