Opened 6 years ago

Closed 5 years ago

#1699 closed enhancement (fixed)

Transport state callback to report transport shutdown events

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

Description

At the moment, the transport state is only called when TCP connection is closed abnormally. It won't be called if the TCP closure is initiated by us.

Some application wants to keep track of alive TCP (and possibly TLS) connections. For this, they need to be notified when:

  • TCP is shutdown, regardless of the reason
  • TCP is destroyed, so that they could quit the app gracefully.

Change History (2)

comment:1 Changed 5 years ago by bennylp

  • Milestone changed from release-2.2 to release-2.3

comment:2 Changed 5 years ago by ming

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

In 4773:

Fixed #1699: Transport state callback to report transport shutdown events (Thanks to Johan Lantz for the discussion and preliminary patch).

Note: See TracTickets for help on using tickets.