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 illo
Recipients
Date 2003-08-05.00:18:44
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Added a parameter (server_mode, type int) to the 
newPySSLObject() function. If its value is non-zero, a server 
SSL transaction is attempted - by using SSL_accept() instead 
of SSL_connect().
Also, the parameter has been added to the PySocket_ssl() 
constructor function (it defaults to 0 for compatibility) and 
the ssl() documentation reflects the change.

A new python function has been added (pending(), C function 
PySSL_SSLpending()), which calls SSL_pending() and returns 
its return value as a python integer. Added documentation 
for this one, too.
The return value is the number of bytes still to be read from 
the input buffer, so that if it's greater than zero it is useless 
to call a select() in a nonblocking scenery.

Trivial patch but it's the only way to code an SSL server 
without third-party stuff.
History
Date User Action Args
2007-08-23 15:28:33adminlinkissue783188 messages
2007-08-23 15:28:33admincreate