Module: sip-router Branch: 4.0 Commit: 1e774166724e0bdd2c43091b3b19c1b82d197242 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e774166...
Author: Hugh Waite hugh.waite@crocodile-rcs.com Committer: Hugh Waite hugh.waite@crocodile-rcs.com Date: Wed Jul 3 10:39:32 2013 +0100
modules/tls: Free TLS data for secure websocket connections (cherry picked from commit 074f12c5a444188aa023797ac70e2d38d225cb18)
---
modules/tls/tls_server.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/tls/tls_server.c b/modules/tls/tls_server.c index e3d0a61..f71956d 100644 --- a/modules/tls/tls_server.c +++ b/modules/tls/tls_server.c @@ -564,7 +564,7 @@ void tls_h_tcpconn_clean(struct tcp_connection *c) /* * runs within global tcp lock */ - if (c->type != PROTO_TLS) { + if ((c->type != PROTO_TLS) && (c->type != PROTO_WSS)) { BUG("Bad connection structure\n"); abort(); }