A RetroSearch Logo

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

Search Query:

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

[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
Fri, 31 Jan 2003 17:20:40 -0500
Ben Laurie [mailto:ben@algroup.co.uk] wrote:
> The point is that in the standard case, a byte on the network is a byte 
> in the application, so you either get a byte or you time out in the 
> specified time.
> 
> In the SSL case, you could neither get a byte nor time out, at the 
> application layer, until much, much later than you thought you specified.
> 
> This seems broken to me, and POLA would suggest I'm right (i.e. if I say 
> time out in 1 second, I'll be pretty astonished when that turns into a
day).
> 

I would agree if we were talking about a timeout that was explicitly set on
the SSL layer.  But if I set a timeout on a socket, I expect it to apply to
the individual low-level socket operations, not to the higher level SSL
operations.

- 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