Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2141 closed enhancement (fixed)

Add TCP initial receive timeout for server connection

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

Description

This ticket will add a timeout (compile time setting PJSIP_TCP_INITIAL_TIMEOUT) to disconnect a TCP server connection if it doesn't receive any data following a successful connect.

Note that when a TCP server connection is idle or not referred anymore, idle timeout will disconnect the connection, refer to PJSIP_TRANSPORT_SERVER_IDLE_TIME

Thanks to Peter Koletzki for the suggestion.

Change History (2)

comment:1 Changed 6 years ago by riza

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

In 5869:

Close #2141: Add TCP initial receive timeout for server connection.

comment:2 Changed 6 years ago by riza

In 5870:

Re #2141: Fix variable declaration misplacement.

Note: See TracTickets for help on using tickets.