summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip/sip_transport_tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/src/pjsip/sip_transport_tcp.c')
-rw-r--r--pjsip/src/pjsip/sip_transport_tcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pjsip/src/pjsip/sip_transport_tcp.c b/pjsip/src/pjsip/sip_transport_tcp.c
index b3a03c06..7eefec48 100644
--- a/pjsip/src/pjsip/sip_transport_tcp.c
+++ b/pjsip/src/pjsip/sip_transport_tcp.c
@@ -1221,6 +1221,7 @@ static void on_read_complete(pj_ioqueue_key_t *key,
{
/* Socket error. */
+ PJ_LOG(4,(tcp->base.obj_name, "TCP connection reset"));
/* We can not destroy the transport since high level objects may
* still keep reference to this transport. So we can only
@@ -1262,6 +1263,7 @@ static void on_read_complete(pj_ioqueue_key_t *key,
} else {
/* Socket error */
+ PJ_LOG(4,(tcp->base.obj_name, "TCP connection reset"));
/* We can not destroy the transport since high level objects may
* still keep reference to this transport. So we can only