Commit graph

168 commits

Author SHA1 Message Date
Dmitri Tikhonov
cca2541523 Release 2.3.0
- [FEATURE] BBR congestion control is on by default
- [BUGFIX] BBR app-limited logic
- [BUGFIX] Fix uninitialized warnings in IETF
- [BUGFIX] Update ls-qpack to v0.9.14
- [CLEANUP] Code cleanup
2019-09-12 14:39:50 -04:00
LiteSpeed Tech
5392f7a3b0
Release 2.2.0: server included, ID-22 supported (#76) 2019-09-11 11:27:58 -04:00
Dmitri Tikhonov
8cba36d873 Release 1.21.2
- [OPTIMIZATION] HPACK: use history to improve compression performance
2019-05-13 08:51:39 -04:00
Dmitri Tikhonov
d539a7520f Release 1.21.1
- [BUGFIX] If FIN or RST not received, don't delay stream destruction.
- [OPTIMIZATION] Speed up HPACK encoder by using same hash value to
  search static and dynamic tables.
2019-05-06 09:40:59 -04:00
Stephen Petrides
7cf121d70c [BUILD] Add headers for Windows sockets (#72) 2019-04-13 09:27:40 -04:00
Dmitri Tikhonov
7e0bd43e1b Remove unnecessary include file 2019-04-12 14:41:48 -04:00
Dmitri Tikhonov
e5d4bc6d21 Fix a couple of Windows compilation issues 2019-04-12 14:31:08 -04:00
Dmitri Tikhonov
9b4d33c76c Fix a couple of small bugs that crept in in previous commit 2019-04-12 13:44:40 -04:00
Dmitri Tikhonov
55cd0b38b2 Release 1.21.0
[FEATURE] Add qlog log module.
2019-04-12 10:50:45 -04:00
Dmitri Tikhonov
b4069a69ae Add missing semicolon (#70) 2019-04-02 08:07:10 -04:00
Dmitri Tikhonov
842caba2f9 Add useless initialization to fix Windows build (#69) 2019-04-01 17:13:13 -04:00
Dmitri Tikhonov
c7d81ce135 Release 1.20.0
[FEATURE] Add support for Q046.
2019-04-01 11:41:55 -04:00
Dmitri Tikhonov
428530e38e Release 1.19.6
- [BUGFIX] Ensure that Largest Observed does not decrease in ACKs we
  send.  ACK frames placed in packets in buffered queues (optimization
  introduced in 1.17.15) can be preceded by an ACK frame generated later.
  In this case, the older ACK frame should not be sent out, as Chromium-
  based servers flags decrease in the ACK frame's Largest Observed value
  as an error.
2019-03-19 16:23:50 -04:00
Dmitri Tikhonov
03d03a4212 Add useless variable initialization for Windows 2019-03-05 17:08:37 -05:00
Dmitri Tikhonov
8437e4a4f2 Release 1.19.5
- [BUGFIX] Use correct public key from PUBS based on KEXS index.
- [BUGFIX] Check flags before dispatching writes, avoiding assert.
- [BUGFIX] Set :scheme to "https" (instead of "HTTP").
2019-03-05 16:56:02 -05:00
Dmitri Tikhonov
90fe3b255d Release 1.19.4
- [BUGFIX] Check buffer bounds when looking up version in 0-RTT blob.
- [BUGFIX] http_client: don't fetch 0-rtt info if handshake failed.
- Log number of pacer calls at DEBUG, rather than NOTICE, level.
2019-02-25 09:12:20 -05:00
Dmitri Tikhonov
9c4445241e Release 1.19.3
- [BUGFIX] Q044: don't encode packet number in 6 bytes.  Six-byte
  packet number encoding does not exist in Q044.  This fixes a
  regression introduced in '[BUGFIX] Buffered packets can contain
  ACK frames' -- we need to keep QUIC version in mind when selecting
  the longest possible packet number encoding used for the buffered
  packet that carries the ACK.
- [BUGFIX] Do not increase CWND when timeout occurs.
- http_client: support setting handshake timeout on command line.
  Use -o handshake_to=timeout.
- http_client: use -k to connect UDP socket to pick up ICMP errors.
- http_client: allow pathless mode, when only handshake is performed
  without issuing any requests.  This can be done by simply not
  specifying a -p flag on the command line.
2019-02-18 08:40:51 -05:00
Dmitri Tikhonov
3329170846 Release 1.19.2
- [BUGFIX] Begin negotiation with version provided in 0-RTT info.
- [BUGFIX] Version checking in zero_rtt deserialize function.
2019-02-11 12:56:57 -05:00
Dmitri Tikhonov
4c244ff72d Release 1.19.1 -- fix Windows build 2019-02-04 12:57:35 -05:00
Stephen Petrides
2b051cfe62 [BUILDFIX] Replace empty arrays in zero_rtt structs with local var ptrs (#66) 2019-02-04 11:17:42 -05:00
Dmitri Tikhonov
8ca33e0e19 Release 1.19.0
- [FEATURE, API Change] 0-RTT support.  Add function to export 0-RTT
  information; it can be supplied to a subsequent connect() call.
- [FEATURE] Add -0 flag to http_client to exercise 0-RTT support.
- [BUGFIX] Resuscitate the Windows build.
- [BUGFIX] Send HTTP settings (max header list size) if necessary.
- [BUGFIX] Buffered packets can contain ACK frames.
- [BUGFIX] Make packet writeable once all STREAM frames are elided.
- [BUGFIX] Fix potential null dereference when realloc fails.
- cmake: simplify build configuration.
2019-02-04 08:59:11 -05:00
Dmitri Tikhonov
03fb93526e Hush a few MSVC warnings (#65) 2019-02-01 15:16:24 -05:00
Dmitri Tikhonov
5d081270b9 Check return value of malloc (#64)
Introduced in recent PR (2d296031db)
2019-02-01 15:12:02 -05:00
LiteSpeed Tech
9711bfba43
Update Windows build instructions 2019-02-01 02:41:23 -05:00
LiteSpeed Tech
199c01ab93
Update build instructions in the README 2019-02-01 02:24:29 -05:00
Dmitri Tikhonov
b1af35d6c0 Simplify configuration -- use more cmake functions (#62) 2019-02-01 02:12:06 -05:00
LiteSpeed Tech
93b02ebee8
Add AppVeyor badge to README 2019-01-30 22:29:55 -05:00
Dmitri Tikhonov
2d296031db Resuscitate Windows build (#61) 2019-01-30 15:28:35 -05:00
Dmitri Tikhonov
12693a011b Add MacOS to Travis CI; simplify .travis.yml 2019-01-29 01:55:01 -05:00
LiteSpeed Tech
6259599e6e
Add Cirrus CI badge to README 2019-01-28 23:37:37 -05:00
Dmitri Tikhonov
ac022203a4 Add Cirrus CI for FreeBSD 2019-01-28 23:36:11 -05:00
Dmitri Tikhonov
6aba801d42 Release 1.18.0
- [API Change] Can specify clock granularity in engine settings.
- [BUGFIX] Pacer uses fixed clock granularity.  Since the change on
  2018-04-09, it is not necessary to try to approximate the next tick
  time in the pacer: it can use fix clock granularity specified by
  the user.
- [BUGFIX] Do not tick constantly before handshake is done.
- [BUGFIX] Do not exit tick prematurely: reuse packet with ACK.  Even
  if we cannot allocate *more* packets, we could still be able to write
  to one already allocated.
- [BUGFIX] Do not schedule pacer if there are no lost packets.
2019-01-28 15:41:28 -05:00
LiteSpeed Tech
1b3a179789
README: IETF QUIC support is on a branch; add link 2019-01-23 10:01:00 -05:00
Dmitri Tikhonov
4d83f5bd45 Release 1.17.15
- [BUGFIX] http_client: make sure only one read per on_read() callback
  is performed in the header conversion bypass (-B) mode.
- http_client: with -E, assign random priority when stream is created.
- [OPTIMIZATION] On immediate write, place an ACK frame into the first
  buffered packet if an ACK is queued.  This reduces the number of
  standalone ACK packets.
- [OPTIMIZATION] Allow placing more than one STREAM frame from the same
  stream into an outgoing packet.  This change minimizes the number of
  buffered packets required to store several small HTTP messages by
  virtue of allowing more than one STREAM frame from HEADERS stream in
  the same packet.
- [OPTIMIZATION] Flush headers when writing to buffered packets.  This
  causes the headers to be written to the same buffered packet queue,
  thereby improving packet utilization, especially for small HTTP
  messages.
2019-01-21 09:07:02 -05:00
Stephen Petrides
046163b8ab 201901181200 benchmark tool (#58)
[TESTING] Add script for benchmarking with http_client.
2019-01-18 13:42:21 -05:00
Dmitri Tikhonov
19f667fba5 Release 1.17.14
- [FEATURE] http_client can now collect stats: time to connect, TTFB,
  time to download, requests per seconds, and bandwidth.  See -t flag.

- [BUGFIX] http_client: -B, -K, and -r can be used at the same time.

- [BUGFIX] http_client: do not display cert chain before each request.
  Now this is only done once per connection, if the handshake is
  successful and -a option is given.

- [BUGFIX] Do not wait to dispatch on_close() after reading.  If a
  stream is scheduled to be closed after on_read() callback returns,
  close it immediately instead of waiting until the end of the tick.
  If client creates new request from on_close() event, they will be
  processed in the same tick instead of waiting for the next one.

- [BUGFIX] HEADERS stream is critical: always treat it with highest
  priority.
2019-01-16 15:13:59 -05:00
Dmitri Tikhonov
2815666c2e Update header file and changelog: release 1.17.12 2019-01-10 09:27:47 -05:00
Dmitri Tikhonov
6a4060db0e Update HPACK interface 2019-01-10 09:21:17 -05:00
LiteSpeed Tech
a07c3aaa16
Merge pull request #57 from sdpetrides/201901091655-concurrent-streams
Add concurrent streams feature for http_client
2019-01-10 06:58:39 -05:00
Stephen Petrides
f00cde3959 Add concurrent streams feature for http_client 2019-01-09 17:17:38 -05:00
Dmitri Tikhonov
229fce07a3 Release 1.17.11
Fix strict aliasing warning in when compiling with optimizations
2019-01-03 11:48:45 -05:00
Dmitri Tikhonov
f2450c4325 Release 1.17.10
Fix the example program to be able to use parallel connections
again.  (See the -n argument.)
2018-12-27 14:01:17 -05:00
Dmitri Tikhonov
6b58dff0c3 Release 1.17.9
[BUGFIX] Engine: reduce minumum batch size from 256 to 4
2018-12-18 15:23:07 -05:00
Dmitri Tikhonov
a37b0c967c Release 1.17.8
[BUGFIX] Fix compilation on FreeBSD and 32-bit Linux
2018-12-10 22:40:01 -05:00
Dmitri Tikhonov
18237fa49c Release 1.17.7
[BUGFIX] Do not unset PING alarm before ringing expired alarms.  This
prevented PING from ever being sent.
2018-12-03 10:34:57 -05:00
Dmitri Tikhonov
8252b0b935 Release 1.17.6
- Add failsafe: resume sending packets after some time

  The change puts a 1-second limit on the amount of time the engine
  will not send packets after some packets are delayed.  This makes
  the library robust in case the user does not unblock the engine
  explicitly using lsquic_engine_send_unsent_packets() call.

- [BUGFIX] Handle corner cases in send controller when packets are
  a) delayed or b) dropped during repackaging.

- [BUGFIX] Memory leak: destroy buffered packets during controller
  cleanup.
2018-11-29 15:26:49 -05:00
Dmitri Tikhonov
bf2c703721 Release 1.17.3
[BUGFIX] Do not send STOP_WAITING frames when using Q044
2018-11-16 11:32:34 -05:00
Dmitri Tikhonov
feecb11b46 Release 1.17.2
- [BUGFIX] Memory leak in test_frame_rw unit test.
- [BUGFIX] Parsing packets with short IETF header: do not overwrite
  flags.  (Only a problem in unit tests -- benign otherwise.)
2018-10-19 10:39:24 -04:00
Dmitri Tikhonov
db5f69e349 Fix memory leak in test_frame_rw unit test 2018-10-19 10:12:44 -04:00
Dmitri Tikhonov
dee31d5649 Fix bug in parsing packets with short IETF header: do not overwrite flags
This manifested as a memory leak in a unit test.  The regular library code
does not set any pi_flags before parsing the packet, and so this bug is
benign.
2018-10-19 09:43:15 -04:00