Module: kamailio
Branch: master
Commit: 175d755c40bc50b78b2cf4f18ad22429289af90d
URL:
https://github.com/kamailio/kamailio/commit/175d755c40bc50b78b2cf4f18ad2242…
Author: Xenofon Karamanos <22965395+xkaraman(a)users.noreply.github.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2024-04-16T14:42:20+02:00
tcp_main: Match wss protocol
---
Modified: src/core/tcp_main.c
---
Diff:
https://github.com/kamailio/kamailio/commit/175d755c40bc50b78b2cf4f18ad2242…
Patch:
https://github.com/kamailio/kamailio/commit/175d755c40bc50b78b2cf4f18ad2242…
---
diff --git a/src/core/tcp_main.c b/src/core/tcp_main.c
index e3323736cc0..b71e7ad37f2 100644
--- a/src/core/tcp_main.c
+++ b/src/core/tcp_main.c
@@ -5435,7 +5435,7 @@ int wss_send(dest_info_t *dst, const char *buf, unsigned len)
if(tcp_connection_match == TCPCONN_MATCH_STRICT) {
con = tcpconn_lookup(dst->id, &ip, port, from,
(dst->send_sock) ? dst->send_sock->port_no : 0, 0,
- PROTO_NONE);
+ dst->proto);
} else {
con = tcpconn_get(dst->id, &ip, port, from, 0);
}