Hi list,

I'm 99% sure httplib is sporadically hanging when I call read() on the
HTTPResponse object (r.status == 200).

Evidence:
    straceing the process shows it's blocked in recvfrom()
    ls -la /proc/pid/fd shows the socket-id for recvfrom() file 
descriptor (3)
    lsof -n | grep socket-id shows the connection to the HTTP server (on 
localhost:8080)
    tcpdump -s 10000 -XXX -i lo port 8080 shows a response IS coming 
over the wire

This seems to be a common problem (according to the internets) but
I haven't seen a resolution or explanation posted.

I've tried httplib.py from Python 2.3 and also dropped in the one from
Python 2.5 with no difference.  Running on Linux kernel 2.6 (CentOS's, 
specifically).

Any responses CC me as I'm not subscribed [since Python has worked so
flawlessly for me otherwise <g>]

-- 
Michael Bacarella <[EMAIL PROTECTED]>
Director of Technology

1-212-488-2222 (office)
1-646-641-8662 (mobile)

http://gpshopper.com/
http://slifter.com/

GPSHOPPER, LLC
307 Seventh Avenue
Suite 2104
New York, NY 10001

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to