cmcfarlen opened a new pull request, #14089: URL: https://github.com/apache/trafficserver/pull/14089
Cherry-picks for the 10.2.2 release from the `For v10.2.2` column of the [ATS v10.2.x project](https://github.com/orgs/apache/projects/573), in master merge order. | # | PR | master SHA | Note | |---|---|---|---| | 1 | #13519 | `c6a1414e` | Make QUIC connection ID creation explicit | | 2 | #13554 | `24cc1881` | Contention-aware per-event send budget for QUICStream | | 3 | #13631 | `a00899ac` | HTTP/3: reject an unknown ALPN instead of aborting | | 4 | #13632 | `99ac4cc3` | HTTP/3: add Http3StreamDataVIOAdaptor unit tests | | 5 | #13628 | `cbca2bd2` | QPACK: look up stream references without inserting | | 6 | #13629 | `902a2432` | HTTP/3: bound the DATA payload copy to the frame | | 7 | #13627 | `a60458f4` | Preserve full width of SETTINGS frame identifiers | | 8 | #13635 | `f753de1d` | HTTP/3: compare stream ids at full width in HQSession lookup | | 9 | #13768 | `5cc13fbf` | cache: reject a Doc longer than the bytes read — *test adapted* | | 10 | #13844 | `4296d668` | Serialize SSL_SECRET hooks during parallel cert loading | | 11 | #13935 | `0e09a2d6` | Bound the port parse in ats_ip_pton | | 12 | #13636 | `8aaf870f` | QPACK: free arena strings in reverse allocation order — *test drift* | | 13 | #13924 | `8589e334` | qpack: stop dropping header fields that do not fit in one buffer block | | 14 | #14001 | `264a582f` | QPACK: cancel pending decode results when a transaction goes away — *test drift* | | 15 | #13606 | `f05a3290` | Release coalesced connect reservations before retries — *adapted* | | 16 | #13641 | `0c929d14` | Credit discarded H2 DATA to the connection window — *Ruff reformat* | | 17 | #13923 | `4ec3f78a` | Clear cache directory segments with corrupt links on load — *test drift* | | 18 | #14026 | `e415146f` | Fix test_QPACK build after decode() lost its thread arg | | 19 | #13926 | `99f11336` | Keep the MIME field free list sorted by slot | | 20 | #14002 | `0ad1eb4f` | Keep the stats_over_http reset body in the intercept | | 21 | #14027 | `d1066260` | Free OpenSSL QUIC stream objects once HTTP/3 deletes the stream | | 22 | #13992 | `666beaec` | Remove unread remap rule hit counting | | 23 | #14005 | `e1c00930` | Pin configs per event thread instead of refcounting per use — *adapted* | | 24 | #14007 | `96f2eb0a` | Wait for the plugin mutex when delivering a plugin msg | | 25 | #13998 | `5b5c581c` | Finish origin handshakes a PERMISSIVE verify hook rejects — *drift* | | 26 | #14039 | `547d2495` | stats_over_http: Fix GCC 11 -Wstringop-overread in the records[] filter | | 27 | #14040 | `850603f4` | Fix the GCC 12 release build of test_thread_safety | | 28 | #14041 | `1991c3c1` | Build the coverage preset without cripts | | 29 | #14012 | `3ffa7861` | urtest: skip stats_over_http continuation counts under malloc | | 30 | #13997 | `edf75db3` | Add per-thread caches for 4K-32K IOBuffer blocks | | 31 | #13957 | `1068feb6` | Avoid connection tracker locks on client accept | | 32 | #14035 | `0607aefe` | QUIC: one OpenSSL QUIC listener per net thread | | 33 | #14051 | `e80218c0` | Reset HTTP/2 origin streams that ATS gives up on | | 34 | #14052 | `2a7b0031` | Retire an HTTP/2 origin session after a stream times out | | 35 | #14057 | `33117745` | Do not destroy a locked mutex in DbgCtl | | 36 | #13974 | `8f8833ce` | Bind the session id context after a paused ClientHello — *adapted* | | 37 | #13809 | `3cef2a69` | List every ClientHello extension type on OpenSSL — *adapted* | | 38 | #14059 | `f03758fe` | Skip event loop stats for threads not yet running | | 39 | #14068 | `7fe5f008` | Require the same SNI after a HelloRetryRequest | | 40 | #14056 | `90c1b1b6` | Make the Throttler suppressed count atomic | | 41 | #14069 | `06f91c70` | Fix the Uranium tests that fail on every nightly quiche build — *drift* | | 42 | #14070 | `d5a7c4d7` | Fix test_tls_sni_groups and http2_flow_control in the coverage nightly | All are `MERGED`, `base=master`, single-parent squash merges, none labeled `Incompatible`, none already present on 10.2.x. The picks not marked in the Note column apply cleanly. ### Not picked - **#13953** fixes a stall in the write-readiness wait that #13512 added to `HttpSM::state_raw_http_server_open`. 10.2.x does not have #13512, so it does not have the bug (same as in #13996). - **#13838** (jax_fingerprint `--log-field`) is held for now. ### Adaptations - **#14005**: `VirtualHost` is not on 10.2.x, so its `config_id()` and `HttpSM::m_virtualhost_entry` are dropped. 10.2.x still has the inline `EThread::execute_regular()` loop from before #13899, so the `between_events` hook goes after the poll events and before the sleep time is computed, which is where master's `fire_ready_events()` returns. Every `scoped_config` on 10.2.x has a `config_id()` that returns the slot its `acquire()` reads. Apart from the license header, the merged `ConfigProcessor.h/.cc` are identical to master after #14005. - **#13606**: `ConnectingEntry.cc` is master's post-#13606 file, with the RPK pinning choice (#13548, not on 10.2.x) replaced by the plain `validate_server_certificate_hostname()` check that 10.2.x uses. `test_ConnectingEntry.cc` comes from #13896, which is not on 10.2.x, so it is dropped. - **#13974**: master runs the ClientHello hooks in the `resuming_client_hello_hooks()` loop from #13949, which is not on 10.2.x. This keeps 10.2.x's single `callHooks()` call, inside #13974's new `!finished_client_hello_hooks()` guard, so a renegotiation still reaches the bind. - **#13809**: the upgrade note goes at the end of "Changes in 10.2.2" in `upgrading.en.rst`. The `clear_client_hello()` declaration from #13949 is dropped because #13809 does not use it. Only `test_TLSSNISupport.cc` is added to `test_net`. - **#13768**: the fix applies unchanged. One `test_CacheVC_read.cc` row (`{4096, not ours}`) is dropped. It relies on #13603's `unmarshal_http_info()` marking a short header block corrupt; on 10.2.x that block hits the `HTTPInfo::unmarshal` assert instead. - **#13998**: only the comment change applies to `ssl_verify_client_callback`. The conflict context was master's RPK code. - **#13636, #14001, #13923**: test-file drift only. Tests 10.2.x already has keep their 10.2.x form, and only the new test cases come over. - **#14069**: `test_tls_signature_algorithms.py` is not on 10.2.x, so that hunk is dropped. - **#13641**: two Python tests reformatted for 10.2.x's Ruff. ### Testing macOS with AppleClang and OpenSSL 3.5 native QUIC, experimental plugins on: build clean and `format` clean. ctest passes all 93 tests that do not need an installed ATS, including the new `test_cache_CacheVCRead`, `test_ConfigPins` and `test_TLSSNISupport` cases. The `verify_*` plugin-load tests need an installed layout and were not run. Uranium tests are left to CI. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
