yaocaigen / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

httplib2 performance #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=508437&group_id=547
0

Also, from Tim Kientzle:

> Unfortunately, the workaround mentioned in that bug
> report isn't entirely safe. Because httplib instantiates
> the buffering layer (via socket.makefile()) per-request,
> it has to either disable buffering or risk over-running the next
> response on the wire. Disabling buffering means that you
> have a separate system call to read each byte of HTTP
> header, which is truly painful.

Original issue reported on code.google.com by joe.gregorio@gmail.com on 31 Jul 2007 at 1:13

GoogleCodeExporter commented 9 years ago
Would implementing asynchronous sockets help?
http://docs.python.org/lib/module-asyncore.html

Original comment by rene.leonhardt@gmail.com on 29 Sep 2007 at 7:29

GoogleCodeExporter commented 9 years ago
The linked sourceforge ticket is "a private artifact".  Perhaps, if you can 
still
access it, you could a larger (copied) description of the issue here?

Original comment by jdu...@gmail.com on 13 Nov 2007 at 2:48

GoogleCodeExporter commented 9 years ago
Rats, that isn't in the httplib2 sourceforge project, but instead in another 
project
on  sourceforge. 

Original comment by joe.gregorio@gmail.com on 19 Nov 2007 at 6:11