[OpenSIPS-Devel] [OpenSIPS/opensips] 2efff5: Fix logging multiple IPs in the same time

Bogdan Andrei IANCU noreply at github.com
Wed May 3 12:06:43 UTC 2023


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 2efff58d31d8399bc023b0b901b5b8e0e5e42b27
      https://github.com/OpenSIPS/opensips/commit/2efff58d31d8399bc023b0b901b5b8e0e5e42b27
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M ip_addr.c
    M ip_addr.h

  Log Message:
  -----------
  Fix logging multiple IPs in the same time

Use a multiple static rotating buffers for convering the IPs to str, so that we can print multiple IPs in the same time.
Closes #3062
Reported by @jes

(cherry picked from commit 0ff82562bd74a177184b1e179c3a607446c47b78)


  Commit: a2686d1e65b0e1dcf09978f36ea0b296e5d3056d
      https://github.com/OpenSIPS/opensips/commit/a2686d1e65b0e1dcf09978f36ea0b296e5d3056d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M modules/acc/acc_extra.c

  Log Message:
  -----------
  [acc] workaround for compiling issue

Related to 0ff82562bd74a177184b1e179c3a607446c47b78
We need to review this logic (of static_detector) as it looks to be broken as it is now.

(cherry picked from commit 6c0b37f907d30749266e2deca3c9ccc475dd32e4)


  Commit: 10d53b312aecd5bd53c2ee99af7cfc47f847996c
      https://github.com/OpenSIPS/opensips/commit/10d53b312aecd5bd53c2ee99af7cfc47f847996c
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M modules/acc/acc_extra.c
    M modules/acc/acc_extra.h
    M modules/acc/acc_mod.c

  Log Message:
  -----------
  [acc] removed old workaround multiple int2str() in acc_extra

Since 2.3 we actually do not need this, as each acc_extra is individually set into its own buffer.
Related to 6c0b37f907d30749266e2deca3c9ccc475dd32e4

(cherry picked from commit 54b03a17276439a24a81d7f55e6d43c92f22637e)


Compare: https://github.com/OpenSIPS/opensips/compare/c88b87589bdf...10d53b312aec



More information about the Devel mailing list