[Python-Dev] httplib and bad response chunking (original) (raw)
John J Lee jjl at pobox.com
Sat Jul 29 00:59:37 CEST 2006
- Previous message: [Python-Dev] httplib and bad response chunking
- Next message: [Python-Dev] httplib and bad response chunking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 25 Jul 2006, Greg Ward wrote: [...]
Where I'm getting hung up is how far to test this stuff.
Stop when you run out of time ;-)
I have discovered other hypothetical cases of bad chunking that cause httplib to go into an infinite loop or block forever on socket.readline(). Should we worry about those cases as well, despite not having seen them happen in the wild? More annoying, I can reproduce the "block forever" case using a real socket, but not using the StringIO-based FakeSocket class in testhttplib.
They have been seen in the wild :-)
The IP address referenced isn't under my control, I don't know if it still provokes the error, but the problem is clear.
John
- Previous message: [Python-Dev] httplib and bad response chunking
- Next message: [Python-Dev] httplib and bad response chunking
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]