Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#1878 closed enhancement (fixed)

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 (2)

comment:1 Changed 9 years ago by ming

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

In 5152:

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

comment:2 Changed 8 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.