FS-9657 [libsofia] This commit fixes missing HEP capture messages when incoming SIP messages arrive over encrypted TLS transport

This commit is contained in:
Tom Parrott 2018-08-29 13:11:06 +00:00
parent 1cf4981a82
commit 300b967cf9
1 changed files with 3 additions and 0 deletions

View File

@ -468,6 +468,9 @@ int tport_tls_recv(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);