[issue22870] urlopen timeout failed with SSL socket

Dave Tian report at bugs.python.org
Mon Nov 17 10:51:35 CET 2014


Dave Tian added the comment:

Alright. The issued URL of my case is here: www.5giay.vn
Nor am I a ssl dev...Here is what happens after further debugging: PySSL_SSLread() returns 1/2 bytes without any error/timeout per call. readline() in socket.py keeps looping. Occasionally, it may break out because of a newline recv’d. However, readheaders() in httplib.py repeats the readline() again because of another while True loop. I have no idea why I’ve got only 1/2 bytes recv’d from SSLread(). I am using my Mac OS for testing. Hope this is clear for further investigation if anyone would like to dig in.

Dave Tian
dave.jing.tian at gmail.com

> On Nov 16, 2014, at 2:38 AM, R. David Murray <report at bugs.python.org> wrote:
> 
> 
> R. David Murray added the comment:
> 
> I won't be the one, as I'm not conversant with the ssl C code.  What would be helpful right now would be a recipe for reproducing the problem.
> 
> ----------
> nosy: +alex, pitrou
> 
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue22870>
> _______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22870>
_______________________________________


More information about the Python-bugs-list mailing list