[issue3372] socket.setsockopt() is broken for multicast TTL and Loop options

2008-07-15 Thread Niall O'Higgins
Niall O'Higgins <[EMAIL PROTECTED]> added the comment: This also appears to be a bug in Python 2.4. -- versions: +Python 2.4 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3372] socket.setsockopt() is broken for multicast TTL and Loop options

2008-07-15 Thread Niall O'Higgins
New submission from Niall O'Higgins <[EMAIL PROTECTED]>: socket.setsockopt() sets an optlen of '4' in the setsockopt system call for options IP_MULTICAST_TTL and IP_MULTICAST_LOOP. On OpenBSD, this causes the kernel to hit an error condition and set errno 22 when

[issue2645] httplib throws ValueError

2008-04-18 Thread Niall O'Higgins
Niall O'Higgins <[EMAIL PROTECTED]> added the comment: Unfortunately I do not get this consistently from any URL. My code is periodically polling a single HTTP server over the Internet. Quite possibly it is triggered by some random network/remote server condition. I have not had

[issue2645] httplib throws ValueError

2008-04-16 Thread Niall O'Higgins
New submission from Niall O'Higgins <[EMAIL PROTECTED]>: I do a lot of urllib2 reads of HTTP URLs. From time to time, I see the following exception being thrown: File "/usr/local/lib/python2.5/socket.py", line 291, in read data = self._sock.recv(recv_size)