alibaba / xquic

XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.
Apache License 2.0
1.7k stars 327 forks source link

Bug in xqc_write_new_token_to_packet #179

Closed Luffbee closed 2 years ago

Luffbee commented 2 years ago

https://github.com/alibaba/xquic/blob/109918f980b3e649f0e7bce4d3bd926a6e44e002/src/transport/xqc_packet_out.c#L672 xqc_vint_len_by_val should be used, instead of xqc_vint_get_2bit.

ruiqizhou commented 2 years ago

Please follow the templates to write a Bug report.