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

   When the TLS library retries a callback after a delayed hook completes, ATS 
has already advanced to the next hook phase. Repeating the callback's work can 
replace a plugin-selected certificate or dispatch later hooks with the wrong 
event.
   
   Make the ClientHello and certificate callbacks recognize completed phases:
   
   - Skip completed hooks and preserve the plugin-selected certificate on retry.
   - Still finish CA and session-ticket setup when the certificate callback is 
retried.
   - Preserve existing SNI processing and certificate selection during allowed 
renegotiation, and early rejection when renegotiation is disabled.
   
   Regression tests cover delayed hooks, correct events, certificate 
preservation, and restoration of per-SNI client trust. The resume cases pass on 
OpenSSL and BoringSSL with TLS 1.2 and TLS 1.3. Allowed and disallowed 
renegotiation were also checked, including changes of SNI.
   
   Fixes #13730.
   


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