Skip to content

Commit

Permalink
tcp_main: Match wss protocol
Browse files Browse the repository at this point in the history
(cherry picked from commit 175d755)
  • Loading branch information
xkaraman authored and miconda committed Apr 25, 2024
1 parent 7d103cf commit 3052565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/tcp_main.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3052565

Please sign in to comment.