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