curl-and-python
Fwd: pycurl update for multi interface
Date: Wed, 9 Oct 2013 09:59:17 -0700
[originally posted to libcurl list in error]
hey, browsed through C multi interface api,
there are quite a few options marked (Added in 7.30.0)
mostly to do with http pipelining.
these too should be added to pycurl.
while on the subject, should pycurl provide an easy/sample loop around
perform()/fdset()/select()/info_read() calls? for those of us who just
want to load a bunch of requests into a multi object and get the
results?
an api could be smth like
completed_handles = multi_handle.perform(timeout=None)
# block up to timeout seconds (float) or until some request returns
(well or badly)
# return [] immediately or wait or even raise an exception if
multi_handle is empty (?)
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-10-09