mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
- [OPTIMIZATION] Merge series of ACKs if possible Parsed single-range ACK frames (that is the majority of frames) are saved in the connection and their processing is deferred until the connection is ticked. If several ACKs come in a series between adjacent ticks, we check whether the latest ACK is a strict superset of the saved ACK. If it is, the older ACK is not processed. If ACK frames can be merged, they are merged and only one of them is either processed or saved. - [OPTIMIZATION] Speed up ACK verification by simplifying send history. Never generate a gap in the sent packet number sequence. This reduces the send history to a single number instead of potentially a series of packet ranges and thereby speeds up ACK verification. By default, detecting a gap in the send history is not fatal: only a single warning is generated per connection. The connection can continue to operate even if the ACK verification code is not able to detect some inconsistencies. - [OPTIMIZATION] Rearrange the lsquic_send_ctl struct The first part of struct lsquic_send_ctl now consists of members that are used in lsquic_send_ctl_got_ack() (in the absense of packet loss, which is the normal case). To speed up reads and writes, we no longer try to save space by using 8- and 16-bit integers. Use regular integer width for everything. - [OPTIMIZATION] Cache size of sent packet. - [OPTIMIZATION] Keep track of the largest ACKed in packet_out Instead of parsing our own ACK frames when packet has been acked, use the value saved in the packet_out structure when the ACK frame was generated. - [OPTIMIZATION] Take RTT sampling conditional out of ACK loop - [OPTIMIZATION] ACK processing: only call clock_gettime() if needed - [OPTIMIZATION] Several code-level optimizations to ACK processing. - Fix: http_client: fix -I flag; switch assert() to abort() |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
graph_cubic.c | ||
test_ackgen_gquic_be.c | ||
test_ackgen_gquic_ietf.c | ||
test_ackgen_gquic_le.c | ||
test_ackparse_gquic_be.c | ||
test_ackparse_gquic_ietf.c | ||
test_ackparse_gquic_le.c | ||
test_alarmset.c | ||
test_arr.c | ||
test_attq.c | ||
test_blocked_gquic_be.c | ||
test_blocked_gquic_le.c | ||
test_buf.c | ||
test_conn_close_gquic_be.c | ||
test_conn_close_gquic_le.c | ||
test_conn_hash.c | ||
test_cubic.c | ||
test_dec.c | ||
test_elision.c | ||
test_engine_ctor.c | ||
test_export_key.c | ||
test_frame_chop.c | ||
test_frame_reader.c | ||
test_frame_rw.c | ||
test_frame_writer.c | ||
test_goaway_gquic_be.c | ||
test_goaway_gquic_le.c | ||
test_hkdf.c | ||
test_hpack.c | ||
test_lsquic_hash.c | ||
test_malo.c | ||
test_packet_out.c | ||
test_packno_len.c | ||
test_parse_packet_in.c | ||
test_quic_be_floats.c | ||
test_quic_le_floats.c | ||
test_rechist.c | ||
test_reg_pkt_headergen.c | ||
test_rst_stream_gquic_be.c | ||
test_rst_stream_gquic_le.c | ||
test_rst_stream_ietf.c | ||
test_rtt.c | ||
test_senhist.c | ||
test_set.c | ||
test_sfcw.c | ||
test_some_packets.c | ||
test_spi.c | ||
test_stop_waiting_gquic_be.c | ||
test_stop_waiting_gquic_le.c | ||
test_stream.c | ||
test_streamgen.c | ||
test_streamparse.c | ||
test_ver_nego.c | ||
test_wuf_gquic_be.c | ||
test_wuf_gquic_le.c |