Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating my repo 04.02.2021 #1

Merged
merged 2,042 commits into from Feb 4, 2021
Merged

Updating my repo 04.02.2021 #1

merged 2,042 commits into from Feb 4, 2021

Conversation

korayvt
Copy link
Owner

@korayvt korayvt commented Feb 4, 2021

Pre-Submission Checklist

  • Commit message has the format required by CONTRIBUTING guide
  • Commits are split per component (core, individual modules, libs, utils, ...)
  • Each component has a single commit (if not, squash them into one commit)
  • No commits to README files for modules (changes must be done to docbook files
    in doc/ subfolder, the README file is autogenerated)

Type Of Change

  • Small bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would change existing functionality)

Checklist:

  • PR should be backported to stable branches
  • Tested changes locally
  • Related to issue #XXXX (replace XXXX with an open issue number)

Description

miconda and others added 30 commits November 4, 2020 08:09
- allow setting the channel id for peer availability notifications
- default is "notification_peer"
- use of standard channel term, similar to other distributed message queues
- docs for notifications_channel new parameter
- make the rate limit of maximum allowed RPC reload configurable
using the new 'reload_delta' paramenter.
The struct_add() method was getting 4 values but only 3 "d".
sl: Fix 3xx stats RPC marshalling
- similar to send_reply(), but has a 3rd parameter to control the
execution mode (for now it can set the flags to not connect on sending
or close connection after sending)
- added a missing field in sip_msg_update_buffer()
  when restoring message fiedls: msg->pid.
miconda and others added 27 commits January 20, 2021 08:11
- it blocks while waiting for the reply to return the code and reason
text
- done again inside ctl_cmd_run
This fixes the following issue:
#2604

Description of the issue:

When called to remove a specific index from a given xavp, function xavp_rm_by_index removes the index (as expected) but also all others before it.

E.g :
If called with idx = 1, it removes indexes 0 and 1.
Likewise if invoked with idx = 2 => the first 3 elements are removed.

This bug is located in function xavp_rm_internal. An assignment was missing when looping over the xavp list.
Same for xavi_rm_internal.
tm: 200 OK not processed correctly by Proxy after final non-2xx
- control the behaviour introduced by 18410da
- if set to 0, the behaviour is like before the commit referenced above,
tm is attemptime to send suspended 200ok after another final response
that was forwarded while 200ok was suspended
- default is 1 (behave as the patch changed the forwarding policy, not
to overwrite the response buffer)
dispatcher: Log dest sets after variable update
- skip atexit callbacks execution from external libraries which may access
destroyed shm memory causing crash on shutdown
* put them in order too
- val can be y[es] or 1 to enable execution of atexit callbacks; n[o] or
0 to disable the execution of atexit callbacks
- default yes
- simplified ksr_exit() macro
@korayvt korayvt merged commit 7b25b64 into korayvt:master Feb 4, 2021
korayvt pushed a commit that referenced this pull request Aug 23, 2022
[root@localhost]# kamcmd cfg.seti param_group param_name value

=================================================================
==2409977==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 38 byte(s) in 1 object(s) allocated from:
    #0 0xffff98c250af in malloc (/lib64/libasan.so.5+0xd50af)
    #1 0x41549f in parse_listen_id /root/kamailio/utils/kamcmd/parse_listen_id.c:133
    #2 0x4144fb in main /root/kamailio/utils/kamcmd/kamcmd.c:2075
    #3 0xffff97dc0de3 in __libc_start_main (/lib64/libc.so.6+0x20de3)
    kamailio#4 0x40260b  (/usr/local/sbin/kamcmd+0x40260b)
korayvt pushed a commit that referenced this pull request Aug 23, 2022
> #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
> #1  0x00007fbb5e515537 in __GI_abort () at abort.c:79
> #2  0x00007fbb5e56e768 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7fbb5e67ce2d "%s\n") at ../sysdeps/posix/libc_fatal.c:155
> #3  0x00007fbb5e575a5a in malloc_printerr (str=str@entry=0x7fbb5e67b05a "free(): invalid pointer") at malloc.c:5347
> kamailio#4  0x00007fbb5e576c14 in _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:4173
> kamailio#5  0x00007fbb5e5d8da0 in __GI_freeaddrinfo (ai=ai@entry=0x7fbb5e83ba10) at ../sysdeps/posix/getaddrinfo.c:2520
> kamailio#6  0x000055ba099dcd0b in log_init () at core/dprint.c:482
> kamailio#7  0x000055ba09970d7a in main (argc=10, argv=0x7ffde85a1788) at main.c:2055
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet