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

Bogdan Andrei IANCU noreply at github.com
Wed May 3 12:04:50 UTC 2023


  Branch: refs/heads/3.2
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f2e63bd9447daf8b55d1e73e419a4484f830a4a0
      https://github.com/OpenSIPS/opensips/commit/f2e63bd9447daf8b55d1e73e419a4484f830a4a0
  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: eba29c0dac2fa25f4892e8fbb56c6b37f81d917f
      https://github.com/OpenSIPS/opensips/commit/eba29c0dac2fa25f4892e8fbb56c6b37f81d917f
  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: c07ee02f2abee1c7af119e76ee57e1e511b025e7
      https://github.com/OpenSIPS/opensips/commit/c07ee02f2abee1c7af119e76ee57e1e511b025e7
  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/b45f3ae79e6e...c07ee02f2abe



More information about the Devel mailing list