cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Trying not to wait for reply

From: Frank Mcgeough <fmcgeough_at_mac.com>
Date: Fri, 13 Aug 2010 08:52:40 -0400

On Aug 13, 2010, at 7:46 AM, Jess Hmby wrote:

> Hi, is there a way to tell curl not to wait for the server's reply?
> My client requests the server to send the reply to a third machine.
> And the reply arrives ok to this third party but the client keeps
> waiting for the reply and gets stuck there.
> -------------------------------------------------------------------

It sounds a bit awkward. Assuming you are using HTTP and asking the
server to perform a service on your behalf then it should return OK
meaning "I got this and I'll take care of it". The server's
interaction with some other party is not your concern at that point. I
mean, I guess you could just hang up on the server after your request
but I'm not sure how you know that the server is in the state of "yes,
I got that and I'll take care of it".

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-13