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