[OpenSIPS-Devel] [OpenSIPS/opensips] cabe59: Add REUSE_PORT socket option

Bogdan Andrei IANCU noreply at github.com
Tue Apr 11 06:15:22 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: cabe59149dd4fbda56465912d8cba2a3a879b748
      https://github.com/OpenSIPS/opensips/commit/cabe59149dd4fbda56465912d8cba2a3a879b748
  Author: James Stanley <james at incoherency.co.uk>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M cfg.lex
    M cfg.y
    M ip_addr.h
    M modules/cgrates/cgrates_engine.c
    M modules/proto_ws/ws_common.h
    M net/net_tcp.c
    M net/net_tcp.h
    M net/tcp_common.c
    M net/tcp_common.h

  Log Message:
  -----------
  Add REUSE_PORT socket option

This allows outgoing TCP connections to reuse a listening port as a source port.
This is useful for example when using "forced_socket" with the "uac_registrant"
module, or when using "force_send_socket()".

The behaviour of sockets that do not use the REUSE_PORT option is unchanged.


  Commit: 3292a5a499d6e4b5fc50a0376eaab4fe1bb49705
      https://github.com/OpenSIPS/opensips/commit/3292a5a499d6e4b5fc50a0376eaab4fe1bb49705
  Author: Bogdan Andrei IANCU <bogdan at opensips.org>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M cfg.lex
    M cfg.y
    M ip_addr.h
    M modules/cgrates/cgrates_engine.c
    M modules/proto_ws/ws_common.h
    M net/net_tcp.c
    M net/net_tcp.h
    M net/tcp_common.c
    M net/tcp_common.h

  Log Message:
  -----------
  Merge pull request #3039 from jes/master

Add REUSE_PORT socket option


Compare: https://github.com/OpenSIPS/opensips/compare/00a19ede8055...3292a5a499d6



More information about the Devel mailing list