Merge pull request #1578 in FS/freeswitch from ~TOMP/freeswitch:bugfix/FS-9657-fix-HEP-TLS-capture to master

* commit '300b967cf90259686d3bdffe140731e129f75da2':
  FS-9657 [libsofia] This commit fixes missing HEP capture messages when incoming SIP messages arrive over encrypted TLS transport
This commit is contained in:
Mike Jerris 2019-02-26 12:44:01 -06:00
commit 4fcbc7a87d
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);