bneradt opened a new pull request, #14055:
URL: https://github.com/apache/trafficserver/pull/14055

   The BoringSSL certificate compression cache keeps one compressed
   Certificate message per SSL_CTX and algorithm, but that message
   carries the OCSP staple and SCT list. BoringSSL only includes those
   when the client asks for them, so clients that did and did not request
   a staple shared whichever message was cached first. A handshake that
   picked up the old staple could also finish compressing after an OCSP
   refresh cleared the cache and publish the stale staple into the empty
   slot, where it would be served until the next refresh, possibly days
   later.
   
   This patch addresses this by keying cached entries by the exact
   uncompressed message and keeping a few entries per algorithm. A slot
   is only filled from empty, so an entry is never replaced while a
   handshake may be reading it, and a stale or mismatched entry is never
   served. When every slot is taken the handshake still compresses its
   own message. New unit tests cover the cache variants, the stale
   publish after invalidation and the full-cache fallback.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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