xquic
xquic copied to clipboard
XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.
[+] Add RFC9114 translation.
### What happened? Seems BabaSSL has break changes, they renamed to Tongsuo. ``` /extern_disk/home/lyf/xquic/src/transport/xqc_packet_parser.c: In function ‘xqc_gen_reset_token’: /extern_disk/home/lyf/xquic/src/transport/xqc_packet_parser.c:1300:5: error: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] HMAC_CTX *ctx = HMAC_CTX_new();...
### Before request a new feature - [X] I have searched the [issues](https://github.com/alibaba/xquic/issues) of this repository and believe that this is not a duplicate. ### Describe the feature you'd like...
### Before request a new feature - [X] I have searched the [issues](https://github.com/alibaba/xquic/issues) of this repository and believe that this is not a duplicate. ### Describe the feature you'd like...
### Before request a new feature - [X] I have searched the [issues](https://github.com/alibaba/xquic/issues) of this repository and believe that this is not a duplicate. ### Describe the feature you'd like...
### Before request a new feature - [X] I have searched the [issues](https://github.com/alibaba/xquic/issues) of this repository and believe that this is not a duplicate. ### Describe the feature you'd like...
### What happened? `xqc_stream_recv` always calls `xqc_stream_shutdown_read`, so when a stream has received fin and then `xqc_stream_recv` does not consume all the data, the left data will never be notified...
### What happened? ### Problem 1(BUG) Currently, the recv_record list has no length limit, so this list may become very long in some cases, and this will lead to problems...
### What happened? 在计算offs的三次方时,数据大于2^64次方,导致数据溢出 offs:15974185, delta:7842627 tcp:234196 delta3:8623060531908964872 origin:271164 cwnd:935716 offs:16720817, delta:13108 tcp:234205 delta3:14412724670035656 origin:271164 cwnd:284272 > 应改为 if(offs > 1024*1024){ offs = offs>>10 delta = (XQC_CUBIC_C * offs *...
### What happened? https://github.com/alibaba/xquic/blob/8fab2f91a468dc9f37ba02cca14d032ca8f40353/src/transport/xqc_conn.h#L310-L313 These 3 lists are not cleared when connection destroy, so if the connection is closed during handshake (e.g. caused by a timeout), the `xqc_hs_buffer_t`s in these...