[Twisted-Python] Re: Anyone seeing hanging of Twisted HTTPS servers?

Nicola Larosa nico at tekNico.net
Sat May 21 15:32:48 EDT 2005


>> I am getting this same error (with the request going through fine) with
>> version 0.6 of PyOpenSSL.

> Pretty much all Twisted https servers will get this error very often.
> It's just spurious debugging info, afaict,

In fact, any old garbage goes to any SSL protected port, you get this nasty
traceback in the logs. Really has to go, patch included:


--- trunk/twisted/internet/tcp.py       2005-05-06 23:17:03.000000000 +0200
+++ trunk-mod/twisted/internet/tcp.py   2005-05-21 21:29:10.000000000 +0200
@@ -125,7 +125,7 @@
             log.err()
             return main.CONNECTION_LOST
         except SSL.Error:
-            log.err()
+#            log.err()
             return main.CONNECTION_LOST

     def doWrite(self):


-- 
Nicola Larosa - nico at tekNico.net

How can I in five minutes shift a lifetime's hidden pain?
 -- Julia Fordham, Girlfriend, Porcelain, 1989





More information about the Twisted-Python mailing list