A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-January/032456.html below:

[Python-Dev] the new 2.3a1 settimeout() with httplib and SSL

[Python-Dev] the new 2.3a1 settimeout() with httplib and SSL [Python-Dev] the new 2.3a1 settimeout() with httplib and SSLGeoffrey Talvola gtalvola@nameconnector.com
Mon, 27 Jan 2003 11:59:56 -0500
Guido van Rossum [mailto:guido@python.org] wrote:
> Hm, when I added the timeout feature, I didn't think of SSL at all.  I
> imagine that SSL gets an error and keeps retrying immediately, rather
> than using select() to block until more data is available.
> 
> Part of this is that this simply doesn't work for SSL -- you shouldn't
> do that.  (Sorry if you want it -- it's beyond my capabilities to hack
> this into the SSL code.)
> 
> Part of this is that the SSL code should refuse a socket that's in
> nonblocking mode, *or* perhaps should restore blocking mode; I'm not
> sure.
> 
> Anyway, please do enter a bug report.  (A patch would be even cooler!)

I entered a bug report.  I'll look at the source and see if I can come up
with a patch.

- Geoff



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4