CHANGELOG revision 34e9ac5f
12019-10-24
2    - 2.4.10
3    - [BUGFIX] IETF QUIC server: fix uninitialized variable use.
4    - [BUGFIX] make sure TLSv1.3 is not disabled in SSL object.
5    - [BUGFIX] Use issuer name and serial number to cache certs (SKID
6      values are not unique).
7    - [BUGFIX] Always set the idle alarm in IETF connection so that it
8      can time out.
9    - Use ls-qpack v0.10.6, as it silences some warnings.
10
112019-10-21
12    - 2.4.8
13    - [OPTIMIZATION, BUGFIX] Use ls-qpack v0.10.5.
14
152019-10-15
16    - 2.4.7
17    - Add echo client and server to the distibution.
18    - Add MD5 client and server to the distibution.
19    - Fix http_client: check command-line arguments better, prevent crash.
20    - Fix IETF conn: can_write_ack() should only care about APP PNS.
21    - Client: delay stream creation until handshake succeds.
22    - Reset HTTP stream whose write end is closed prematurely.
23    - Fix tickable(): mirror behavior of tick() wrt buffered packets.
24    - Log reason why engine is tickable.
25
262019-10-11
27    - 2.4.6
28    - Minor code cleanup and logging improvements.
29    - Server and client programs: include library version (e.g. 2.4.6)
30      into `server' and `user-agent' headers.
31
322019-10-08
33    - 2.4.5
34    - [OPTIMIZATION]: flush encoder stream only when necessary.
35    - [BUGFIX] Use ls-qpack v0.10.2 for new API -- and for a bug fix.
36    - [BUGFIX] Typo in IETF conn SETTINGS writer.
37    - Use latest BoringSSL.
38
392019-10-08
40    - 2.4.4
41    - [API] Add lsquic_alpn2ver() to aid parsing Alt-Svc header.
42    - [BUGFIX] NULL dereference when H3 frame header would be split.
43    - [BUGFIX] Do not close fixed-size H3 frame prematurely.
44    - [BUGFIX] Allow PING frames in IETF mini conn.
45    - [BUGFIX] Mini conns: don't send any packets after receiving
46      CONNECTION_CLOSE.
47    - [BUGFIX] Client migration: reserve slot for DCID from transport params.
48    - [BUGFIX] Allow max_early_data_size=0 -- early_data might not be there.
49    - [BUGFIX] Use an invalid stream number to reset BPT cache (zero is now a
50      valid stream number).
51    - [SPEC] Use FINAL_SIZE_ERROR when FIN mismatch is detected.
52    - [OPTIMIZATION] Closed connection only gets one chance to send packets.
53    - [OPTIMIZATION] Flush headers stream before packetizing stream data.
54    - [OPTIMIZATION] process QPACK encoder STREAM frames immediately.
55    - Update ls-qpack to v0.10.1.
56
572019-09-30
58    - 2.4.3
59    - Add GQUIC versions to the list of h3 ALPNs for Alt-Svc header.
60      For example, h3-Q043.  Chrome will switch to using this format at
61      some point in the future.
62    - [BUGFIX] Send correct value in max_streams_uni transport param
63    - [SPEC] Abort IETF QUIC connection if max_early_data_size is not set
64      to 0xFFFFFFFF
65
662019-09-23
67    - 2.4.2
68    - [BUGFIX] H3 framing: fix zero-byte write when space is available
69    - [BUGFIX] Don't send STREAM frame when incoming unidirectgional stream
70      is closed
71    - [BUGFIX] Cancel all pending writes by stream reset by a GOAWAY
72    - [BUGFIX] Fix use-after-free in IETF full conn
73    - [OPTIMIZATION] Wait for session tickets for two seconds and then drop
74      SSL object and crypto streams.
75
762019-09-18
77    - 2.4.0
78    - [FEATURE] QUIC and HTTP/3 Internet Draft 23 support
79
802019-09-13
81    - 2.3.1
82    - [BUGFIX] Fix memory leaks
83    - [BUGFIX] Fix unit tests
84
852019-09-12
86    - 2.3.0
87    - [FEATURE] BBR congestion control is on by default
88    - [BUGFIX] BBR app-limited logic
89    - [BUGFIX] Fix uninitialized warnings in IETF
90    - [BUGFIX] Update ls-qpack to v0.9.14
91    - [CLEANUP] Code cleanup
92
932019-09-11
94    - 2.2.0
95    - [FEATURE] Server code is included in the library
96    - [FEATURE] IETF QUIC and HTTP/3 Support (ID-22)
97
982019-05-13
99    - 1.21.2
100    - [OPTIMIZATION] HPACK: use history to improve compression performance
101
1022019-05-06
103    - 1.21.1
104    - [BUGFIX] If FIN or RST not received, don't delay stream destruction.
105    - [OPTIMIZATION] Speed up HPACK encoder by using same hash value to
106      search static and dynamic tables.
107
1082019-04-12
109    - 1.21.0
110    - [FEATURE] Add qlog log module.
111
1122019-04-01
113    - 1.20.0
114    - [FEATURE] Add support for Q046.
115
1162019-03-19
117    - 1.19.6
118    - [BUGFIX] Ensure that Largest Observed does not decrease in ACKs we
119      send.  ACK frames placed in packets in buffered queues (optimization
120      introduced in 1.17.15) can be preceded by an ACK frame generated later.
121      In this case, the older ACK frame should not be sent out, as Chromium-
122      based servers flags decrease in the ACK frame's Largest Observed value
123      as an error.
124
1252019-03-05
126    - 1.19.5
127    - [BUGFIX] Use correct public key from PUBS based on KEXS index.
128    - [BUGFIX] Check flags before dispatching writes, avoiding assert.
129    - [BUGFIX] Set :scheme to "https" (instead of "HTTP").
130
1312019-02-25
132    - 1.19.4
133    - [BUGFIX] Check buffer bounds when looking up version in 0-RTT blob.
134    - [BUGFIX] http_client: don't fetch 0-rtt info if handshake failed.
135    - Log number of pacer calls at DEBUG, rather than NOTICE, level.
136
1372019-02-18
138    - 1.19.3
139    - [BUGFIX] Q044: don't encode packet number in 6 bytes.  Six-byte
140      packet number encoding does not exist in Q044.  This fixes a
141      regression introduced in '[BUGFIX] Buffered packets can contain
142      ACK frames' -- we need to keep QUIC version in mind when selecting
143      the longest possible packet number encoding used for the buffered
144      packet that carries the ACK.
145    - [BUGFIX] Do not increase CWND when timeout occurs.
146    - http_client: support setting handshake timeout on command line.
147      Use -o handshake_to=timeout.
148    - http_client: use -k to connect UDP socket to pick up ICMP errors.
149    - http_client: allow pathless mode, when only handshake is performed
150      without issuing any requests.  This can be done by simply not
151      specifying a -p flag on the command line.
152
1532019-02-11
154    - 1.19.2
155    - [BUGFIX] Begin negotiation with version provided in 0-RTT info.
156    - [BUGFIX] Version checking in zero_rtt deserialize function.
157
1582019-02-04
159    - 1.19.1
160    - [BUGFIX] Fix Windows build.
161
1622019-02-04
163    - 1.19.0
164    - [FEATURE, API Change] 0-RTT support.  Add function to export 0-RTT
165      information; it can be supplied to a subsequent connect() call.
166    - [FEATURE] Add -0 flag to http_client to exercise 0-RTT support.
167    - [BUGFIX] Resuscitate the Windows build.
168    - [BUGFIX] Send HTTP settings (max header list size) if necessary.
169    - [BUGFIX] Buffered packets can contain ACK frames.
170    - [BUGFIX] Make packet writeable once all STREAM frames are elided.
171    - [BUGFIX] Fix potential null dereference when realloc fails.
172    - cmake: simplify build configuration.
173
1742019-01-28
175    - 1.18.0
176    - [API Change] Can specify clock granularity in engine settings.
177    - [BUGFIX] Pacer uses fixed clock granularity.  Since the change on
178      2018-04-09, it is not necessary to try to approximate the next tick
179      time in the pacer: it can use fix clock granularity specified by
180      the user.
181    - [BUGFIX] Do not tick constantly before handshake is done.
182    - [BUGFIX] Do not exit tick prematurely: reuse packet with ACK.  Even
183      if we cannot allocate *more* packets, we could still be able to write
184      to one already allocated.
185    - [BUGFIX] Do not schedule pacer if there are no lost packets.
186
1872019-01-17
188    - 1.17.15
189    - [BUGFIX] http_client: make sure only one read per on_read() callback
190      is performed in the header conversion bypass (-B) mode.
191    - http_client: with -E, assign random priority when stream is created.
192    - [OPTIMIZATION] On immediate write, place an ACK frame into the first
193      buffered packet if an ACK is queued.  This reduces the number of
194      standalone ACK packets.
195    - [OPTIMIZATION] Allow placing more than one STREAM frame from the same
196      stream into an outgoing packet.  This change minimizes the number of
197      buffered packets required to store several small HTTP messages by
198      virtue of allowing more than one STREAM frame from HEADERS stream in
199      the same packet.
200    - [OPTIMIZATION] Flush headers when writing to buffered packets.  This
201      causes the headers to be written to the same buffered packet queue,
202      thereby improving packet utilization, especially for small HTTP
203      messages.
204
2052019-01-16
206    - 1.17.14
207    - [FEATURE] http_client can now collect stats: time to connect, TTFB,
208      time to download, requests per seconds, and bandwidth.  See -t flag.
209    - [BUGFIX] http_client: -B, -K, and -r can be used at the same time.
210    - [BUGFIX] http_client: do not display cert chain before each request.
211      Now this is only done once per connection, if the handshake is
212      successful and -a option is given.
213    - [BUGFIX] Do not wait to dispatch on_close() after reading.  If a
214      stream is scheduled to be closed after on_read() callback returns,
215      close it immediately instead of waiting until the end of the tick.
216      If client creates new request from on_close() event, they will be
217      processed in the same tick instead of waiting for the next one.
218    - [BUGFIX] HEADERS stream is critical: always treat it with highest
219      priority.
220
2212019-01-10
222    - 1.17.12
223    - [FEATURE] http_client can now issue parallel requests in the context
224      of a single connection.  See -w option.
225
2262019-01-03
227    - 1.17.11
228    - Fix strict aliasing warning in optimized compilation.
229
2302018-12-27
231    - 1.17.10
232    - Fix the example program to be able to use parallel connections
233      again.  (See the -n argument.)
234
2352018-12-18
236    - 1.17.9
237    - [BUGFIX] Engine: reduce minimum batch size from 256 to 4
238
2392018-12-10
240    - 1.17.8
241    - [BUGFIX] Fix compilation on FreeBSD and 32-bit Linux
242
2432018-12-03
244    - 1.17.7
245    - [BUGFIX] Do not unset PING alarm before ringing expired alarms.
246      This prevented PING from ever being sent.
247
2482018-11-29
249    - 1.17.6
250    - Add failsafe: resume sending packets after some time
251
252      The change puts a 1-second limit on the amount of time the engine
253      will not send packets after some packets are delayed.  This makes
254      the library robust in case the user does not unblock the engine
255      explicitly using lsquic_engine_send_unsent_packets() call.
256
257    - [BUGFIX] Handle corner cases in send controller when packets are
258      a) delayed or b) dropped during repackaging.
259    - [BUGFIX] Memory leak: destroy buffered packets during controller
260      cleanup.
261
2622018-11-16
263    - 1.17.3
264    - [BUGFIX] Do not send STOP_WAITING frames when using Q044
265
2662018-10-19
267    - 1.17.2
268    - [BUGFIX] Memory leak in test_frame_rw unit test.
269    - [BUGFIX] Parsing packets with short IETF header: do not overwrite
270      flags.  (Only a problem in unit tests -- benign otherwise.)
271
2722018-10-16
273    - 1.17.0
274    - [API Change] Packet out Memory Interface (PMI) update:
275      - Split PMI pool return into pmi_release and pmi_return
276      - PMI callbacks take peer_ctx and is_ipv6 arguments
277    - [BUGFIX] Fix use-after-free when certificate is updated
278    - Silence gcc warning in optimized mode by performing useless
279      initialization
280    - cmake: use the standard variable CMAKE_BUILD_TYPE instead of
281      DEVEL_MODE
282
2832018-10-03
284    - 1.16.0
285    - [API Change] Add lsquic_conn_n_avail_streams()
286    - [BUGFIX] only dispatch crypto stream read events if WANT_READ is on
287
2882018-09-27
289    - 1.15.0
290    - [API Change] Add LSCONN_ST_PEER_GOING_AWAY to the list of conn statuses
291    - [BUGFIX] free uncompressed headers correctly when error occurs
292
2932018-09-12
294    - 1.14.3
295    - [BUGFIX] Do not abort conn on STREAM frame for a reset stream
296    - [BUGFIX] Drop packets that would become empty due to repackaging.
297      Packets on the scheduled queue may be marked for repackaging.
298      Frames such as ACK frame that are never resent are removed from
299      repackaged packets.  We must check that the newly repackaged packet
300      would not be empty.  If it would be, it is destroyed instead and
301      the next packet on the scheduled queue is used.  Note that this
302      change only affects the logic to return the next packet to be sent.
303      Lost packets that are being rescheduled are already processed in
304      this fashion.
305    - Byteswap CID before logging it - this makes it match Chrome CIDs.
306      (Except Q035, which is the last little-endian GQUIC version we
307      support.)
308
3092018-09-06
310    - 1.14.0
311    - [API Change] Disable packet sending if full batch cannot be sent
312      If lsquic_packets_out_f() cannot send the whole batch, disable
313      packet sending until lsquic_engine_send_unsent_packets() is called.
314    - [BUGFIX] Handle case when STREAM frame does not fit.
315    - [BUGFIX] Always allow incoming STREAM frames to overlap.  Peers
316      may send overlapping STREAM frames even if using versions older
317      than Q043.
318    - Custom header set fixes:
319      - set "FIN reached" flag when custom header with FIN flag is
320        claimed;
321      - do not return custom header set for a reset stream.
322
3232018-08-27
324
325    - 1.13.0
326    - [FEATURE, API Change] Add ability to create custom header set
327      objects via callbacks.  This avoids reading and re-parsing
328      headers from the stream.
329
3302018-08-27
331
332    - 1.12.4
333    - Fix memory leak when engine is destroyed
334    - Fix memory leak in http_client
335    - Fix gcc warning in unit tests
336
3372018-08-22
338
339    - 1.12.3
340    - [BUGFIX] Fix duplicate STREAM frame detection
341
3422018-08-20
343
344    - 1.12.2
345    - [BUGFIX] Update count of scheduled bytes when adjusting size of
346      an already-scheduled packet.
347    - Emit info instead of warning messages when stream is used in
348      unexpected ways.
349
3502018-08-17
351
352    - 1.12.0
353    - [FEATURE, API Change] Add support for certificate verification
354
3552018-08-16
356
357    - 1.11.1
358    - [BUGFIX] Fix STOP_WAITING frame processing in the new Q044 code
359
3602018-08-15
361
362    - 1.11.0
363    - [FEATURE] Add support for Q044.
364
3652018-08-09
366
367    - 1.10.2
368    - [BUGFIX] Don't go over limit when creating delayed streams
369
3702018-07-10
371
372    - 1.10.1
373    - [BUGFIX]  process connections after each batch of packets is read
374      This avoids a problem of accumulating a very large list of packets
375      (possible when speeds are high and socket's receive buffer is large)
376      and processing it all at once.
377    - If glibc is older than 2.17, link with rt.  This is necessary for
378      clock_getres(2).
379    - Add version macros to lsquic.h; remove unnecessary includes.
380
3812018-06-13
382
383    - [BUGFIX] allow multiple parallel connections by default
384
385      Use the original method of tracking connections by CIDs by default.
386      If zero-sized CID support is turned on, connections are tracked by
387      the address.  A new connection is not created if another connection
388      is using the same network address
389
3902018-05-30
391
392    - [FEATURE, API CHANGE] Support zero-sized CIDs in received packets
393
3942018-05-24
395
396    - Close connection properly when packet encryption fails
397
3982018-05-23
399
400    - [BUGFIX] Do not produce packet sequence gaps due to delayed packets
401
4022018-05-21
403
404    - [API Change] Add optional callback to call when handshake is done
405    - [API Change, BUGFIX] After send failure, wait until transport available
406
4072018-05-18
408
409    - [API] Expose useful lsquic_ver2str[] in lsquic.h
410    - [BUGFIX] Do not produce packet sequence gaps due to STREAM frame elision
411    - Improve checks of number of incoming streams limit and associated
412      error reporting.
413    - [BUGFIX] Command-line option `-6` now works correctly.
414
4152018-05-16
416
417    - [FEATURE] DNS resolution
418    - [BUGFIX] Frame insertion mis-ID as overlap instead of dup
419    - http_client: fix priority range generated by -E flag
420
4212018-05-09
422
423    - [FEATURE] Add support for Q043.
424    - Support for versions Q037, Q038, Q041, and Q042 has been removed.
425    - Fix typo in debug message.
426    - Fix code indentation.
427    - Add /* fallthru */ comment to stop newer gcc from complaining.
428    - Logger: fix compilation of optimized Windows build.
429
4302018-05-04
431
432    - [FEATURE] Add support for Q042.
433    - Remove comment: MSPC is obsolete (no code changes)
434    - Prog: use lsquic_str2ver() when processing -o version flag
435    - Remove unused CTIM and SRBF transport parameters
436    - Disable QUIC versions Q037 and Q038 by default
437    - Fix Windows compilation by including compat header file in
438      lshpack.c
439    - Address warnings produced by newer versions of gcc
440    - Future-proof: turn off -Werror
441
4422018-05-02
443
444    - [BUGFIX] Make lsquic_conn_quic_version() available
445    - Switch to using ls-hpack 1.1
446    - [BUGFIX] Do not ignore stream resets after receiving FIN
447
4482018-04-27
449
450    - HPACK: do not allow header block to end with table size update.
451
4522018-04-25
453
454    - [BUGFIX] Do not create gap in sent packnos when squeezing delayed
455      packets.
456    - [BUGFIX] sendctl checks for all unacked bytes, not just retx bytes.
457    - [BUGFIX] connections with blocked scheduled packets are not tickable
458      for sending.
459    - [BUGFIX] Conn is tickable if it wants to send a connection-level
460      frame.
461
4622018-04-23
463
464    - Fix busy loop: tickable must make progress.  When connection is
465      self-reporting as tickable, it must make progress when ticked.  There
466      are two issues:
467        1. If there are buffered packets, the connection is only tickable if
468           they can be sent out.
469        2. A connection is tickable if there are streams on the servicing
470           queue.  When the tick occurs, we must service the stream
471           independent of whether any packets are sent.
472    - Fix assertion in pacer which can be incorrect under some
473      conditions.
474    - cmake: do not turn on address sanitizer if in Travis.
475
4762018-04-20
477
478    - [BUGFIX] Fix bug in lsquic_engine_connect() exposed by yesterday's
479      changes.
480
4812018-04-19
482
483    - [BUGFIX] Add connection to Tickable Queue on stream write
484    - cmake: use MSVC variable instead of trying to detect
485    - engine: improve connection incref/decref logging
486    - stream: don't ignore errors that may occur on triggered flush
487    - connection: remove obsolete method
488    - engine: indicate connection as tickable if previous call went
489      over threshold
490
4912018-04-09
492
493    [API Change, OPTIMIZATION] Only process conns that need to be processed
494
495    The API is simplified: do not expose the user code to several
496    queues.  A "connection queue" is now an internal concept.
497    The user processes connections using the single function
498    lsquic_engine_process_conns().  When this function is called,
499    only those connections are processed that need to be processed.
500    A connection needs to be processed when:
501
502        1. New incoming packets have been fed to the connection.
503        2. User wants to read from a stream that is readable.
504        3. User wants to write to a stream that is writeable.
505        4. There are buffered packets that can be sent out.  (This
506           means that the user wrote to a stream outside of the
507           lsquic library callback.)
508        5. A control frame (such as BLOCKED) needs to be sent out.
509        6. A stream needs to be serviced or delayed stream needs to
510           be created.
511        7. An alarm rings.
512        8. Pacer timer expires.
513
514    To achieve this, the library places the connections into two
515    priority queues (min heaps):
516
517        1. Tickable Queue; and
518        2. Advisory Tick Time queue (ATTQ).
519
520    Each time lsquic_engine_process_conns() is called, the Tickable
521    Queue is emptied.  After the connections have been ticked, they are
522    queried again: if a connection is not being closed, it is placed
523    either in the Tickable Queue if it is ready to be ticked again or
524    it is placed in the Advisory Tick Time Queue.  It is assumed that
525    a connection always has at least one timer set (the idle alarm).
526
527    The connections in the Tickable Queue are arranged in the least
528    recently ticked order.  This lets connections that have been quiet
529    longer to get their packets scheduled first.
530
531    This change means that the library no longer needs to be ticked
532    periodically.  The user code can query the library when is the
533    next tick event and schedule it exactly.  When connections are
534    processed, only the tickable connections are processed, not *all*
535    the connections.  When there are no tick events, it means that no
536    timer event is necessary -- only the file descriptor READ event
537    is active.
538
539    The following are improvements and simplifications that have
540    been triggered:
541
542        - Queue of connections with incoming packets is gone.
543        - "Pending Read/Write Events" Queue is gone (along with its
544          history and progress checks).  This queue has become the
545          Tickable Queue.
546        - The connection hash no longer needs to track the connection
547          insertion order.
548
5492018-04-02
550
551    - [FEATURE] Windows support
552
553    - Reduce stack use -- outgoing packet batch is now allocated on the heap.
554
5552018-03-09
556
557    - [OPTIMIZATION] Merge series of ACKs if possible
558
559      Parsed single-range ACK frames (that is the majority of frames) are
560      saved in the connection and their processing is deferred until the
561      connection is ticked.  If several ACKs come in a series between
562      adjacent ticks, we check whether the latest ACK is a strict superset
563      of the saved ACK.  If it is, the older ACK is not processed.
564
565      If ACK frames can be merged, they are merged and only one of them is
566      either processed or saved.
567
568    - [OPTIMIZATION] Speed up ACK verification by simplifying send history.
569
570      Never generate a gap in the sent packet number sequence.  This reduces
571      the send history to a single number instead of potentially a series of
572      packet ranges and thereby speeds up ACK verification.
573
574      By default, detecting a gap in the send history is not fatal: only a
575      single warning is generated per connection.  The connection can continue
576      to operate even if the ACK verification code is not able to detect some
577      inconsistencies.
578
579    - [OPTIMIZATION] Rearrange the lsquic_send_ctl struct
580
581      The first part of struct lsquic_send_ctl now consists of members that
582      are used in lsquic_send_ctl_got_ack() (in the absense of packet loss,
583      which is the normal case).  To speed up reads and writes, we no longer
584      try to save space by using 8- and 16-bit integers.  Use regular integer
585      width for everything.
586
587    - [OPTIMIZATION] Cache size of sent packet.
588
589    - [OPTIMIZATION] Keep track of the largest ACKed in packet_out
590
591      Instead of parsing our own ACK frames when packet has been acked,
592      use the value saved in the packet_out structure when the ACK frame
593      was generated.
594
595    - [OPTIMIZATION] Take RTT sampling conditional out of ACK loop
596
597    - [OPTIMIZATION] ACK processing: only call clock_gettime() if needed
598
599    - [OPTIMIZATION] Several code-level optimizations to ACK processing.
600
601    - Fix: http_client: fix -I flag; switch assert() to abort()
602
6032018-02-26
604    - [API Change] lsquic_engine_connect() returns pointer to the connection
605      object.
606    - [API Change] Add lsquic_conn_get_engine() to get engine object from
607      connection object.
608    - [API Change] Add lsquic_conn_status() to query connection status.
609    - [API Change] Add add lsquic_conn_set_ctx().
610    - [API Change] Add new timestamp format, e.g. 2017-03-21 13:43:46.671345
611    - [OPTIMIZATION] Process handshake STREAM frames as soon as packet
612      arrives.
613    - [OPTIMIZATION] Do not compile expensive send controller sanity check
614      by default.
615    - [OPTIMIZATION] Add fast path to gquic_be_gen_reg_pkt_header.
616    - [OPTIMIZATION] Only make squeeze function call if necessary.
617    - [OPTIMIZATION] Speed up Q039 ACK frame parsing.
618    - [OPTIMIZATION] Fit most used elements of packet_out into first 64 bytes.
619    - [OPTIMIZATION] Keep track of scheduled bytes instead of calculating.
620    - [OPTIMIZATION] Prefetch next unacked packet when processing ACK.
621    - [OPTIMIZATION] Leverage fact that ACK ranges and unacked list are.
622      ordered.
623    - [OPTIMIZATION] Reduce function pointer use for STREAM frame generation
624    - Fix: reset incoming streams that arrive after we send GOAWAY.
625    - Fix: delay client on_new_conn() call until connection is fully set up.
626    - Fixes to buffered packets logic: splitting, STREAM frame elision.
627    - Fix: do not dispatch on_write callback if no packets are available.
628    - Fix WINDOW_UPDATE send and resend logic.
629    - Fix STREAM frame extension code.
630    - Fix: Drop unflushed data when stream is reset.
631    - Switch to tracking CWND using bytes rather than packets.
632    - Fix TCP friendly adjustment in cubic.
633    - Fix: do not generate invalid STOP_WAITING frames during high packet
634      loss.
635    - Pacer fixes.
636
6372017-12-18
638
639    - Fix: better follow cubic curve after idle period
640    - Fix: add missing parts to outgoing packet splitting code
641    - Fix: compilation using gcc 4.8.4
642
6432017-10-31
644
645    - Add APIs.txt -- describes LSQUIC APIs
646
6472017-10-31
648
649    - [API Change] Sendfile-like functionality is gone.  The stream no
650      longer opens files and deals with file descriptors.  (Among other
651      things, this makes the code more portable.)  Three writing functions
652      are provided:
653
654        lsquic_stream_write
655        lsquic_stream_writev
656        lsquic_stream_writef    (NEW)
657
658      lsquic_stream_writef() is given an abstract reader that has function
659      pointers for size() and read() functions which the user can implement.
660      This is the most flexible way.  lsquic_stream_write() and
661      lsquic_stream_writev() are now both implemented as wrappers around
662      lsquic_stream_writef().
663
664    - [OPTIMIZATION] When writing to stream, be it within or without the
665      on_write() callback, place data directly into packet buffer,
666      bypassing auxiliary data structures.  This reduces amount of memory
667      required, for the amount of data that can be written is limited
668      by the congestion window.
669
670      To support writes outside the on_write() callback, we keep N
671      outgoing packet buffers per connection which can be written to
672      by any stream.  One half of these are reserved for the highest
673      priority stream(s), the other half for all other streams.  This way,
674      low-priority streams cannot write instead of high-priority streams
675      and, on the other hand, low-priority streams get a chance to send
676      their packets out.
677
678      The algorithm is as follows:
679
680      - When user writes to stream outside of the callback:
681        - If this is the highest priority stream, place it onto the
682          reserved N/2 queue or fail.
683            (The actual size of this queue is dynamic -- MAX(N/2, CWND) --
684             rather than N/2, allowing high-priority streams to write as
685             much as can be sent.)
686        - If the stream is not the highest priority, try to place the
687          data onto the reserved N/2 queue or fail.
688      - When tick occurs *and* more packets can be scheduled:
689        - Transfer packets from the high N/2 queue to the scheduled
690          queue.
691        - If more scheduling is allowed:
692          - Call on_write callbacks for highest-priority streams,
693            placing resulting packets directly onto the scheduled queue.
694        - If more scheduling is allowed:
695          - Transfer packets from the low N/2 queue to the scheduled
696            queue.
697        - If more scheduling is allowed:
698          - Call on_write callbacks for non-highest-priority streams,
699            placing resulting packets directly onto the scheduled queue
700
701      The number N is currently 20, but it could be varied based on
702      resource usage.
703
704    - If stream is created due to incoming headers, make headers readable
705      from on_new.
706
707    - Outgoing packets are no longer marked non-writeable to prevent placing
708      more than one STREAM frame from the same stream into a single packet.
709      This property is maintained via code flow and an explicit check.
710      Packets for stream data are allocated using a special function.
711
712    - STREAM frame elision is cheaper, as we only perform it if a reset
713      stream has outgoing packets referencing it.
714
715    - lsquic_packet_out_t is smaller, as stream_rec elements are now
716      inside a union.
717
7182017-10-12
719
720    - Do not send RST_STREAM when stream is closed for reading
721    - Raise maximum header size from 4K to 64K
722    - Check header name and value lengths against maximum imposed by HPACK
723    - Fix NULL dereference in stream flow controller
724
7252017-10-09
726
727    - Hide handshake implementation behind a set of function pointers
728    - Use monotonically increasing clock
729    - Make sure that retx delay is not larger than the max of 60 seconds
730
7312017-09-29
732
733    - A few fixes to code and README
734
7352017-09-28
736
737    - Add support for Q041; drop support for Q040
738
7392017-09-27
740
741    - Fix CMakeLists.txt: BoringSSL include and lib was mixed up
742
7432017-09-26
744
745    - Add support for Mac OS
746    - Add support for Raspberry Pi
747    - Fix BoringSSL compilation: include <openssl/hmac.h> explicitly
748
7492017-09-22
750
751    - Initial release
752