[OpenSIPS-Devel] [OpenSIPS/opensips] f24f0f: usrloc: simplify processing of the refresh events

Maksym Sobolyev noreply at github.com
Tue May 7 16:05:59 UTC 2024


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f24f0fd350a937edab667494256cbf21bfd92e17
      https://github.com/OpenSIPS/opensips/commit/f24f0fd350a937edab667494256cbf21bfd92e17
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2024-05-07 (Tue, 07 May 2024)

  Changed paths:
    M modules/usrloc/ul_evi.c
    M modules/usrloc/ul_evi.h

  Log Message:
  -----------
  usrloc: simplify processing of the refresh events

Do not abuse "struct socket_info" just to pass sock_str over.
Instead, add str to the refresh event data and pass that alone.
Not only it reduces amount of data to pass, but also makes
code much easier to read and understand.

(cherry picked from commit 04cb08e70ef467e5d599289abec485c957587d7c)
(cherry picked from commit 126712e37f9c8cf28b0441cd4aab5cd7a571892c)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list