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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a527da79156412bee8bd9b7e89cc834e0f597356
      https://github.com/OpenSIPS/opensips/commit/a527da79156412bee8bd9b7e89cc834e0f597356
  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;


  Commit: aafbdf16cb8de3c9b19a22704d70408fe4d124c4
      https://github.com/OpenSIPS/opensips/commit/aafbdf16cb8de3c9b19a22704d70408fe4d124c4
  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


  Commit: 6fb06a667b73a9434a761526c64fb352679bbb4e
      https://github.com/OpenSIPS/opensips/commit/6fb06a667b73a9434a761526c64fb352679bbb4e
  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


Compare: https://github.com/OpenSIPS/opensips/compare/2af6d958ffb2...6fb06a667b73


More information about the Devel mailing list