From marketing4u at mixmail.com Thu Apr 3 11:31:48 2003 From: marketing4u at mixmail.com (marketing4u at mixmail.com) Date: Thu, 3 Apr 2003 03:31:48 -0600 Subject: [pyOpenSSL] Refinance your Home Today! Message-ID: <200304030931.h339VFEp015025@mail.activehardwood.com> An HTML attachment was scrubbed... URL: From dave at immunitysec.com Tue Apr 8 19:24:52 2003 From: dave at immunitysec.com (Dave Aitel) Date: Tue, 8 Apr 2003 13:24:52 -0400 Subject: [pyOpenSSL] Timeouts In-Reply-To: <20021115173749.GF465@mkintraweb.com> References: <20021115173749.GF465@mkintraweb.com> Message-ID: <20030408132452.49d88e40.dave@immunitysec.com> Were there any bugs fixed in 0.5.1 relating to timeouts? I'm having no problems on my Linux 0.5.1 box, but my Windows 0.5 box is failing to actually timeout (until 300 seconds or so, I'll bet). I have used set_timeout() on the ctx. -dave On Fri, 15 Nov 2002 09:37:49 -0800 Kevin Lindsay wrote: > Hello, I've been using pyopenssl with python's BaseHTTPServer and have > stumbled on to racy bug. > > The server sometimes blocks indefinetly during the SSL handshake > during a read(). It appears todo this when there are reverse dns > issues with the client ip or dns server. Maybe if the dns server is > slow to respond... Basically everything is well and speedy when I > added my client's IP to /etc/hosts on the server. (linux 2.4.19, > debian woody). > > After alot of debugging it seems the following is happening (I'm not > very familiar with SSL or pyOpenSSL internals) so here is the high > level list of events: > > 1) Browser Connects to server > 2) Server does handshake > 3) Server blocks on read() > 4) Browser waits for response from server indefinetly > > This only happens with Mozilla based browsers, IE and Opera timeout > after 5 seconds and will resend the connection request, Mozilla > doesn't so will spin forever. > > It is a bit racy and only occurs when the server is serving 10 or so > images at once and I hit reload multiple times. > > I've tested it without threads and the problem still exists. Its the > only issue I can see with pyOpenSSL, other than that its been > excellent. > > If anyone has any ideas or would like more info on debugging this > thing let me know. > > Kevin- > > --------------------------------------------------- > Kevin Lindsay > Debian Developer > Fingerprint: 81E 58A3 B49A 580E EE3D 8CF0 519A 55F0 746C 51F4 > Key Id: 746C51F4 > > > ------------------------------------------------------- > This sf.net email is sponsored by: To learn the basics of securing > your web site with SSL, click here to get a FREE TRIAL of a Thawte > Server Certificate: http://www.gothawte.com/rd524.html > _______________________________________________ > pyopenssl-list mailing list > pyopenssl-list at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pyopenssl-list >