This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients EWDurbin, alex, benjamin.peterson, georg.brandl, jmadden, koobs, larry, lemburg, martin.panter, python-dev, skrah, vincent-legoll, yan12125
Date 2016-01-06.02:18:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Koobs: What thing are you suggesting to mock? The remote server perhaps, which is what I want to do too?

Here is a patch that implements my local SSL server idea by reusing ThreadedEchoServer.

There is one problem with local-server.patch, and I don’t know how to fix it properly. At the end of test_bio_handshake() and test_bio_read_write_data(), the unwrap() call keeps raising SSL_ERROR_SYSCALL and the test hangs in an infinite loop. I could work around this by making the server call unwrap() before shutting the socket down. But it would be better to fix ssl_io_loop() if anyone understands what is going wrong.
Date User Action Args
2016-01-06 02:18:26martin.pantersetrecipients: + martin.panter, lemburg, georg.brandl, larry, benjamin.peterson, alex, skrah, python-dev, koobs, jmadden, yan12125, vincent-legoll, EWDurbin
2016-01-06 02:18:24martin.pantersetmessageid: <>
2016-01-06 02:18:24martin.panterlinkissue25940 messages
2016-01-06 02:18:23martin.pantercreate