On Tue, 4 Mar 2003 [EMAIL PROTECTED] wrote:
>    I need to send HTTP Requests without waiting for the response. Has
> anyone done this before?
[...]

Somewhere there is an asynchronous version of LWP, implemented using
select(), I think.  It's still experimental, and I don't think it's being
maintained.  You write callbacks instead of sequential code.  LWPng, I
think it's called.

Otherwise, you could stick with standard LWP and use threads, or multiple
processes with some kind of IPC.

Possibly the nearest Python equivalent of LWPng, asyncurl, is more stable
than LWPng, though it seems to have a very low profile on the net.  Or,
lower level:

http://asynchttp.sourceforge.net/

(which is worth a visit just for the picture :-)

Before you go down this route, make sure you can't get away with just
setting a timeout.


John

Reply via email to