Module: kamailio
Branch: master
Commit: 175d755c40bc50b78b2cf4f18ad22429289af90d
URL: 
https://github.com/kamailio/kamailio/commit/175d755c40bc50b78b2cf4f18ad22429289af90d

Author: Xenofon Karamanos <[email protected]>
Committer: Henning Westerholt <[email protected]>
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/175d755c40bc50b78b2cf4f18ad22429289af90d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/175d755c40bc50b78b2cf4f18ad22429289af90d.patch

---

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);
                        }

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to [email protected]

Reply via email to