[OpenSIPS-Devel] [OpenSIPS/opensips] 486ef8: proto_wss: proper cleanup wss connection in case o...

Răzvan Crainea noreply at github.com
Mon Jun 15 13:11:33 EST 2020


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 486ef833b78bc2a277a5701d92c0670d99232ef1
      https://github.com/OpenSIPS/opensips/commit/486ef833b78bc2a277a5701d92c0670d99232ef1
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M modules/proto_wss/proto_wss.c

  Log Message:
  -----------
  proto_wss: proper cleanup wss connection in case of tls error

When TLS domain is not found, or the SSL context cannot be created, make
sure the connection does not keep an hanging `proto_data` that will be
later double-freed by the cleanup routine.

Credits go to Jonathan Hulme (@digipigeon) for reporting this.

Close #2123

(cherry picked from commit b150486a6944f684b238a62dc2d2dc9e307dd007)





More information about the Devel mailing list