[Twisted-Python] Problem in twisted.internet.tcp when using ssl

Itamar Shtull-Trauring twisted at itamarst.org
Wed Jul 10 11:04:14 EDT 2002


Martin Sjögren wrote:

> The writeSomeData method of Connection objects may sometimes be called
> with a zero length buffer. This works fine when using plain TCP, but
> when using ssl, this will cause a ZeroReturnError (which is completely
> bogus!) and everything...well...blows up.

In the interest of not breaking anything which might possibly, however 
unlikely, depend on tcp.py's behaviour, I've made this change in ssl.py. 
So cvs up and tell me if it's ok now.







More information about the Twisted-Python mailing list