Message257578
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:26 | martin.panter | set | recipients:
+ martin.panter, lemburg, georg.brandl, larry, benjamin.peterson, alex, skrah, python-dev, koobs, jmadden, yan12125, vincent-legoll, EWDurbin |
2016-01-06 02:18:24 | martin.panter | set | messageid: <1452046704.2.0.242476638618.issue25940@psf.upfronthosting.co.za> |
2016-01-06 02:18:24 | martin.panter | link | issue25940 messages |
2016-01-06 02:18:23 | martin.panter | create | |
|