[OpenSIPS-Devel] [OpenSIPS/opensips] 187f7d: Fixed empty socket info in DB during reload

Bogdan-Andrei Iancu bogdan at opensips.org
Wed May 9 08:34:08 EDT 2018


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 187f7d08eada6a83c2303f7601227d8f2aab1e29
      https://github.com/OpenSIPS/opensips/commit/187f7d08eada6a83c2303f7601227d8f2aab1e29
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-05-09 (Wed, 09 May 2018)

  Changed paths:
    M modules/presence/subscribe.c

  Log Message:
  -----------
  Fixed empty socket info in DB during reload

The insert subscription code may push an empty string for the socket info, so the DB reload code must cope with this without error.
Also relax the reloading sequence - ignore broken subscription records rather than stopping the entire reload and breaking the startup sequence.

(cherry picked from commit ea647c59aeaea6c8abfc910a8c6bbb31e0f552eb)



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Devel mailing list