bneradt commented on PR #13809:
URL: https://github.com/apache/trafficserver/pull/13809#issuecomment-6641336043

   @bryancall: thanks. Both points are addressed at 88a558f77c, rebased on 
master.
   
   - **`<span>`**: `parse_client_hello_extension_types()` now takes `int 
*types, size_t capacity` instead of a `std::span`, and `TLSSNISupport.h` no 
longer includes `<span>`. I folded this into f395c365d4, "Keep raw ClientHello 
extension types off the heap". The fixed 32-entry buffer and the heap fallback 
are unchanged.
   - **Reading back the heap list**: `TLSSNISupport` has a new protected 
`_get_raw_extension_types(size_t &count)`, which `RecycledTLSSNISupport` 
exposes. On every recycle, the recycle test now checks that all 40 types match 
in wire order, and that `_clear()` leaves no list recorded. I checked that 
dropping the second parse into the heap buffer now fails the test (160 failed 
assertions), and that the leak checks still pass.
   
   At 88a558f77c, in an ASan build, all 97 `test_net` ctest cases and 75 
urtests (`jax_fingerprint`, `ja4`, `ja3`, `client_hello`, `tls_hooks` and 
`sni`) pass.
   


-- 
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]

Reply via email to