CHANGELOG revision 49f1f4f6
12020-09-02
2    - 2.19.8
3    - [FEATURE] Update the timestamp extension to latest version.
4    - [FEATURE] Cope with appearance of ECN blackholes.
5    - [OPTIMIZATION] return packno offset and size when header is generated.
6    - [BUGFIX] ignore old ACK frames in mini conns.
7    - [BUGFIX] Mark initial server path as initialized.
8    - [BUGFIX] Do not merge ACK if ECN counts do not match.
9    - Turn incoming packet number history in mini conn back on.
10    - Record mini conn event history again when compiled in debug mode.
11    - IETF mini conn: log when ACK is queued.
12    - Clean up and refactor code in several places.
13
142020-08-26
15    - 2.19.7
16    - Handle ECT-CE event: issue a loss event.
17    - Log the fact that we ignore SETTINGS_MAX_HEADER_LIST_SIZE.
18    - Use Max Push ID in GOAWAY frame to cancel promises.
19    - Add support for HTTP/3 CANCEL_PUSH frame.
20    - lsquic_stream_is_pushed: streams without headers are never pushed.
21    - [BUGFIX] Regression in lsquic_stream_shutdown_internal: now it shuts down.
22    - Improve logic whether to generate CONNECTION_CLOSE.
23
242020-08-20
25    - 2.19.6
26    - Don't process incoming ECN marks if ECN is not enabled.
27    - Schedule ACK when incoming packet is marked with CE.
28
292020-08-11
30    - 2.19.5
31    - [BUGFIX] Generate frame record when moving an ACK from one buffered
32      packet to another.
33
342020-08-06
35    - 2.19.4
36    - [BUGFIX] Do not return an oversize MTU probe to connection twice.
37    - [FEATURE] Delayed Acks updated to latest draft.  Still experimental.
38    - Minor code cleanup in IETF full connection.
39
402020-08-04
41    - 2.19.3
42    - [BUGFIX] Regression in 2.19.1 that breaks Q050
43
442020-07-30
45    - 2.19.2
46    - [BUGFIX] Do not reduce PLPMTU size by network overhead.
47    - [BUGFIX] Windows build.
48
492020-07-29
50    - 2.19.1
51    - [FEATURE] DPLPMTUD support.  IETF connections now search for the
52      maximum packet size, improving throughput.
53    - [DEBUG] Record event in stream history when on_close() is called
54      in dtor.
55
562020-07-22
57    - 2.18.2
58    - [BUGFIX] Send prediction: lone path challenges do not get squeezed out
59    - Fix crash in http_client: now -K and -B can be used simultaneously
60
612020-07-14
62    - 2.18.1
63    - [FEATURE] Implement the "QUIC bit grease" extension.
64    - [BUGFIX] Selecting CID used for logging on client.
65    - [BUGFIX] Header protection assertion.
66    - [BUGFIX] Server: enable SSL key logging when cert lookup callback
67      is not set.
68    - Remove some dead code.
69
702020-07-06
71    - 2.18.0
72    - [API] Rename "0-RTT" to "session resumption." In IETF QUIC, "0-RTT"
73      always refers to early data, meaning a request that the server can
74      reply to in the very first return flight.  A more appropriate name
75      for what we support on the client site is "session resumption," which
76      is standard TLS terminology.  Later, when we add support for 0-RTT
77      (early data), we can use the 0-RTT terminology again, this time in
78      proper context.
79    - [BUGFIX] Do not set certificate callback if ea_lookup_cert is NULL.
80    - [BUGFIX] Make connection tickable when it's marked as closed.
81    - [BUGFIX] Fail certificate lookup if SNI is not present in HTTP mode.
82    - Several documentation fixes and improvements.
83    - Minor code cleanup.
84
852020-06-24
86    - 2.17.2
87    - [BUGFIX] Infinite loop in stream: advance read offset when discarding
88      data.
89    - [OPTIMIZATION] Header protection: only initialize cipher once.
90    - [OPTIMIZATION] Batch header protection application.
91
922020-06-18
93    - 2.17.1
94    - [FEATURE] QUIC and HTTP/3 Internet Draft 29 support.
95    - [BUGFIX] Check that scheduled packets are also sendable when
96      calculating a connection's "tickable" property.
97    - [BUGFIX] Don't count scheduled packets as in-flight when pacer is
98      checked on tick.
99    - gQUIC: delay calling on_new for pushed stream until headers are
100      available.
101    - Allow nested calls to lsquic_engine_connect().
102
1032020-06-15
104    - 2.16.3
105    - [OPTIMIZATION] Stash up to two reordered packets in IETF mini conn
106      instead of dropping them.
107    - [BUGFIX] Crash: check decrypt context before using it.  This regression
108      was introduced in 2.16.2.
109
1102020-06-12
111    - 2.16.2
112    - [BUGFIX] ID-28: do not use TLS middlebox compatibility mode in
113      ClientHello.  This change requires using a newer version of BoringSSL.
114    - [BUGFIX] Free connections in Advisory Tick Time Queue in engine dtor.
115    - [BUGFIX] IETF QUIC client: narrow migration check to a single path.
116    - [BUGFIX] NULL dereference: set function pointers for alarm for path
117      challenges 2 and 3.
118    - [BUGFIX] HTTP/3 headers may be followed immediately by trailers.
119    - [BUGFIX] Log messages when SCID changes.
120
1212020-06-09
122    - 2.16.1
123    - [FEATURE] Use "no-progress timeout" after which connection is closed.
124    - [BUGFIX] Select new SCID when current SCID is retired.
125    - [BUGFIX] Don't warn about dropped Initial packet sequence gaps during
126      mini/full handoff.
127    - [BUGFIX] Send correct conn error when HTTP/3 frame is truncated.
128    - [BUGFIX] Mini conn: consider amplification when deciding to return
129      TICK_SEND.
130    - [BUGFIX] Don't double-count tag length in amplification logic.
131    - [BUGFIX] Don't squeeze out lone path challenges.
132    - [BUGFIX] Log messages dealing with scheduled packet queue squeezing.
133    - [BUGFIX] don't wipe current path if no path challenge responses
134      come back.
135    - [BUGFIX] When path is reset, don't lose path_id which is used for
136      logging.
137    - Downgrade flow control violations to info log level from warnings.
138    - Fix connection cap extra check, avoid checks in nested calls.
139    - Fix some unit tests when extra checks are enabled.
140    - Use ls-hpack 2.2.1.
141    - Turn off unconditional extra checks for IETF clients.
142    - Extra checks: don't verify sent size of hello packets.  Client
143      changes DCID length and this check will fail.
144
1452020-06-03
146    - 2.16.0
147    - [API] Use lsxpack_header v206.
148    - [FEATURE] Windows supported.
149    - [BUGFIX] Fix uninitialized variable use in client (regression in
150      2.15.0).
151    - Use ls-hpack 2.2.0.
152    - Use ls-qpack 2.2.0.
153    - Sample programs: fix the way maximum number of packets is
154      calculated.
155    - Remove some dead code.
156
1572020-05-27
158    - 2.15.0
159    - [FEATURE] QUIC and HTTP/3 Internet Draft 28 support.
160    - [BUGFIX] Ignore Retry packets after other packets are decrypted
161      successfully.
162    - [BUGFIX] Transport parameter decoding: CID no longer has 4-byte
163      length minimum.
164    - http_client: fix and optimize lsxpack_header allocator.
165    - Drop support for Internet Draft 25.
166
1672020-05-19
168    - 2.14.8
169    - Support Android.
170    - Rerrange tree: move command-line examples into bin/ and unit
171      tests into tests/ from test/unittests/.
172
1732020-05-12
174    - 2.14.7
175    - [BUGFIX] ALPN-to-version mapping: do not skip h3-Q050.
176    - [BUGFIX] Frame reader: skip headers if target stream is closed.
177
1782020-05-06
179    - 2.14.6
180    - [BUGFIX] Fix amplification mitigation in 0-RTT case.
181    - [BUGFIX] IETF mini connection should not tickable if cannot send
182      a packet due to amplification.
183    - [BUGFIX] Fail if active_connection_id_limit TP is smaller than 2.
184    - [BUGFIX] Qlog server certificates for IETF QUIC connections.
185    - [BUGFIX] Uninitialized struct padding usage in tokgen (benign).
186    - [BUGFIX] Incorrect argument to shi_lookup() (benign).
187
1882020-04-29
189    - 2.14.5
190    - [BUGFIX] In coalesced datagram, ignore packets whose CID does not match.
191    - [BUGFIX] Frame reader: skip headers if target stream is not found.
192    - [BUGFIX] Log message in QPACK decoder handler.
193
1942020-04-24
195    - 2.14.4
196    - [BUGFIX] Heed es_rw_once for pushed HTTP/3 streams.
197    - [BUGFIX] IETF client: set correct flags on bidirectional streams.
198    - [BUGFIX] Generate Cancel Stream QPACK instructions for abandoned
199      streams.
200    - [BUGFIX] Do not call header callbacks after stream is closed.
201    - Use ls-qpack 2.1.1
202
2032020-04-15
204    - 2.14.3
205    - [BUGFIX] gQUIC: pass correct stream to hsi_create_header_set() callback.
206    - [BUGFIX] Use ls-hpack 2.1.1
207    - Improve stream code readability.
208    - Use ls-qpack 2.0.5
209
2102020-04-08
211    - 2.14.2
212    - [BUGFIX] Use ls-qpack 2.0.4
213    - [BUGFIX] Honor max packet size on the client and when path changes.
214    - http_server: fix prepare_decode() function.
215
2162020-04-07
217    - 2.14.1
218    - [BUGFIX] Place connections on tickable queue when sending is reenabled.
219    - [BUGFIX] A connection is tickable if it has unsent packets.
220    - [BUGFIX] Heed peer's max_packet_size transport parameter.
221
2222020-03-30
223    - 2.14.0
224    - [API] Use lsxpack_header structure to send HTTP headers.
225    - [OPTIMIZATION] nocopy's readable_bytes() function.
226    - http_server: fix typo in error message
227    - Use ls-hpack 2.1.0.
228    - Use ls-qpack 2.0.0.
229
2302020-03-23
231    - 2.13.3
232    - [BUGFIX] ACK ping-pong: TIMESTAMP frame is not to be acked.
233
2342020-03-13
235    - 2.13.2
236    - [BUGFIX] Use of new lsxpack_header API's hsi_prepare_decode().
237
2382020-03-12
239    - 2.13.1
240    - [API] Use lsxpack_header structure to process incoming headers.
241    - [BUGFIX] Fix assertion when zero-padding Initial packet.
242    - [BUGFIX] Use idle timeout before we learn of peer's value.
243    - Use ls-hpack 2.0.1 -- has lsxpack_header changes.
244    - Use ls-qpack 0.14.0 -- new, common with ls-hpack, XXH seed (not
245      used yet).
246    - Code cleanup: prefix exported functions with "lsquic_".
247
2482020-03-02
249    - 2.12.0
250    - [FEATURE] QUIC timestamps extension.
251    - [API] New: ea_alpn that is used when not in HTTP mode.
252    - [BUGFIX] SNI is mandatory only for HTTP/3 and gQUIC.
253    - [BUGFIX] Benign double-free -- issue #110.
254    - [BUGFIX] Printing of transport parameters.
255
2562020-02-24
257    - 2.11.1
258    - [FEATURE] QUIC and HTTP/3 Internet Draft 27 support.
259    - [FEATURE] Add experimental delayed ACKs extension.
260    - Drop support for Internet Draft 24.
261    - Code cleanup.
262
2632020-02-14
264    - 2.10.6
265    - [BUGFIX] HTTP/3 framing: don't misinterpret rare occurence as error.
266    - [BUGFIX] Send gap warning due to missing poisoned packet.
267    - Stream unit test for scenario in issue #106.
268
2692020-02-13
270    - 2.10.5
271    - [BUGFIX] BBR: call cci_sent() with correct arguments and at correct
272      time.
273    - Refactor transport parameters module.
274    - Minor code cleanup.
275
2762020-02-11
277    - 2.10.4
278    - [BUGFIX] Send HANDSHAKE_DONE only after Finished is received.
279    - [BUGFIX] Don't treat garbage UDP padding as library error; ignore
280      it instead.
281    - [BUGFIX] Fix compilation on FreeBSD (missing header).
282    - Code cleanup: remove unnecessary #includes.
283
2842020-01-31
285    - 2.10.3
286    - [BUGFIX] Cancel path responses and challenges on old path when
287      switching to new path
288    - Logging network path information.
289
2902020-01-30
291    - 2.10.2
292    - [BUGFIX] Do not delay ACKs for Initial and Handshake packets.
293    - [BUGFIX] Send PATH_CHALLENGE if path changed before mini conn
294      promotion.
295    - Logging improvements.
296    - http_client: discard data faster.
297
2982020-01-29
299    - 2.10.1
300    - [BUGFIX] Coalesced packets could get longer than normal packet
301      size.
302    - Add spin bit configuration option es_spin (-o spin=[01]).
303    - Disable spin bit in 1/16 of connections.
304    - Improve logging a bit.
305
3062020-01-28
307    - 2.10.0
308    - [FEATURE] QUIC and HTTP/3 Internet Draft 25 support.
309    - [API] Drop support for ID-23.
310    - [BUGFIX] Set key phase bit on outgoing packets correctly.
311    - Code cleanup.
312
3132020-01-20
314    - 2.9.0
315    - [API] Drop support for Q039.
316    - Improve ACK-queuing logic.  Send an ACK once in a while if
317      peer keeps on sending non-ack-eliciting packets.
318    - Improve Alt-Svc string: Q050 and later are not included in
319      the old-style "quic" string.
320    - Send stateless resets if connection could not be promoted.
321    - Schedule MAX_DATA if needed when DATA_BLOCKED is received.
322    - Use ls-qpack 0.11.2 -- needed for server push optimization.
323    - Code cleanup: handle some error cases, improve logging.
324
3252020-01-16
326    - 2.8.9
327    - [BUGFIX] Use ls-qpack 0.11.1
328    - [OPTIMIZATION] Generate random bytes in batches.
329    - Change loss_bits transport parameter ID to 0x1057 following
330      latest draft.
331    - Randomize period with which PINGs are sent to elicit ACKs.
332    - Some refactoring and code cleanup.
333
3342020-01-14
335    - 2.8.8
336    - [BUGFIX] Invalid read when parsing IETF transport parameters
337      (this was benign).
338    - [OPTIMIZATION] Frame bundling when using buffered packets in
339      IETF QUIC: a) flush QPACK decoder stream and b) include ACKs
340      in opportunistic fashion.
341    - Fix HTTP/3 framing unit test.
342    - Code cleanup.
343
3442020-01-09
345    - 2.8.7
346    - [BUGFIX] Initial packet size check for IETF mini conn applies to
347      UDP payload, not QUIC packet.
348    - Support old and new school loss_bits transport parameter.
349    - Use Q run length of 64 as suggested in the loss bits Draft.
350    - Undo square wave count when packet is delayed.
351    - Code cleanup; minor fixes.
352
3532020-01-06
354    - 2.8.5
355    - [HTTP3] Verify number of bytes in incoming DATA frames against
356      content-length.
357    - [HTTP3] Stop issuing streams credits if peer stops opening QPACK
358      decoder window.  This addresses a potential attack whereby client
359      can cause the server to keep allocating memory.  See Security
360      Considerations in the QPACK draft.
361    - [BUGFIX] Mini conn: don't shorten max packet size for Q050 and later.
362    - [BUGFIX] Init IETF connection flow controller using correct setting.
363    - [BUGFIX] Fix unintended sign extension when removing header protection.
364    - Code cleanup and minor fixes.
365
3662019-12-30
367    - 2.8.1
368    - [FEATURE] Use occasional packet number gaps to detect optimistic
369      ACK attacks.
370    - [BUGFIX] Q050 client: all packet numbers are in the App PNS.
371    - [OPTIMIZATION] Merge multi-range ACK frames, not just single-range
372      ACK frames.
373    - IETF QUIC: use RTT estimate in ack timeout calculation.
374    - IETF handshake: abort conn when unexpected errors occur.
375    - Use PING rather than MAX_DATA frames to elicit ACKs from peer.
376    - Server: enforce 1200 byte Initial minimum packet size.
377    - [CLEANUP] Remove code to disable gQUIC crypto.
378    - [CLEANUP] Remove n_timestamps from ACK info struct.
379    - Optimize driver: reuse previous ancillary message when possible.
380
3812019-12-23
382    - 2.8.0
383    - [FEATURE] Add support for Q050.
384    - [OPTIMIZATION] Reduce mallocs in gQUIC handshake.
385    - [BUGFIX] Disable redo of failed STREAM frame insertion with debug
386      logging.
387
3882019-12-18
389    - 2.7.3
390    - [DEBUG] Further dedup next advisory tick messages when reason is
391      the same.
392    - [BUGFIX] Update size of `a` array in TP struct.  Fixes (benign)
393      GitHub bug #94.
394    - Use Cubic by default again instead of BBR, as it delivers more
395      consistent performance.
396
3972019-12-11
398    - 2.7.2
399    - [BUGFIX] Send controller: update scheduled bytes when DCID length
400      changes (IETF client).
401    - [BUGFIX] Drop alarm check from sanity test.  It no longer works now
402      that we use loss chains.
403    - [PORTABILITY] Fix build on Alpine Linux.
404    - [PORTABILITY] Fix build using XCode.
405    - Client initial DCID length: use RAND_bytes() instead of rand(3).
406    - Add unit tests for connection min heap.
407    - [DEBUG] Log CID in gQUIC handshake module
408    - [DEBUG] Turn on extra checks for IETF client send controller.
409    - [DEBUG] Dedup next advisory tick messages when reason is IDLE timer.
410    - [DEBUG] QPACK decoder handler: log header error code.
411
4122019-12-05
413    - 2.7.1
414    - [BUGFIX] client: don't call ignore_init() in middle of batch send.
415      ignore_init() makes an assumption that the send controller has access
416      to all outgoing packets.  This change wraps a few IETF full connection
417      methods to delay calling ignore_init() until the engine returns all
418      outgoing packets that were batched.
419    - [BUGFIX] set errno to EAGAIN if sendmmsg() can't send all of them.
420      This needs to be done because the value of errno may be lost on
421      some platforms.
422    - [BUGFIX] Typo that set all bits in sm_qflags lead to crashes.
423    - [BUGFIX] Do not cancel header block processing after failure, as
424      QPACK releases the reference in that case.
425    - [CLEANUP] IETF encrypt: replace assert(0) with a warning.
426    - Several small improvements to the test server.
427
4282019-11-27
429    - 2.7.0
430    - [API, FEATURE] Close connection immediately when ea_packets_out()
431      fails with errno != EAGAIN.  The API change is that errno is now
432      examined.  Make sure to set it if using something other than
433      sendmsg() to send packets.
434    - [CLEANUP] Immediate close logic in IETF full conn.
435    - [CLEANUP] Fix bogus warning about uninitialized `pair' variable.
436
4372019-11-22
438    - 2.6.7
439    - [FEATURE] Implement the QL extension (offered by default).
440    - [BUGFIX] Abort when encountering unexpected HTTP/3 frames.
441    - [BUGFIX] Acknowledge (QPACK) HTTP/3 trailers correctly.
442    - [DEBUG] Turn on debug message for next advisory tick.
443
4442019-11-20
445    - 2.6.6
446    - [BUGFIX] Using HTTP/3 to HTTP/1.x converter.
447    - [BUGFIX] Truncate log messages instead of throwing them away.
448
4492019-11-15
450    - 2.6.5
451    - [BUGFIX] High priority buffered packet queue length.
452    - [BUGFIX] Rain time calculation: max_ack_delay is in milliseconds.
453
4542019-11-12
455    - 2.6.3
456    - [BUGFIX] Close DATA frames with empty payload correctly.
457
4582019-11-11
459    - 2.6.2
460    - [BUGFIX] SCID!=ODCID rule applies to Retry packets, not regular
461      packets.
462    - [BUGFIX] Zero-RTT: BoringSSL no longer flips read/write secrets.
463    - [BUGFIX] Truncate ACK frame rather instead of aborting IETF
464      connection.
465    - [BUGFIX] Client: don't send duplicate reset tokens.
466    - [BUGFIX] Remove invalid assertion in H3 framing code.
467    - Silence a warning in send ctl by restructuring switch() statement.
468
4692019-11-08
470    - 2.6.1
471    - [BUGFIX] set retry token on all resubmitted packets.
472    - Event log: log sent packet flags.  In particular, this allows one
473      to see whether token was sent.
474    - Don't migrate client if es_allow_migration is false.
475
4762019-11-07
477    - 2.6.0
478    - [FEATURE] QUIC and HTTP/3 Internet Draft 24 support
479
4802019-11-07
481    - 2.5.2
482    - [BUGFIX] argument order to gQUIC client constructor.  Regression
483      introduced in 2.5.0.
484    - [BUGFIX] split buffered packet error recovery: destroy the correct
485      packet.
486
4872019-11-04
488    - 2.5.1
489    - [BUGFIX] Fix double-free when emptying a packet number space.
490    - [BUGFIX] http_server: fix md5sum handler: handle EOF correctly.
491    - [BUGFIX] Use random values in bits 4 and 5 of the first byte of
492      verneg packets (regression introduced in 2.5.0).
493    - [OPTIMIZATION] Don't compile in expensive attq checks by default.
494    - [OPTIMIZATION] http_server: compile regexes only once.
495
4962019-10-31
497    - 2.5.0
498    - [API] lsquic_engine_connect() can now be passed QUIC version to use.
499    - [OPTIMIZATION] Queue opportunistic ACKs if there is data to be sent.
500    - [BUGFIX] Don't evict streams from priority iterator if there is
501      only one queue.
502    - [OPTIMIZATION, BUGFIX] Several other optimizations and bug fixes.
503    - Use ls-qpack v0.10.7.
504
5052019-10-24
506    - 2.4.10
507    - [BUGFIX] IETF QUIC server: fix uninitialized variable use.
508    - [BUGFIX] make sure TLSv1.3 is not disabled in SSL object.
509    - [BUGFIX] Use issuer name and serial number to cache certs (SKID
510      values are not unique).
511    - [BUGFIX] Always set the idle alarm in IETF connection so that it
512      can time out.
513    - Use ls-qpack v0.10.6, as it silences some warnings.
514
5152019-10-21
516    - 2.4.8
517    - [OPTIMIZATION, BUGFIX] Use ls-qpack v0.10.5.
518
5192019-10-15
520    - 2.4.7
521    - Add echo client and server to the distibution.
522    - Add MD5 client and server to the distibution.
523    - Fix http_client: check command-line arguments better, prevent crash.
524    - Fix IETF conn: can_write_ack() should only care about APP PNS.
525    - Client: delay stream creation until handshake succeds.
526    - Reset HTTP stream whose write end is closed prematurely.
527    - Fix tickable(): mirror behavior of tick() wrt buffered packets.
528    - Log reason why engine is tickable.
529
5302019-10-11
531    - 2.4.6
532    - Minor code cleanup and logging improvements.
533    - Server and client programs: include library version (e.g. 2.4.6)
534      into `server' and `user-agent' headers.
535
5362019-10-08
537    - 2.4.5
538    - [OPTIMIZATION]: flush encoder stream only when necessary.
539    - [BUGFIX] Use ls-qpack v0.10.2 for new API -- and for a bug fix.
540    - [BUGFIX] Typo in IETF conn SETTINGS writer.
541    - Use latest BoringSSL.
542
5432019-10-08
544    - 2.4.4
545    - [API] Add lsquic_alpn2ver() to aid parsing Alt-Svc header.
546    - [BUGFIX] NULL dereference when H3 frame header would be split.
547    - [BUGFIX] Do not close fixed-size H3 frame prematurely.
548    - [BUGFIX] Allow PING frames in IETF mini conn.
549    - [BUGFIX] Mini conns: don't send any packets after receiving
550      CONNECTION_CLOSE.
551    - [BUGFIX] Client migration: reserve slot for DCID from transport params.
552    - [BUGFIX] Allow max_early_data_size=0 -- early_data might not be there.
553    - [BUGFIX] Use an invalid stream number to reset BPT cache (zero is now a
554      valid stream number).
555    - [SPEC] Use FINAL_SIZE_ERROR when FIN mismatch is detected.
556    - [OPTIMIZATION] Closed connection only gets one chance to send packets.
557    - [OPTIMIZATION] Flush headers stream before packetizing stream data.
558    - [OPTIMIZATION] process QPACK encoder STREAM frames immediately.
559    - Update ls-qpack to v0.10.1.
560
5612019-09-30
562    - 2.4.3
563    - Add GQUIC versions to the list of h3 ALPNs for Alt-Svc header.
564      For example, h3-Q043.  Chrome will switch to using this format at
565      some point in the future.
566    - [BUGFIX] Send correct value in max_streams_uni transport param
567    - [SPEC] Abort IETF QUIC connection if max_early_data_size is not set
568      to 0xFFFFFFFF
569
5702019-09-23
571    - 2.4.2
572    - [BUGFIX] H3 framing: fix zero-byte write when space is available
573    - [BUGFIX] Don't send STREAM frame when incoming unidirectgional stream
574      is closed
575    - [BUGFIX] Cancel all pending writes by stream reset by a GOAWAY
576    - [BUGFIX] Fix use-after-free in IETF full conn
577    - [OPTIMIZATION] Wait for session tickets for two seconds and then drop
578      SSL object and crypto streams.
579
5802019-09-18
581    - 2.4.0
582    - [FEATURE] QUIC and HTTP/3 Internet Draft 23 support
583
5842019-09-13
585    - 2.3.1
586    - [BUGFIX] Fix memory leaks
587    - [BUGFIX] Fix unit tests
588
5892019-09-12
590    - 2.3.0
591    - [FEATURE] BBR congestion control is on by default
592    - [BUGFIX] BBR app-limited logic
593    - [BUGFIX] Fix uninitialized warnings in IETF
594    - [BUGFIX] Update ls-qpack to v0.9.14
595    - [CLEANUP] Code cleanup
596
5972019-09-11
598    - 2.2.0
599    - [FEATURE] Server code is included in the library
600    - [FEATURE] IETF QUIC and HTTP/3 Support (ID-22)
601
6022019-05-13
603    - 1.21.2
604    - [OPTIMIZATION] HPACK: use history to improve compression performance
605
6062019-05-06
607    - 1.21.1
608    - [BUGFIX] If FIN or RST not received, don't delay stream destruction.
609    - [OPTIMIZATION] Speed up HPACK encoder by using same hash value to
610      search static and dynamic tables.
611
6122019-04-12
613    - 1.21.0
614    - [FEATURE] Add qlog log module.
615
6162019-04-01
617    - 1.20.0
618    - [FEATURE] Add support for Q046.
619
6202019-03-19
621    - 1.19.6
622    - [BUGFIX] Ensure that Largest Observed does not decrease in ACKs we
623      send.  ACK frames placed in packets in buffered queues (optimization
624      introduced in 1.17.15) can be preceded by an ACK frame generated later.
625      In this case, the older ACK frame should not be sent out, as Chromium-
626      based servers flags decrease in the ACK frame's Largest Observed value
627      as an error.
628
6292019-03-05
630    - 1.19.5
631    - [BUGFIX] Use correct public key from PUBS based on KEXS index.
632    - [BUGFIX] Check flags before dispatching writes, avoiding assert.
633    - [BUGFIX] Set :scheme to "https" (instead of "HTTP").
634
6352019-02-25
636    - 1.19.4
637    - [BUGFIX] Check buffer bounds when looking up version in 0-RTT blob.
638    - [BUGFIX] http_client: don't fetch 0-rtt info if handshake failed.
639    - Log number of pacer calls at DEBUG, rather than NOTICE, level.
640
6412019-02-18
642    - 1.19.3
643    - [BUGFIX] Q044: don't encode packet number in 6 bytes.  Six-byte
644      packet number encoding does not exist in Q044.  This fixes a
645      regression introduced in '[BUGFIX] Buffered packets can contain
646      ACK frames' -- we need to keep QUIC version in mind when selecting
647      the longest possible packet number encoding used for the buffered
648      packet that carries the ACK.
649    - [BUGFIX] Do not increase CWND when timeout occurs.
650    - http_client: support setting handshake timeout on command line.
651      Use -o handshake_to=timeout.
652    - http_client: use -k to connect UDP socket to pick up ICMP errors.
653    - http_client: allow pathless mode, when only handshake is performed
654      without issuing any requests.  This can be done by simply not
655      specifying a -p flag on the command line.
656
6572019-02-11
658    - 1.19.2
659    - [BUGFIX] Begin negotiation with version provided in 0-RTT info.
660    - [BUGFIX] Version checking in zero_rtt deserialize function.
661
6622019-02-04
663    - 1.19.1
664    - [BUGFIX] Fix Windows build.
665
6662019-02-04
667    - 1.19.0
668    - [FEATURE, API Change] 0-RTT support.  Add function to export 0-RTT
669      information; it can be supplied to a subsequent connect() call.
670    - [FEATURE] Add -0 flag to http_client to exercise 0-RTT support.
671    - [BUGFIX] Resuscitate the Windows build.
672    - [BUGFIX] Send HTTP settings (max header list size) if necessary.
673    - [BUGFIX] Buffered packets can contain ACK frames.
674    - [BUGFIX] Make packet writeable once all STREAM frames are elided.
675    - [BUGFIX] Fix potential null dereference when realloc fails.
676    - cmake: simplify build configuration.
677
6782019-01-28
679    - 1.18.0
680    - [API Change] Can specify clock granularity in engine settings.
681    - [BUGFIX] Pacer uses fixed clock granularity.  Since the change on
682      2018-04-09, it is not necessary to try to approximate the next tick
683      time in the pacer: it can use fix clock granularity specified by
684      the user.
685    - [BUGFIX] Do not tick constantly before handshake is done.
686    - [BUGFIX] Do not exit tick prematurely: reuse packet with ACK.  Even
687      if we cannot allocate *more* packets, we could still be able to write
688      to one already allocated.
689    - [BUGFIX] Do not schedule pacer if there are no lost packets.
690
6912019-01-17
692    - 1.17.15
693    - [BUGFIX] http_client: make sure only one read per on_read() callback
694      is performed in the header conversion bypass (-B) mode.
695    - http_client: with -E, assign random priority when stream is created.
696    - [OPTIMIZATION] On immediate write, place an ACK frame into the first
697      buffered packet if an ACK is queued.  This reduces the number of
698      standalone ACK packets.
699    - [OPTIMIZATION] Allow placing more than one STREAM frame from the same
700      stream into an outgoing packet.  This change minimizes the number of
701      buffered packets required to store several small HTTP messages by
702      virtue of allowing more than one STREAM frame from HEADERS stream in
703      the same packet.
704    - [OPTIMIZATION] Flush headers when writing to buffered packets.  This
705      causes the headers to be written to the same buffered packet queue,
706      thereby improving packet utilization, especially for small HTTP
707      messages.
708
7092019-01-16
710    - 1.17.14
711    - [FEATURE] http_client can now collect stats: time to connect, TTFB,
712      time to download, requests per seconds, and bandwidth.  See -t flag.
713    - [BUGFIX] http_client: -B, -K, and -r can be used at the same time.
714    - [BUGFIX] http_client: do not display cert chain before each request.
715      Now this is only done once per connection, if the handshake is
716      successful and -a option is given.
717    - [BUGFIX] Do not wait to dispatch on_close() after reading.  If a
718      stream is scheduled to be closed after on_read() callback returns,
719      close it immediately instead of waiting until the end of the tick.
720      If client creates new request from on_close() event, they will be
721      processed in the same tick instead of waiting for the next one.
722    - [BUGFIX] HEADERS stream is critical: always treat it with highest
723      priority.
724
7252019-01-10
726    - 1.17.12
727    - [FEATURE] http_client can now issue parallel requests in the context
728      of a single connection.  See -w option.
729
7302019-01-03
731    - 1.17.11
732    - Fix strict aliasing warning in optimized compilation.
733
7342018-12-27
735    - 1.17.10
736    - Fix the example program to be able to use parallel connections
737      again.  (See the -n argument.)
738
7392018-12-18
740    - 1.17.9
741    - [BUGFIX] Engine: reduce minimum batch size from 256 to 4
742
7432018-12-10
744    - 1.17.8
745    - [BUGFIX] Fix compilation on FreeBSD and 32-bit Linux
746
7472018-12-03
748    - 1.17.7
749    - [BUGFIX] Do not unset PING alarm before ringing expired alarms.
750      This prevented PING from ever being sent.
751
7522018-11-29
753    - 1.17.6
754    - Add failsafe: resume sending packets after some time
755
756      The change puts a 1-second limit on the amount of time the engine
757      will not send packets after some packets are delayed.  This makes
758      the library robust in case the user does not unblock the engine
759      explicitly using lsquic_engine_send_unsent_packets() call.
760
761    - [BUGFIX] Handle corner cases in send controller when packets are
762      a) delayed or b) dropped during repackaging.
763    - [BUGFIX] Memory leak: destroy buffered packets during controller
764      cleanup.
765
7662018-11-16
767    - 1.17.3
768    - [BUGFIX] Do not send STOP_WAITING frames when using Q044
769
7702018-10-19
771    - 1.17.2
772    - [BUGFIX] Memory leak in test_frame_rw unit test.
773    - [BUGFIX] Parsing packets with short IETF header: do not overwrite
774      flags.  (Only a problem in unit tests -- benign otherwise.)
775
7762018-10-16
777    - 1.17.0
778    - [API Change] Packet out Memory Interface (PMI) update:
779      - Split PMI pool return into pmi_release and pmi_return
780      - PMI callbacks take peer_ctx and is_ipv6 arguments
781    - [BUGFIX] Fix use-after-free when certificate is updated
782    - Silence gcc warning in optimized mode by performing useless
783      initialization
784    - cmake: use the standard variable CMAKE_BUILD_TYPE instead of
785      DEVEL_MODE
786
7872018-10-03
788    - 1.16.0
789    - [API Change] Add lsquic_conn_n_avail_streams()
790    - [BUGFIX] only dispatch crypto stream read events if WANT_READ is on
791
7922018-09-27
793    - 1.15.0
794    - [API Change] Add LSCONN_ST_PEER_GOING_AWAY to the list of conn statuses
795    - [BUGFIX] free uncompressed headers correctly when error occurs
796
7972018-09-12
798    - 1.14.3
799    - [BUGFIX] Do not abort conn on STREAM frame for a reset stream
800    - [BUGFIX] Drop packets that would become empty due to repackaging.
801      Packets on the scheduled queue may be marked for repackaging.
802      Frames such as ACK frame that are never resent are removed from
803      repackaged packets.  We must check that the newly repackaged packet
804      would not be empty.  If it would be, it is destroyed instead and
805      the next packet on the scheduled queue is used.  Note that this
806      change only affects the logic to return the next packet to be sent.
807      Lost packets that are being rescheduled are already processed in
808      this fashion.
809    - Byteswap CID before logging it - this makes it match Chrome CIDs.
810      (Except Q035, which is the last little-endian GQUIC version we
811      support.)
812
8132018-09-06
814    - 1.14.0
815    - [API Change] Disable packet sending if full batch cannot be sent
816      If lsquic_packets_out_f() cannot send the whole batch, disable
817      packet sending until lsquic_engine_send_unsent_packets() is called.
818    - [BUGFIX] Handle case when STREAM frame does not fit.
819    - [BUGFIX] Always allow incoming STREAM frames to overlap.  Peers
820      may send overlapping STREAM frames even if using versions older
821      than Q043.
822    - Custom header set fixes:
823      - set "FIN reached" flag when custom header with FIN flag is
824        claimed;
825      - do not return custom header set for a reset stream.
826
8272018-08-27
828
829    - 1.13.0
830    - [FEATURE, API Change] Add ability to create custom header set
831      objects via callbacks.  This avoids reading and re-parsing
832      headers from the stream.
833
8342018-08-27
835
836    - 1.12.4
837    - Fix memory leak when engine is destroyed
838    - Fix memory leak in http_client
839    - Fix gcc warning in unit tests
840
8412018-08-22
842
843    - 1.12.3
844    - [BUGFIX] Fix duplicate STREAM frame detection
845
8462018-08-20
847
848    - 1.12.2
849    - [BUGFIX] Update count of scheduled bytes when adjusting size of
850      an already-scheduled packet.
851    - Emit info instead of warning messages when stream is used in
852      unexpected ways.
853
8542018-08-17
855
856    - 1.12.0
857    - [FEATURE, API Change] Add support for certificate verification
858
8592018-08-16
860
861    - 1.11.1
862    - [BUGFIX] Fix STOP_WAITING frame processing in the new Q044 code
863
8642018-08-15
865
866    - 1.11.0
867    - [FEATURE] Add support for Q044.
868
8692018-08-09
870
871    - 1.10.2
872    - [BUGFIX] Don't go over limit when creating delayed streams
873
8742018-07-10
875
876    - 1.10.1
877    - [BUGFIX]  process connections after each batch of packets is read
878      This avoids a problem of accumulating a very large list of packets
879      (possible when speeds are high and socket's receive buffer is large)
880      and processing it all at once.
881    - If glibc is older than 2.17, link with rt.  This is necessary for
882      clock_getres(2).
883    - Add version macros to lsquic.h; remove unnecessary includes.
884
8852018-06-13
886
887    - [BUGFIX] allow multiple parallel connections by default
888
889      Use the original method of tracking connections by CIDs by default.
890      If zero-sized CID support is turned on, connections are tracked by
891      the address.  A new connection is not created if another connection
892      is using the same network address
893
8942018-05-30
895
896    - [FEATURE, API CHANGE] Support zero-sized CIDs in received packets
897
8982018-05-24
899
900    - Close connection properly when packet encryption fails
901
9022018-05-23
903
904    - [BUGFIX] Do not produce packet sequence gaps due to delayed packets
905
9062018-05-21
907
908    - [API Change] Add optional callback to call when handshake is done
909    - [API Change, BUGFIX] After send failure, wait until transport available
910
9112018-05-18
912
913    - [API] Expose useful lsquic_ver2str[] in lsquic.h
914    - [BUGFIX] Do not produce packet sequence gaps due to STREAM frame elision
915    - Improve checks of number of incoming streams limit and associated
916      error reporting.
917    - [BUGFIX] Command-line option `-6` now works correctly.
918
9192018-05-16
920
921    - [FEATURE] DNS resolution
922    - [BUGFIX] Frame insertion mis-ID as overlap instead of dup
923    - http_client: fix priority range generated by -E flag
924
9252018-05-09
926
927    - [FEATURE] Add support for Q043.
928    - Support for versions Q037, Q038, Q041, and Q042 has been removed.
929    - Fix typo in debug message.
930    - Fix code indentation.
931    - Add /* fallthru */ comment to stop newer gcc from complaining.
932    - Logger: fix compilation of optimized Windows build.
933
9342018-05-04
935
936    - [FEATURE] Add support for Q042.
937    - Remove comment: MSPC is obsolete (no code changes)
938    - Prog: use lsquic_str2ver() when processing -o version flag
939    - Remove unused CTIM and SRBF transport parameters
940    - Disable QUIC versions Q037 and Q038 by default
941    - Fix Windows compilation by including compat header file in
942      lshpack.c
943    - Address warnings produced by newer versions of gcc
944    - Future-proof: turn off -Werror
945
9462018-05-02
947
948    - [BUGFIX] Make lsquic_conn_quic_version() available
949    - Switch to using ls-hpack 1.1
950    - [BUGFIX] Do not ignore stream resets after receiving FIN
951
9522018-04-27
953
954    - HPACK: do not allow header block to end with table size update.
955
9562018-04-25
957
958    - [BUGFIX] Do not create gap in sent packnos when squeezing delayed
959      packets.
960    - [BUGFIX] sendctl checks for all unacked bytes, not just retx bytes.
961    - [BUGFIX] connections with blocked scheduled packets are not tickable
962      for sending.
963    - [BUGFIX] Conn is tickable if it wants to send a connection-level
964      frame.
965
9662018-04-23
967
968    - Fix busy loop: tickable must make progress.  When connection is
969      self-reporting as tickable, it must make progress when ticked.  There
970      are two issues:
971        1. If there are buffered packets, the connection is only tickable if
972           they can be sent out.
973        2. A connection is tickable if there are streams on the servicing
974           queue.  When the tick occurs, we must service the stream
975           independent of whether any packets are sent.
976    - Fix assertion in pacer which can be incorrect under some
977      conditions.
978    - cmake: do not turn on address sanitizer if in Travis.
979
9802018-04-20
981
982    - [BUGFIX] Fix bug in lsquic_engine_connect() exposed by yesterday's
983      changes.
984
9852018-04-19
986
987    - [BUGFIX] Add connection to Tickable Queue on stream write
988    - cmake: use MSVC variable instead of trying to detect
989    - engine: improve connection incref/decref logging
990    - stream: don't ignore errors that may occur on triggered flush
991    - connection: remove obsolete method
992    - engine: indicate connection as tickable if previous call went
993      over threshold
994
9952018-04-09
996
997    [API Change, OPTIMIZATION] Only process conns that need to be processed
998
999    The API is simplified: do not expose the user code to several
1000    queues.  A "connection queue" is now an internal concept.
1001    The user processes connections using the single function
1002    lsquic_engine_process_conns().  When this function is called,
1003    only those connections are processed that need to be processed.
1004    A connection needs to be processed when:
1005
1006        1. New incoming packets have been fed to the connection.
1007        2. User wants to read from a stream that is readable.
1008        3. User wants to write to a stream that is writeable.
1009        4. There are buffered packets that can be sent out.  (This
1010           means that the user wrote to a stream outside of the
1011           lsquic library callback.)
1012        5. A control frame (such as BLOCKED) needs to be sent out.
1013        6. A stream needs to be serviced or delayed stream needs to
1014           be created.
1015        7. An alarm rings.
1016        8. Pacer timer expires.
1017
1018    To achieve this, the library places the connections into two
1019    priority queues (min heaps):
1020
1021        1. Tickable Queue; and
1022        2. Advisory Tick Time queue (ATTQ).
1023
1024    Each time lsquic_engine_process_conns() is called, the Tickable
1025    Queue is emptied.  After the connections have been ticked, they are
1026    queried again: if a connection is not being closed, it is placed
1027    either in the Tickable Queue if it is ready to be ticked again or
1028    it is placed in the Advisory Tick Time Queue.  It is assumed that
1029    a connection always has at least one timer set (the idle alarm).
1030
1031    The connections in the Tickable Queue are arranged in the least
1032    recently ticked order.  This lets connections that have been quiet
1033    longer to get their packets scheduled first.
1034
1035    This change means that the library no longer needs to be ticked
1036    periodically.  The user code can query the library when is the
1037    next tick event and schedule it exactly.  When connections are
1038    processed, only the tickable connections are processed, not *all*
1039    the connections.  When there are no tick events, it means that no
1040    timer event is necessary -- only the file descriptor READ event
1041    is active.
1042
1043    The following are improvements and simplifications that have
1044    been triggered:
1045
1046        - Queue of connections with incoming packets is gone.
1047        - "Pending Read/Write Events" Queue is gone (along with its
1048          history and progress checks).  This queue has become the
1049          Tickable Queue.
1050        - The connection hash no longer needs to track the connection
1051          insertion order.
1052
10532018-04-02
1054
1055    - [FEATURE] Windows support
1056
1057    - Reduce stack use -- outgoing packet batch is now allocated on the heap.
1058
10592018-03-09
1060
1061    - [OPTIMIZATION] Merge series of ACKs if possible
1062
1063      Parsed single-range ACK frames (that is the majority of frames) are
1064      saved in the connection and their processing is deferred until the
1065      connection is ticked.  If several ACKs come in a series between
1066      adjacent ticks, we check whether the latest ACK is a strict superset
1067      of the saved ACK.  If it is, the older ACK is not processed.
1068
1069      If ACK frames can be merged, they are merged and only one of them is
1070      either processed or saved.
1071
1072    - [OPTIMIZATION] Speed up ACK verification by simplifying send history.
1073
1074      Never generate a gap in the sent packet number sequence.  This reduces
1075      the send history to a single number instead of potentially a series of
1076      packet ranges and thereby speeds up ACK verification.
1077
1078      By default, detecting a gap in the send history is not fatal: only a
1079      single warning is generated per connection.  The connection can continue
1080      to operate even if the ACK verification code is not able to detect some
1081      inconsistencies.
1082
1083    - [OPTIMIZATION] Rearrange the lsquic_send_ctl struct
1084
1085      The first part of struct lsquic_send_ctl now consists of members that
1086      are used in lsquic_send_ctl_got_ack() (in the absense of packet loss,
1087      which is the normal case).  To speed up reads and writes, we no longer
1088      try to save space by using 8- and 16-bit integers.  Use regular integer
1089      width for everything.
1090
1091    - [OPTIMIZATION] Cache size of sent packet.
1092
1093    - [OPTIMIZATION] Keep track of the largest ACKed in packet_out
1094
1095      Instead of parsing our own ACK frames when packet has been acked,
1096      use the value saved in the packet_out structure when the ACK frame
1097      was generated.
1098
1099    - [OPTIMIZATION] Take RTT sampling conditional out of ACK loop
1100
1101    - [OPTIMIZATION] ACK processing: only call clock_gettime() if needed
1102
1103    - [OPTIMIZATION] Several code-level optimizations to ACK processing.
1104
1105    - Fix: http_client: fix -I flag; switch assert() to abort()
1106
11072018-02-26
1108    - [API Change] lsquic_engine_connect() returns pointer to the connection
1109      object.
1110    - [API Change] Add lsquic_conn_get_engine() to get engine object from
1111      connection object.
1112    - [API Change] Add lsquic_conn_status() to query connection status.
1113    - [API Change] Add add lsquic_conn_set_ctx().
1114    - [API Change] Add new timestamp format, e.g. 2017-03-21 13:43:46.671345
1115    - [OPTIMIZATION] Process handshake STREAM frames as soon as packet
1116      arrives.
1117    - [OPTIMIZATION] Do not compile expensive send controller sanity check
1118      by default.
1119    - [OPTIMIZATION] Add fast path to gquic_be_gen_reg_pkt_header.
1120    - [OPTIMIZATION] Only make squeeze function call if necessary.
1121    - [OPTIMIZATION] Speed up Q039 ACK frame parsing.
1122    - [OPTIMIZATION] Fit most used elements of packet_out into first 64 bytes.
1123    - [OPTIMIZATION] Keep track of scheduled bytes instead of calculating.
1124    - [OPTIMIZATION] Prefetch next unacked packet when processing ACK.
1125    - [OPTIMIZATION] Leverage fact that ACK ranges and unacked list are.
1126      ordered.
1127    - [OPTIMIZATION] Reduce function pointer use for STREAM frame generation
1128    - Fix: reset incoming streams that arrive after we send GOAWAY.
1129    - Fix: delay client on_new_conn() call until connection is fully set up.
1130    - Fixes to buffered packets logic: splitting, STREAM frame elision.
1131    - Fix: do not dispatch on_write callback if no packets are available.
1132    - Fix WINDOW_UPDATE send and resend logic.
1133    - Fix STREAM frame extension code.
1134    - Fix: Drop unflushed data when stream is reset.
1135    - Switch to tracking CWND using bytes rather than packets.
1136    - Fix TCP friendly adjustment in cubic.
1137    - Fix: do not generate invalid STOP_WAITING frames during high packet
1138      loss.
1139    - Pacer fixes.
1140
11412017-12-18
1142
1143    - Fix: better follow cubic curve after idle period
1144    - Fix: add missing parts to outgoing packet splitting code
1145    - Fix: compilation using gcc 4.8.4
1146
11472017-10-31
1148
1149    - Add APIs.txt -- describes LSQUIC APIs
1150
11512017-10-31
1152
1153    - [API Change] Sendfile-like functionality is gone.  The stream no
1154      longer opens files and deals with file descriptors.  (Among other
1155      things, this makes the code more portable.)  Three writing functions
1156      are provided:
1157
1158        lsquic_stream_write
1159        lsquic_stream_writev
1160        lsquic_stream_writef    (NEW)
1161
1162      lsquic_stream_writef() is given an abstract reader that has function
1163      pointers for size() and read() functions which the user can implement.
1164      This is the most flexible way.  lsquic_stream_write() and
1165      lsquic_stream_writev() are now both implemented as wrappers around
1166      lsquic_stream_writef().
1167
1168    - [OPTIMIZATION] When writing to stream, be it within or without the
1169      on_write() callback, place data directly into packet buffer,
1170      bypassing auxiliary data structures.  This reduces amount of memory
1171      required, for the amount of data that can be written is limited
1172      by the congestion window.
1173
1174      To support writes outside the on_write() callback, we keep N
1175      outgoing packet buffers per connection which can be written to
1176      by any stream.  One half of these are reserved for the highest
1177      priority stream(s), the other half for all other streams.  This way,
1178      low-priority streams cannot write instead of high-priority streams
1179      and, on the other hand, low-priority streams get a chance to send
1180      their packets out.
1181
1182      The algorithm is as follows:
1183
1184      - When user writes to stream outside of the callback:
1185        - If this is the highest priority stream, place it onto the
1186          reserved N/2 queue or fail.
1187            (The actual size of this queue is dynamic -- MAX(N/2, CWND) --
1188             rather than N/2, allowing high-priority streams to write as
1189             much as can be sent.)
1190        - If the stream is not the highest priority, try to place the
1191          data onto the reserved N/2 queue or fail.
1192      - When tick occurs *and* more packets can be scheduled:
1193        - Transfer packets from the high N/2 queue to the scheduled
1194          queue.
1195        - If more scheduling is allowed:
1196          - Call on_write callbacks for highest-priority streams,
1197            placing resulting packets directly onto the scheduled queue.
1198        - If more scheduling is allowed:
1199          - Transfer packets from the low N/2 queue to the scheduled
1200            queue.
1201        - If more scheduling is allowed:
1202          - Call on_write callbacks for non-highest-priority streams,
1203            placing resulting packets directly onto the scheduled queue
1204
1205      The number N is currently 20, but it could be varied based on
1206      resource usage.
1207
1208    - If stream is created due to incoming headers, make headers readable
1209      from on_new.
1210
1211    - Outgoing packets are no longer marked non-writeable to prevent placing
1212      more than one STREAM frame from the same stream into a single packet.
1213      This property is maintained via code flow and an explicit check.
1214      Packets for stream data are allocated using a special function.
1215
1216    - STREAM frame elision is cheaper, as we only perform it if a reset
1217      stream has outgoing packets referencing it.
1218
1219    - lsquic_packet_out_t is smaller, as stream_rec elements are now
1220      inside a union.
1221
12222017-10-12
1223
1224    - Do not send RST_STREAM when stream is closed for reading
1225    - Raise maximum header size from 4K to 64K
1226    - Check header name and value lengths against maximum imposed by HPACK
1227    - Fix NULL dereference in stream flow controller
1228
12292017-10-09
1230
1231    - Hide handshake implementation behind a set of function pointers
1232    - Use monotonically increasing clock
1233    - Make sure that retx delay is not larger than the max of 60 seconds
1234
12352017-09-29
1236
1237    - A few fixes to code and README
1238
12392017-09-28
1240
1241    - Add support for Q041; drop support for Q040
1242
12432017-09-27
1244
1245    - Fix CMakeLists.txt: BoringSSL include and lib was mixed up
1246
12472017-09-26
1248
1249    - Add support for Mac OS
1250    - Add support for Raspberry Pi
1251    - Fix BoringSSL compilation: include <openssl/hmac.h> explicitly
1252
12532017-09-22
1254
1255    - Initial release
1256