[OpenSIPS-Devel] [OpenSIPS/opensips] f241a1: proto_wss: proper cleanup wss connection in case o...
Răzvan Crainea
noreply at github.com
Mon Jun 15 13:11:49 EST 2020
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: f241a1909bbf10356ec43998c28ec12ef91209e2
https://github.com/OpenSIPS/opensips/commit/f241a1909bbf10356ec43998c28ec12ef91209e2
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