Darryl Miles darryl.mi...@darrylmiles.org added the comment:
With regards to create test cases for certain situations, sure this would be
possible but not with pure python since your APIs deny/inhibit the particular
things required to force a situation for a test case.
With regards
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
I am unable to get make test to run from an unpatched version in SVN (details
below of make output).
Please find attached an updated patch for your consideration (and testing, as I
can't test it due to 'make test' SIGSEGV on CentOS
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
To explain why you need 2 modes, a client/server would expect to do the
following pseudo actions for maximum efficiency:
set_socket_timeout(600_SECONDS) # or useful default
send_data_over_ssl(QUIT\r\n)
shutdown
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
In order to build Python with a specific version of OpenSSL followed the CYGWIN
instructions and edited Modules/Setup to make it read (note - I added
-L$(SSL) into the linker options too, since by default on CentOS 5.4 i386
OpenSSL
Darryl Miles darryl.mi...@darrylmiles.org added the comment:
I've updated my attachment to the bug, if you read the old one please re-read
the updated version (since some points in there were not accurate).
With regards to the OpenSSL error return -1/ERROR_SYSCALL with errno==0 being
observed
Changes by Darryl Miles darryl.mi...@darrylmiles.org:
Removed file: http://bugs.python.org/file16838/python_ssl.c.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8108