Module: sip-router
Branch: master
Commit: 074f12c5a444188aa023797ac70e2d38d225cb18
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=074f12c…
Author: Hugh Waite <hugh.waite(a)crocodile-rcs.com>
Committer: Hugh Waite <hugh.waite(a)crocodile-rcs.com>
Date: Wed Jul 3 10:39:32 2013 +0100
modules/tls: Free TLS data for secure websocket connections
---
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();
}