From 2411550727909550175bc0c3b3688385f7f54423 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 11 Aug 2014 21:02:25 +0500 Subject: [PATCH] add homer capture line to websocket transport --- libs/sofia-sip/.update | 2 +- libs/sofia-sip/libsofia-sip-ua/tport/tport_type_ws.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 09ad6c7180..d148929f9e 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Thu Jul 17 01:07:28 CDT 2014 +Mon Aug 11 21:02:23 CDT 2014 diff --git a/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_ws.c b/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_ws.c index ab8ea1c731..9ee2b29f41 100644 --- a/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_ws.c +++ b/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_ws.c @@ -253,6 +253,9 @@ int tport_recv_stream_ws(tport_t *self) if (self->tp_master->mr_dump_file) tport_dump_iovec(self, msg, n, iovec, veclen, "recv", "from"); + if (self->tp_master->mr_capt_sock) + tport_capt_msg(self, msg, n, iovec, veclen, "recv"); + /* Mark buffer as used */ msg_recv_commit(msg, N, 0);