Skip to content

Commit 9e82708

Browse files
authored
[~] When server side receive Retry packets, just ignore the packet instead of closing connection. For handshake corruption interop cases. (#449)
1 parent af9437e commit 9e82708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/transport/xqc_packet_parser.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1037,8 +1037,8 @@ xqc_packet_parse_retry(xqc_connection_t *c, xqc_packet_in_t *packet_in)
10371037

10381038
/* check conn type, only client can receive a Retry packet */
10391039
if (c->conn_type != XQC_CONN_TYPE_CLIENT) {
1040-
xqc_log(c->log, XQC_LOG_WARN, "|invalid conn_type|%d|", c->conn_type);
1041-
return -XQC_EPROTO;
1040+
xqc_log(c->log, XQC_LOG_WARN, "|invalid conn_type recvd retry packet|%d|ignored|", c->conn_type);
1041+
return -XQC_EIGNORE_PKT;
10421042
}
10431043

10441044
/**

0 commit comments

Comments
 (0)