report at bugs
Aug 22, 2012, 12:48 AM
Post #7 of 7
danblack added the comment:
[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default
[In reply to]
> Thanks for the patch
> Daniel. 3.3 is nearing the release candidate phase, so I'm re-targetting to 3.4. I'll take a detailed look soon.
Welcome. Just noticed conflicts with #4473 in the client POP implementation. Hopefully they are close anyway.
> (I suppose there's no easy way to write automated tests for this, unfortunately)
Well since #8109 writes the server SNI its getting easier.
In Lib/test/test_ssl.py combined with the changes of #8109 it would seem that changing ConnectionHandler.run to respond to "AUTH TLS", "AUTH SSL" (ftp) and "STLS" for pop (preempt #4473).
Changing server_params_test to support a proper arguments that correspond the the client protocol would be the way to do it.
> By the way, could you sign a contributor agreement
yes - emailed in.
Python tracker <report [at] bugs>
Python-bugs-list mailing list