[issue45423] SSL SNI varies when host contains port number

2021-10-10 Thread Christian Heimes
Christian Heimes added the comment: I have tested your assumption with wireshark. It's not the TLS SNI extension. In both cases ssl module sends SNI "ci.hexf.me". The issue is likely caused by HTTP Host header. The host header contains the port. I'm attaching the capture and keylog file. --

[issue45423] SSL SNI varies when host contains port number

2021-10-10 Thread Christian Heimes
Change by Christian Heimes : Added file: https://bugs.python.org/file50340/keylog ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue45423] SSL SNI varies when host contains port number

2021-10-10 Thread Thomas Hobson
New submission from Thomas Hobson : Not entirely sure if this is intended. When using urllib.request.urlopen, with a hostname and a varying port the SNI information sent differs. To my undersnding, the SNI info shouldn't include the port and should only include the actual host. Attached is a