Răsfoiți Sursa

tcp_main: Match wss protocol

Xenofon Karamanos 1 an în urmă
părinte
comite
175d755c40
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/core/tcp_main.c

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