History log of /lsquic/docs/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0a4f8953 13-May-2022 George Wang <gwang@litespeedtech.com>

Release 3.1.1

a74702c6 06-May-2022 George Wang <gwang@litespeedtech.com>

Release 3.1.0

497ec21d 12-Jan-2022 George Wang <gwang@litespeedtech.com>

Release 3.0.4

83eb86cb 28-Oct-2021 Sijie Yang <iyangsj@gmail.com>

Fix typo in internals.rst (#342)

082507cd 30-Sep-2021 George Wang <gwang@litespeedtech.com>

Release 3.0.3

7fc12548 30-Jun-2021 George Wang <gwang@litespeedtech.com>

Release 3.0.2

d549a33b 17-Jun-2021 George Wang <gwang@litespeedtech.com>

Release 3.0.1

d1628a56 06-Jun-2021 LiteSpeed Tech <info@litespeedtech.com>

Update index.rst

084338b1 02-Jun-2021 George Wang <gwang@litespeedtech.com>

Release 3.0.0

077ef878 21-Apr-2021 George Wang <gwang@litespeedtech.com>

Release 2.30.2

55d69529 17-Apr-2021 George Wang <gwang@litespeedtech.com>

Release 2.30.1

293df8d6 12-Apr-2021 George Wang <gwang@litespeedtech.com>

Release 2.30.0

- [FEATURE] Added support for sending/receiving multiple headers to address the
case related to "100 continue" header handling.
- [BUGFIX] Addressed high CPU usage for a GOAWAY connection before sending
CONNECTION_CLOSE.
- [BUGFIX] Addressed SIGFPE due to zero pacing rate. (ISSUE #254).
- [BUGFIX] Fixed a minor issue related to multi-paths.

eea99896 31-Mar-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.29.6

- Documentation: describe lsquic internals ("guts").
- Two more fixes to compliance issues found by h3spec.
- Truncate, don't abort, SCIDs larger than 16 bytes (PR #244).
- Several small internal improvements and space optimizations.

10e0dad8 17-Mar-2021 George Wang <gwang@litespeedtech.com>

Release 2.29.5

- Fix a few issues detected by h3spec for better compliance with HTTP/3 standard.

e1b8f1a8 08-Mar-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.29.4

- [BUGFIX] Infinite loop in stream: returned HQ frame can be at any
point on the list.
- [BUGFIX] Fail push promise immediately if STREAM_NOPUSH is set.

99a1ad0f 03-Mar-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.29.3

- [BUGFIX] Do not send RESET_STREAM if writing to stream is already
finished.
- perf_client: wait for all ACKs before exiting.
- Improve how generated RESET_STREAM is logged.
- Fix compilation in different combos of adv_tick/conn_stats flags.
- Move qpack warning disablement into src/liblsquic/CMakeLists.txt.

f1d5a1a4 23-Feb-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.29.2

- Fix regression in gQUIC server: bug #234.

8ecb980d 18-Feb-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.29.1

- Make it possible to build the library and unit tests without
libevent.
- Build all command-line utilities in bin/
- Add perf_client and perf_server command-line utilities to test
performance according to the "perf" protocol.

26e8f082 10-Feb-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.29.0

- [FEATURE] QUIC and HTTP/3 Internet Draft 34 support and v1 support.
The latter is turned off by default.
- Drop support for ID-28 and ID-32.
- [BUGFIX] IETF QUIC mini conn receive history (trechist): allow
unlimited inserts by dropping smallest elements.
- [BUGFIX] gQUIC: set STTL to correct value, issue #226.
- [BUGFIX] Account for poison packet gap when MTU probe was too large.

c2faf032 04-Feb-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.28.0

- [API] lsquic_ssl_sess_to_resume_info() is the new way to get
session info.
- [API] Add user pointer to ea_generate_scid callback.
- [API] Add lsquic_dcid_from_packet() -- a fast function to parse
out DCID.
- [API] Add es_max_batch_size to control outgoing packet batch size.
- [BUGFIX] Disallow sending of header while promise is being written.
- [BUGFIX] Flush stream when buffered bytes exhaust stream cap.
- [BUGFIX] Deactivate HQ frame if writing push promise fails.
- Perform sanity check on peer transport parameters and fail the
handshake if some flow control limits are too low. This can be
turned off, see es_check_tp_sanity.
- http_server: fix how requests are read in "hq" mode.

9a7f663e 01-Feb-2021 Nan Xiao <nan@chinadtrace.org>

Fix typo in tutorial (#225)

5650ee6c 27-Jan-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.27.6

- [BUGFIX] Replace dispatch read/write events assertion with a check.
- [BUGFIX] gQUIC connection close: there is no HEADERS stream without
HTTP flag, see issue #220.
- http_client, http_server: add hq protocol support and other flags
for use with QUIC Interop Runner.
- Fix: use IP_PMTUDISC_PROBE (not IP_PMTUDISC_DO) on Linux to set
Don't-Fragment flag on outgoing packets.
- Fix send_packets_one_by_one on Windows platform when sending
multiple iovs, see issue #218.
- Exit echo_client on Windows immediately, see issue #219.

61e670e1 19-Jan-2021 Pi Iyer <54725951+prchander@users.noreply.github.com>

Fix typo in API docs

bbee242a 19-Jan-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.27.5

- [BUGFIX] Assertion in send controller when path validation fails.
- [BUGFIX] Assertion in BBR when sending out-of-order packets is
detected.
- [BUGFIX] Drop overflow receive history ranges when cloning.
- Log correct size of the incoming packet.
- Fix internal stream function.

e98ebfce 13-Jan-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.27.4

- [API] Add lsquic_conn_get_sni(), fixes issue #203.

38e83598 12-Jan-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

API: add lsquic_conn_get_sni(), fixes issue #203

e2c49070 09-Jan-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.27.3

- [BUGFIX] gQUIC: do not destroy critical streams when connection is
closed. See issue #201.
- [BUGFIX] Drop #if LSQUIC_CONN_STATS from lsquic.h. See issue #211.
- [BUGFIX] Challenge cancellation when path validation fails.
- [BUGFIX] Do not send FIN if RST is scheduled to be sent on a stream.
- [BUGFIX] gQUIC's is_tickable() when connection is closing.
- [BUGFIX] Q050 processing of GOAWAY frames.

1a0003e3 07-Jan-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.27.2

- [BUGFIX] Memory corruption in receive history copy-ranges function.

06b2a236 06-Jan-2021 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.27.1

- [API] New knob to set outgoing packet batch size.
- Aborted connection now become tickable immediately.
- Abort connection when HTTP/3 frame cannot be opened (can only happen
when malloc fails).

65113787 31-Dec-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.27.0

- [API] Remove keylog callbacks. See issue #188.
- Add a bit more ALPN logging.

292abba1 23-Dec-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.26.2

- [BUGFIX] Do not drop incoming data when STOP_SENDING is received.
- [BUGFIX] Receipt of STOP_SENDING should not cause read-reset.
- [BUGFIX] Allow stream writes after receiving RESET.
- [BUGFIX] Typo in stream: ANDing enum with wrong flag.
- [BUGFIX] Reset elision: do not use zero as special stream ID value,
for zero is a valid stream ID in IETF QUIC.
- [API] Add optional on_conncloseframe_received() callback.
- Use zero error code in RESET stream sent in response to STOP_SENDING.

71eb4000 18-Dec-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.26.1

- [BUGFIX] Migration corner cases: drop or pad over path challenge
and response frames when necessary.
- Fix stream unit test.

fcbdf653 09-Dec-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.26.0

- [OPTIMIZATION] Adjust packet reordering threshold when spurious losses
are detected.
- [API] Pass pointer to local sockaddr to ea_get_ssl_ctx() callback.

7f96c7c7 05-Dec-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.25.0

- [API, FEATURE] Add es_delay_onclose option to delay on_close until all
data is ACKed. Use new function lsquic_stream_has_unacked_data() to
learn whether peer acknowledged all data written to stream.
- [API] Add optional on_reset() stream callback to get notifications
when RESET or STOP_SENDING frames are received.
- [BUGFIX] On STOP_SENDING, make conn tickable is _writeable_, not
readable.

f38b395a 24-Nov-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.24.5

- [FEATURE] Improve Delayed ACKs extension and turn it on by default.
- Limit receive history to a finite amount of memory.

8e6b1576 24-Nov-2020 Michał Śledź <sledzson08@gmail.com>

Add links to tutorial and NetDev presentation

4580fab7 18-Nov-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.24.4

- [BUGFIX] Check whether ECN counts are set in ACK struct before using them.
- [BUGFIX] Calculate TLP timer correctly when only one packet is in flight.
- [BUGFIX] Min RTO delay is 200 milliseconds, not 1 second.
- [BUGFIX] Memory leak in QPACK decoder handler: discard hset when necessary.
- Allow retired and drained CIDs to be reused after a timeout.

2ed07212 11-Nov-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.24.3

- [BUGFIX] Get rough RTT estimate on receipt of Handshake packet.
This prevents BBR on the client from miscalculating pacing rate,
slowing down sending of ACK packets.
- [BUGFIX] Packets sent during handshake are app-limited.
- [BUGFIX] Bandwidth sampler starts in app-limited mode.
- [BUGFIX] Memory leak: free QPACK handler context in stream dtor.
- Logging improvements.

ee4d3930 06-Nov-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.24.2

- [BUGFIX] Allow peer to migrate when its SCID is zero-length.
- [BUGFIX] PADDING size calculation: only one Short packet can be
coalesced. (This should have been part of the fix in 2.24.1).
- Abort connect if received NEW_CONNECTION_ID but current DCID is
zero-length.
- Improve log messages

e85d2854 04-Nov-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.24.1

- [API] Allow use of ea_get_ssl_ctx() on the client (optional). PR #186.
- [BUGFIX] Expand datagram with ack-eliciting Initial to 1200 bytes
after connection promotion.
- [BUGFIX] Discard CRYPTO frames from lower encryption levels after
connection promotion.
- [BUGFIX] Cancel path response if path could not be initialized.

b0dd78b8 30-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Keep ea_get_ssl_ctx() optional for the client

21bcad87 29-Oct-2020 sumasrao <suma.subbarao@spirent.com>

Support get_ssl_ctx callback for client

4429f8ea 28-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.24.0

- [FEATURE] QUIC and HTTP/3 Internet Draft 31 support. Drop ID-30
and ID-31 support.
- [BUGFIX] Divide-by-zero in newly enabled conn stats code when no
packets were sent.
- [BUGFIX] Memory leak in gQUIC client when server hello cannot be
parsed.
- [BUGFIX] Server Initial packet size calculation.
- Log user-agent and CONN_CLOSE reason when peer reports error.
- Example programs: Specify ALPN for echo and md5 clients and servers
(issue #184).
- Example programs: Don't add "QUIC_" prefix to lines in keylog file
(issue #185).
- http_server: Fix fd leak in preadv mode; fix preadv() usage when
reading from disk.

078f5379 23-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.23.3

- [BUGFIX] Update packetization threshold when writing to stream
after packet size is reduced following an RTO.

758aff32 21-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.23.2

- Add QPACK stats collection and experimentation mode, see the new
es_qpack_experiment setting.
- Log busy connection stats every second using the new "conn-stats"
log module.
- Log about skipping only once.
- Update HTTP/3 greased frame type formula.
- Use ls-qpack v2.2.1.

f198a02d 13-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.23.1

- [BUGFIX] Regression introduced in 2.22.0: use correct number of
PNSs for IETF mini conn during promotion.

04f8f447 13-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.23.0

- [FEATURE] IETF Client 0-RTT support.
- [BUGFIX] Do not schedule MTU probe on first tick.
- [BUGFIX] Parsing DATAGRAM frame.
- [BUGFIX] If push promise fails, do not invoke hset destructor.
- [BUGFIX] Client: When connections are IDed by port number, check DCID.
Fixes issue #176.
- Revert the 2.22.1 lsquic_is_valid_hs_packet change. All that was
necessary is a change to the way we call it in lsquic_engine. No
change to the function itself is required.

f3d781aa 12-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Add FAQ to the docs

00c58df3 08-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.22.1

- [BUGFIX] Function that checks validity of handshake packets.

fbc6cc04 07-Oct-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.22.0

- [FEATURE] Extensible HTTP Priorities (HTTP/3 only).
- [FEATURE] Add conn context to packet-out memory interface (PR #175).
- [BUGFIX] gQUIC proof generation: allocate buffer big enough for
signature (issue #173).
- [BUGFIX] Make library thread-safe: drop use of global variables
(issue #133, issue #167).
- [BUGFIX] Deactivate only *recent* HQ frame, not any HQ frame.
- [BUGFIX] gQUIC server: associate compressed cert with SSL_CTX,
instead of keeping them in a separate hash, potentially leading
to mismatches.
- [BUGFIX] Stream data discard infinite loop: break on FIN.
- cmake: add install target via -DCMAKE_INSTALL_PREFIX (PR #171).
- Support randomized packet number to begin a connection.
- Mini and full IETF connection size optimization.
- http_client: specify HTTP priorities based on stream conditions.

fecdd104 03-Oct-2020 Victor Stewart <v@nametag.social>

GSO-Friendly Packet Memory (#175)

b62ec17f 29-Sep-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.21.0

- [FEATURE] QUIC and HTTP/3 Internet Draft 31 support.
- [API] Let user generate Souce Connection IDs.
- [FEATURE] Allow building lsquic as shared library.
- [OPTIMIZATION] Receive history: use a single contiguous memory
block for everything.
- Deprecate QUIC versions ID-27 and ID-30.

fcd21c67 25-Sep-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.20.2

- [BUGFIX] Memory leak: free pushed promise when refcnt is zero.
- [BUGFIX] Memory leak in IETF full conn dtor: cleanup closed IDs sets.

cd35ff02 23-Sep-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.20.1

- [BUGFIX] Typo in new "validate peer addr by DCID" code. It is
a benign bug (works either way), but better to fix it.
- Simplify Stream Priority Iterator (SPI).
- Minor documentation updates.

b1a7c3f9 16-Sep-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.20.0

- [FEATURE] QUIC and HTTP/3 Internet Draft 30 support.
- [FEATURE] Unreliable Datagram Extension support.
- [FEATURE] Adaptive congestion controller.
- [BUGFIX] Do not send MAX_STREAM_DATA frames on crypto streams.
- [BUGFIX] Fail with CRYPTO_BUFFER_EXCEEDED when too much CRYPTO
data comes in.
- [BUFFIX] Spin bit is now strictly per path; value is reset on
DCID change.
- [BUGFIX] Check that max value of max_streams_uni and
max_streams_bidi TPs is 2^60.
- [BUGFIX] Close IETF mini conn immediately if crypto session
cannot be initialized.
- Deprecate ID-28 (no browser uses it): it's no longer in the
default versions list.
- New programs duck_server and duck_client that implement the
experimental siduck-00 protocol. They quack!
- IETF crypto streams: don't limit ourselves from sending.
- Command-line programs: turn off QL loss bits if -G is used, as
Wireshark cannot decrypt QUIC packets when this extension is used.
- Turn all h3 framing unit tests back on.
- Fix malo initialization when compiled in no-pool mode.

c3c69ba3 09-Sep-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.10 -- Fix Windows and MacOS builds

2f2f4363 08-Sep-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.9

- [FEATURE] Add lsquic_stream_pwritev(). This function allows one to
reduce the number of system calls required to read a file from disk
by using lsquic_stream_pwritev() together with preadv(2).
- [BUGFIX] When stream is reset, it is writeable -- let user collect
the error.
- [BUGFIX] Calculate correct conn flow control if reading ends early.
- [BUGFIX] Remove stream from read and write queues on internal
shutdown. This is a regression introduced in 2.19.7.
- [BUGFIX] Swapped arguments in IETF RESET_FRAME generation.
- Turn off mini conn history when compiling with Visual Studio; this
allows the project to compile on Windows again.
- http_client: Add -3 flag to stop reading from streams early; code
cleanup.
- Don't use -Werror.

49f1f4f6 02-Sep-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.8

- [FEATURE] Update the timestamp extension to latest version.
- [FEATURE] Cope with appearance of ECN blackholes.
- [OPTIMIZATION] return packno offset and size when header is generated.
- [BUGFIX] ignore old ACK frames in mini conns.
- [BUGFIX] Mark initial server path as initialized.
- [BUGFIX] Do not merge ACK if ECN counts do not match.
- Turn incoming packet number history in mini conn back on.
- Record mini conn event history again when compiled in debug mode.
- IETF mini conn: log when ACK is queued.
- Clean up and refactor code in several places.

792df052 27-Aug-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Fix tutorial deficiencies pointed out to me by @lslisa (#146)

03fef29b 26-Aug-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.7

- Handle ECT-CE event: issue a loss event.
- Log the fact that we ignore SETTINGS_MAX_HEADER_LIST_SIZE.
- Use Max Push ID in GOAWAY frame to cancel promises.
- Add support for HTTP/3 CANCEL_PUSH frame.
- lsquic_stream_is_pushed: streams without headers are never pushed.
- [BUGFIX] Regression in lsquic_stream_shutdown_internal: now it shuts down.
- Improve logic whether to generate CONNECTION_CLOSE.

36fcb9aa 21-Aug-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Finish LSQUIC Tutorial

93e1e886 21-Aug-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.6

- Don't process incoming ECN marks if ECN is not enabled.
- Schedule ACK when incoming packet is marked with CE.

5488f41e 11-Aug-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.5

- [BUGFIX] Generate frame record when moving an ACK from one buffered
packet to another.

3a537672 06-Aug-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.4

- [BUGFIX] Do not return an oversize MTU probe to connection twice.
- [FEATURE] Delayed Acks updated to latest draft. Still experimental.
- Minor code cleanup in IETF full connection.

d39df4b6 04-Aug-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.3

- [BUGFIX] Regression in 2.19.1 that breaks Q050

244e8c6f 31-Jul-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.2

- [BUGFIX] Do not reduce PLPMTU size by network overhead.
- [BUGFIX] Windows build.

ef80a65f 29-Jul-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.1 -- fix crash in IETF client (DPLPMTUD regression)

b8fa6195 29-Jul-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.19.0

- [FEATURE] DPLPMTUD support. IETF connections now search for the
maximum packet size, improving throughput.
- [DEBUG] Record event in stream history when on_close() is called
in dtor.

b329a00e 23-Jul-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.18.2

- [BUGFIX] Send prediction: lone path challenges do not get squeezed out
- Fix crash in http_client: now -K and -B can be used simultaneously

692a9102 14-Jul-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.18.1

- [FEATURE] Implement the "QUIC bit grease" extension.
- [BUGFIX] Selecting CID used for logging on client.
- [BUGFIX] Header protection assertion.
- [BUGFIX] Server: enable SSL key logging when cert lookup callback
is not set.
- Remove some dead code.

7483dee0 07-Jul-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.18.0

- [API] Rename "0-RTT" to "session resumption." In IETF QUIC, "0-RTT"
always refers to early data, meaning a request that the server can
reply to in the very first return flight. A more appropriate name
for what we support on the client site is "session resumption," which
is standard TLS terminology. Later, when we add support for 0-RTT
(early data), we can use the 0-RTT terminology again, this time in
proper context.
- [BUGFIX] Do not set certificate callback if ea_lookup_cert is NULL.
- [BUGFIX] Make connection tickable when it's marked as closed.
- [BUGFIX] Fail certificate lookup if SNI is not present in HTTP mode.
- Several documentation fixes and improvements.
- Minor code cleanup.

da99665b 24-Jun-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.17.2

- [BUGFIX] Infinite loop in stream: advance read offset when discarding data.
- [OPTIMIZATION] Header protection: only initialize cipher once.
- [OPTIMIZATION] Batch header protection application.

e957eb06 18-Jun-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.17.1: fix regression in 2.17.0

4051ae3a 18-Jun-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.17.0

- [FEATURE] QUIC and HTTP/3 Internet Draft 29 support.
- [BUGFIX] Check that scheduled packets are also sendable when
calculating a connection's "tickable" property.
- [BUGFIX] Don't count scheduled packets as in-flight when pacer is
checked on tick.
- gQUIC: delay calling on_new for pushed stream until headers are
available.
- Allow nested calls to lsquic_engine_connect().

307ca7fe 16-Jun-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.16.3

- [OPTIMIZATION] Stash up to two reordered packets in IETF mini conn
instead of dropping them.
- [BUGFIX] Crash: check decrypt context before using it. This regression
was introduced in 2.16.2.

f913a297 12-Jun-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.16.2

- [BUGFIX] ID-28: do not use TLS middlebox compatibility mode in
ClientHello. This change requires using a newer version of BoringSSL.
- [BUGFIX] Free connections in Advisory Tick Time Queue in engine dtor.
- [BUGFIX] IETF QUIC client: narrow migration check to a single path.
- [BUGFIX] NULL dereference: set function pointers for alarm for path
challenges 2 and 3.
- [BUGFIX] HTTP/3 headers may be followed immediately by trailers.
- [BUGFIX] Log messages when SCID changes.

8ae5ecb4 09-Jun-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.16.1

- [FEATURE] Use "no-progress timeout" after which connection is closed.
- [BUGFIX] Select new SCID when current SCID is retired.
- [BUGFIX] Don't warn about dropped Initial packet sequence gaps during
mini/full handoff.
- [BUGFIX] Send correct conn error when HTTP/3 frame is truncated.
- [BUGFIX] Mini conn: consider amplification when deciding to return
TICK_SEND.
- [BUGFIX] Don't double-count tag length in amplification logic.
- [BUGFIX] Don't squeeze out lone path challenges.
- [BUGFIX] Log messages dealing with scheduled packet queue squeezing.
- [BUGFIX] don't wipe current path if no path challenge responses
come back.
- [BUGFIX] When path is reset, don't lose path_id which is used for
logging.
- Downgrade flow control violations to info log level from warnings.
- Fix connection cap extra check, avoid checks in nested calls.
- Fix some unit tests when extra checks are enabled.
- Use ls-hpack 2.2.1.
- Turn off unconditional extra checks for IETF clients.
- Extra checks: don't verify sent size of hello packets. Client
changes DCID length and this check will fail.

6bca16f0 03-Jun-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Update version to 2.16.0

fb3e20e0 03-Jun-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Fix Windows support

fb73393f 27-May-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.15.0

- [FEATURE] QUIC and HTTP/3 Internet Draft 28 support.
- [BUGFIX] Ignore Retry packets after other packets are decrypted
successfully.
- [BUGFIX] Transport parameter decoding: CID no longer has 4-byte
length minimum.
- http_client: fix and optimize lsxpack_header allocator.
- Drop support for Internet Draft 25.

4d221313 20-May-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Update version to 2.14.8

9a690580 17-May-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Rename test/unittests to tests/ and test/ to bin/

b78e44ee 13-May-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.14.7

- [BUGFIX] ALPN-to-version mapping: do not skip h3-Q050.
- [BUGFIX] Frame reader: skip headers if target stream is closed.

b55a5117 06-May-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.14.6

- [BUGFIX] Fix amplification mitigation in 0-RTT case.
- [BUGFIX] IETF mini connection should not tickable if cannot send
a packet due to amplification.
- [BUGFIX] Fail if active_connection_id_limit TP is smaller than 2.
- [BUGFIX] Qlog server certificates for IETF QUIC connections.
- [BUGFIX] Uninitialized struct padding usage in tokgen (benign).
- [BUGFIX] Incorrect argument to shi_lookup() (benign).

72585dc9 29-Apr-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.14.5

- [BUGFIX] In coalesced datagram, ignore packets whose CID does not match.
- [BUGFIX] Frame reader: skip headers if target stream is not found.
- [BUGFIX] Log message in QPACK decoder handler.

1c105cf2 24-Apr-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.14.4

- [BUGFIX] Heed es_rw_once for pushed HTTP/3 streams.
- [BUGFIX] IETF client: set correct flags on bidirectional streams.
- [BUGFIX] Generate Cancel Stream QPACK instructions for abandoned
streams.
- [BUGFIX] Do not call header callbacks after stream is closed.
- Use ls-qpack 2.1.1

08c45823 15-Apr-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.14.3

- [BUGFIX] gQUIC: pass correct stream to hsi_create_header_set() callback.
- [BUGFIX] Use ls-hpack 2.1.1
- Improve stream code readability.
- Use ls-qpack 2.0.5

7ae4a10d 08-Apr-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.14.2

- [BUGFIX] Use ls-qpack 2.0.4
- [BUGFIX] Honor max packet size on the client and when path changes.
- http_server: fix prepare_decode() function.

77a28812 07-Apr-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.14.1

- [BUGFIX] Place connections on tickable queue when sending is reenabled.
- [BUGFIX] A connection is tickable if it has unsent packets.
- [BUGFIX] Heed peer's max_packet_size transport parameter.

55613f44 31-Mar-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.14.0

- [API] Use lsxpack_header structure to send HTTP headers.
- [OPTIMIZATION] nocopy's readable_bytes() function.
- http_server: fix typo in error message
- Use ls-hpack 2.1.0.
- Use ls-qpack 2.0.0.

a686ef2a 24-Mar-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.13.3

- [BUGFIX] ACK ping-pong: TIMESTAMP frame is not to be acked.

992bbcdb 13-Mar-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.13.2

- [BUGFIX] Use of new lsxpack_header API's hsi_prepare_decode().

ea822d0d 12-Mar-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.13.1 - fix a few minor issues flagged by Coverity

a5fa05f9 12-Mar-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.13.0

- [API] Use lsxpack_header structure to process incoming headers.
- [BUGFIX] Fix assertion when zero-padding Initial packet.
- [BUGFIX] Use idle timeout before we learn of peer's value.
- Use ls-hpack 2.0.0 -- has lsxpack_header changes.
- Use ls-qpack 0.14.0 -- new, common with ls-hpack, XXH seed (not used yet).
- Code cleanup: prefix exported functions with "lsquic_".

aedecb45 02-Mar-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Add tutorial.rst -- forgotten in the previous commit

afe3d363 02-Mar-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.12.0

- [FEATURE] QUIC timestamps extension.
- [API] New: ea_alpn that is used when not in HTTP mode.
- [BUGFIX] SNI is mandatory only for HTTP/3 and gQUIC.
- [BUGFIX] Benign double-free -- issue #110.
- [BUGFIX] Printing of transport parameters.

abc972da 24-Feb-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.11.1: fix clang compilation

bc520ef7 24-Feb-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Release 2.11.0

- [FEATURE] QUIC and HTTP/3 Internet Draft 27 support.
- [FEATURE] Add experimental delayed ACKs extension.
- Drop support for Internet Draft 24.
- Code cleanup.

feca77f5 22-Feb-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Add experimental support for delayed ACKs extension

0bd32030 21-Feb-2020 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Switch to readthedocs.org for hosting documentation

Add API reference.


_config.yml
apiref.rst
conf.py
gettingstarted.rst
html/annotated.html
html/arrowdown.png
html/arrowright.png
html/bc_s.png
html/bdwn.png
html/classes.html
html/closed.png
html/dir_d44c64559bbebec7f509842c48db8b23.html
html/doc.png
html/doxygen.css
html/doxygen.png
html/dynsections.js
html/files.html
html/folderclosed.png
html/folderopen.png
html/functions.html
html/functions_vars.html
html/globals.html
html/globals_defs.html
html/globals_enum.html
html/globals_eval.html
html/globals_func.html
html/globals_type.html
html/graph_legend.html
html/graph_legend.md5
html/graph_legend.png
html/index.html
html/jquery.js
html/lsquic_8h.html
html/lsquic_8h__incl.map
html/lsquic_8h__incl.md5
html/lsquic_8h__incl.png
html/lsquic_8h_source.html
html/lsquic__types_8h.html
html/lsquic__types_8h__dep__incl.map
html/lsquic__types_8h__dep__incl.md5
html/lsquic__types_8h__dep__incl.png
html/lsquic__types_8h__incl.map
html/lsquic__types_8h__incl.md5
html/lsquic__types_8h__incl.png
html/lsquic__types_8h_source.html
html/nav_f.png
html/nav_g.png
html/nav_h.png
html/open.png
html/search/all_0.html
html/search/all_0.js
html/search/all_1.html
html/search/all_1.js
html/search/all_2.html
html/search/all_2.js
html/search/classes_0.html
html/search/classes_0.js
html/search/close.png
html/search/defines_0.html
html/search/defines_0.js
html/search/enums_0.html
html/search/enums_0.js
html/search/enumvalues_0.html
html/search/enumvalues_0.js
html/search/files_0.html
html/search/files_0.js
html/search/functions_0.html
html/search/functions_0.js
html/search/mag_sel.png
html/search/nomatches.html
html/search/search.css
html/search/search.js
html/search/search_l.png
html/search/search_m.png
html/search/search_r.png
html/search/searchdata.js
html/search/typedefs_0.html
html/search/typedefs_0.js
html/search/variables_0.html
html/search/variables_0.js
html/search/variables_1.html
html/search/variables_1.js
html/search/variables_2.html
html/search/variables_2.js
html/splitbar.png
html/structlsquic__engine__api.html
html/structlsquic__engine__api__coll__graph.map
html/structlsquic__engine__api__coll__graph.md5
html/structlsquic__engine__api__coll__graph.png
html/structlsquic__engine__settings.html
html/structlsquic__http__header.html
html/structlsquic__http__headers.html
html/structlsquic__http__headers__coll__graph.map
html/structlsquic__http__headers__coll__graph.md5
html/structlsquic__http__headers__coll__graph.png
html/structlsquic__logger__if.html
html/structlsquic__out__spec.html
html/structlsquic__packout__mem__if.html
html/structlsquic__reader.html
html/structlsquic__stream__if.html
html/sync_off.png
html/sync_on.png
html/tab_a.png
html/tab_b.png
html/tab_h.png
html/tab_s.png
html/tabs.css
index.html
index.rst
c51ce338 31-Oct-2017 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Latest changes

- [API Change] Sendfile-like functionality is gone. The stream no
longer opens files and deals with file descriptors. (Among other
things, this makes the code more portable.) Three writing functions
are provided:

lsquic_stream_write
lsquic_stream_writev
lsquic_stream_writef (NEW)

lsquic_stream_writef() is given an abstract reader that has function
pointers for size() and read() functions which the user can implement.
This is the most flexible way. lsquic_stream_write() and
lsquic_stream_writev() are now both implemented as wrappers around
lsquic_stream_writef().

- [OPTIMIZATION] When writing to stream, be it within or without the
on_write() callback, place data directly into packet buffer,
bypassing auxiliary data structures. This reduces amount of memory
required, for the amount of data that can be written is limited
by the congestion window.

To support writes outside the on_write() callback, we keep N
outgoing packet buffers per connection which can be written to
by any stream. One half of these are reserved for the highest
priority stream(s), the other half for all other streams. This way,
low-priority streams cannot write instead of high-priority streams
and, on the other hand, low-priority streams get a chance to send
their packets out.

The algorithm is as follows:

- When user writes to stream outside of the callback:
- If this is the highest priority stream, place it onto the
reserved N/2 queue or fail.
(The actual size of this queue is dynamic -- MAX(N/2, CWND) --
rather than N/2, allowing high-priority streams to write as
much as can be sent.)
- If the stream is not the highest priority, try to place the
data onto the reserved N/2 queue or fail.
- When tick occurs *and* more packets can be scheduled:
- Transfer packets from the high N/2 queue to the scheduled
queue.
- If more scheduling is allowed:
- Call on_write callbacks for highest-priority streams,
placing resulting packets directly onto the scheduled queue.
- If more scheduling is allowed:
- Transfer packets from the low N/2 queue to the scheduled
queue.
- If more scheduling is allowed:
- Call on_write callbacks for non-highest-priority streams,
placing resulting packets directly onto the scheduled queue

The number N is currently 20, but it could be varied based on
resource usage.

- If stream is created due to incoming headers, make headers readable
from on_new.

- Outgoing packets are no longer marked non-writeable to prevent placing
more than one STREAM frame from the same stream into a single packet.
This property is maintained via code flow and an explicit check.
Packets for stream data are allocated using a special function.

- STREAM frame elision is cheaper, as we only perform it if a reset
stream has outgoing packets referencing it.

- lsquic_packet_out_t is smaller, as stream_rec elements are now
inside a union.

2c6a63be 29-Sep-2017 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Merge branch 'master' of github.com:litespeedtech/lsquic-client


1b97e4af 29-Sep-2017 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Latest changes

- Add support for Q041; drop support for Q040

6d7c4360 29-Sep-2017 LiteSpeed Tech <info@litespeedtech.com>

Rebuild pages

41147c2b 29-Sep-2017 LiteSpeed Tech <info@litespeedtech.com>

Set theme jekyll-theme-slate

fc214ce4 29-Sep-2017 Dmitri Tikhonov <dtikhonov@litespeedtech.com>

Upload doxygen-generated docs

Go to https://litespeedtech.github.io/lsquic-client/ to read them


html/annotated.html
html/arrowdown.png
html/arrowright.png
html/bc_s.png
html/bdwn.png
html/classes.html
html/closed.png
html/dir_d44c64559bbebec7f509842c48db8b23.html
html/doc.png
html/doxygen.css
html/doxygen.png
html/dynsections.js
html/files.html
html/folderclosed.png
html/folderopen.png
html/functions.html
html/functions_vars.html
html/globals.html
html/globals_defs.html
html/globals_enum.html
html/globals_eval.html
html/globals_func.html
html/globals_type.html
html/graph_legend.html
html/graph_legend.md5
html/graph_legend.png
html/index.html
html/jquery.js
html/lsquic_8h.html
html/lsquic_8h__incl.map
html/lsquic_8h__incl.md5
html/lsquic_8h__incl.png
html/lsquic_8h_source.html
html/lsquic__types_8h.html
html/lsquic__types_8h__dep__incl.map
html/lsquic__types_8h__dep__incl.md5
html/lsquic__types_8h__dep__incl.png
html/lsquic__types_8h__incl.map
html/lsquic__types_8h__incl.md5
html/lsquic__types_8h__incl.png
html/lsquic__types_8h_source.html
html/nav_f.png
html/nav_g.png
html/nav_h.png
html/open.png
html/search/all_0.html
html/search/all_0.js
html/search/all_1.html
html/search/all_1.js
html/search/all_2.html
html/search/all_2.js
html/search/classes_0.html
html/search/classes_0.js
html/search/close.png
html/search/defines_0.html
html/search/defines_0.js
html/search/enums_0.html
html/search/enums_0.js
html/search/enumvalues_0.html
html/search/enumvalues_0.js
html/search/files_0.html
html/search/files_0.js
html/search/functions_0.html
html/search/functions_0.js
html/search/mag_sel.png
html/search/nomatches.html
html/search/search.css
html/search/search.js
html/search/search_l.png
html/search/search_m.png
html/search/search_r.png
html/search/searchdata.js
html/search/typedefs_0.html
html/search/typedefs_0.js
html/search/variables_0.html
html/search/variables_0.js
html/search/variables_1.html
html/search/variables_1.js
html/splitbar.png
html/structlsquic__engine__api.html
html/structlsquic__engine__api__coll__graph.map
html/structlsquic__engine__api__coll__graph.md5
html/structlsquic__engine__api__coll__graph.png
html/structlsquic__engine__settings.html
html/structlsquic__http__header.html
html/structlsquic__http__headers.html
html/structlsquic__http__headers__coll__graph.map
html/structlsquic__http__headers__coll__graph.md5
html/structlsquic__http__headers__coll__graph.png
html/structlsquic__logger__if.html
html/structlsquic__out__spec.html
html/structlsquic__packout__mem__if.html
html/structlsquic__stream__if.html
html/sync_off.png
html/sync_on.png
html/tab_a.png
html/tab_b.png
html/tab_h.png
html/tab_s.png
html/tabs.css
index.html
37a4b56c 29-Sep-2017 LiteSpeed Tech <info@litespeedtech.com>

index.html for docs