Ticket #2141 (closed enhancement: fixed)

Opened 3 weeks ago

Last modified 3 weeks ago

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

comment:1 Changed 3 weeks ago by riza

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

In 5869:

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

comment:2 Changed 3 weeks ago by riza

In 5870:

Re #2141: Fix variable declaration misplacement.

Note: See TracTickets for help on using tickets.