ansh0014 commented on issue #13986:
URL: 
https://github.com/apache/trafficserver/issues/13986#issuecomment-6621184470

   Hey,@maskit 
   I would like to take this up and submit a PR.
   
   The analysis is spot-on: per RFC 6066 ยง3, 
`NetVCOptions::set_sni_servername()` drops IP literals so no SNI is sent, but 
`validate_sni()` compares `session_sni` (`nullptr`) against `proposed_sni` (the 
literal string), causing the comparison to always fail.
   
   I plan to update the comparison to treat IP-literal outbound SNI as 
empty/no-name (matching what the handshake actually transmits) and add unit 
test coverage in `test_HttpSessionManager.cc`.


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