Ticket #1878 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Compile time option for TCP/TLS transport to not create a listener

Reported by: ming Owned by: bennylp
Priority: normal Milestone: release-2.4.5
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Provide a compile time option PJSIP_TCP_TRANSPORT_DONT_CREATE_LISTENER and PJSIP_TLS_TRANSPORT_DONT_CREATE_LISTENER for TCP/TLS transport to skip creating the listener. Some applications may not have real use for a listener since they don't need to accept direct incoming connections, hence they can use this option.

Change History

comment:1 Changed 3 years ago by ming

  • Status changed from new to closed
  • Resolution set to fixed

In 5152:

Fixed #1878: Compile time option for TCP/TLS transport to not create a listener

comment:2 Changed 2 years ago by ming

In 5386:

Re #1928 (misc): Re #1878 (Compile time option for TCP/TLS transport to not create a listener)

When not creating a TLS listener, still call pj_ssl_sock_set_certificate(), since it will later still be used by clients.

Note: See TracTickets for help on using tickets.