litespeed-quic/test/unittests
Dmitri Tikhonov 16a9b66aaa Latest changes
- [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()
2018-03-09 14:17:39 -05:00
..
CMakeLists.txt Latest changes 2018-02-26 16:01:16 -05:00
graph_cubic.c Latest changes 2018-02-26 16:01:16 -05:00
test_ackgen_gquic_be.c Latest changes 2018-03-09 14:17:39 -05:00
test_ackgen_gquic_ietf.c Latest changes 2018-03-09 14:17:39 -05:00
test_ackgen_gquic_le.c Latest changes 2018-03-09 14:17:39 -05:00
test_ackparse_gquic_be.c Latest changes 2018-03-09 14:17:39 -05:00
test_ackparse_gquic_ietf.c Latest changes 2018-03-09 14:17:39 -05:00
test_ackparse_gquic_le.c Latest changes 2018-03-09 14:17:39 -05:00
test_alarmset.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_arr.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_attq.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_blocked_gquic_be.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_blocked_gquic_le.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_buf.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_conn_close_gquic_be.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_conn_close_gquic_le.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_conn_hash.c Latest changes 2018-02-28 14:25:21 -05:00
test_cubic.c Add missed test_cubic.c to the distribution 2018-03-07 18:46:34 -05:00
test_dec.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_elision.c Latest changes 2018-02-26 16:01:16 -05:00
test_engine_ctor.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_export_key.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_frame_chop.c Latest changes 2017-10-31 09:35:58 -04:00
test_frame_reader.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_frame_rw.c Latest changes 2017-10-31 09:35:58 -04:00
test_frame_writer.c Latest changes 2017-10-31 09:35:58 -04:00
test_goaway_gquic_be.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_goaway_gquic_le.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_hkdf.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_hpack.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_lsquic_hash.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_malo.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_packet_out.c Latest changes 2018-02-26 16:01:16 -05:00
test_packno_len.c Latest changes 2017-09-26 14:21:37 -04:00
test_parse_packet_in.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_quic_be_floats.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_quic_le_floats.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_rechist.c Latest changes 2017-10-31 09:35:58 -04:00
test_reg_pkt_headergen.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_rst_stream_gquic_be.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_rst_stream_gquic_le.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_rst_stream_ietf.c Latest changes 2017-09-28 14:50:30 -04:00
test_rtt.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_senhist.c Latest changes 2018-03-09 14:17:39 -05:00
test_set.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_sfcw.c Latest changes 2017-10-31 09:35:58 -04:00
test_some_packets.c Latest changes 2018-02-26 16:01:16 -05:00
test_spi.c Latest changes 2018-02-26 16:01:16 -05:00
test_stop_waiting_gquic_be.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_stop_waiting_gquic_le.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_stream.c Latest changes 2018-02-26 16:01:16 -05:00
test_streamgen.c Latest changes 2018-02-26 16:01:16 -05:00
test_streamparse.c Latest changes 2018-02-26 16:01:16 -05:00
test_ver_nego.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_wuf_gquic_be.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00
test_wuf_gquic_le.c LSQUIC Client: Initial release 2017-09-22 17:00:03 -04:00