[OpenSIPS-Devel] [OpenSIPS/opensips] f3bbcb: [proto_wss] fix tls tracing without ws and possibl...

ionutrazvanionita ionutionita at opensips.org
Tue Mar 21 12:46:50 EDT 2017


  Branch: refs/heads/2.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f3bbcb39513adce45753d17a35c08fbe7f68767e
      https://github.com/OpenSIPS/opensips/commit/f3bbcb39513adce45753d17a35c08fbe7f68767e
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  [proto_wss] fix tls tracing without ws and possible memleak

	There were 2 cases when tls could have been traced without
ws, but the hep message was not sent:
	1) when the certificate was not accepted by the connecting
client causing an EOF after the TLS handshake; on this scenario
the tls message was built but not traced, therefore a memory leak;
	2) when there was an error at the TLS level; the tracing
was done only after the ws handshake took place therefore any tls
error would have caused the message not to be traced;

(cherry picked from commit ab8d7258fcdf34aa02ba65bf57cbbee23355b7a1)


  Commit: ff97fef0325c365dbad7090c341ee3b867f9c7a8
      https://github.com/OpenSIPS/opensips/commit/ff97fef0325c365dbad7090c341ee3b867f9c7a8
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
    M modules/proto_ws/proto_ws.c

  Log Message:
  -----------
  [proto_ws] use trace function from trans_trace.h

(cherry picked from commit 41acbf1501cd7a5276ab813341ff2fc450a145e2)


  Commit: bbd17f7736251994f7642ec81b5badbe6cd205e2
      https://github.com/OpenSIPS/opensips/commit/bbd17f7736251994f7642ec81b5badbe6cd205e2
  Author: ionutrazvanionita <ionutionita at opensips.org>
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
    M modules/proto_tls/proto_tls.c

  Log Message:
  -----------
  [proto_tls] fix events not being traced in case of tls error

(cherry picked from commit d4f6e05f8c1b203222910631a8395cf4c83d6656)


Compare: https://github.com/OpenSIPS/opensips/compare/4af0aaa83814...bbd17f773625


More information about the Devel mailing list