浏览代码

tcp_main: Match wss protocol

Xenofon Karamanos 1 年之前
父节点
当前提交
175d755c40
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 			}