cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Trying not to wait for reply

From: Jess Hmby <tyo7_at_hotmail.com>
Date: Mon, 16 Aug 2010 08:30:40 +0200

> Message: 3
> Date: Fri, 13 Aug 2010 08:52:40 -0400
> From: Frank Mcgeough <fmcgeough_at_mac.com>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: Trying not to wait for reply
> Message-ID: <4F28440B-4A31-43A4-B8F1-B1357699BE74_at_mac.com>
> Content-Type: text/plain; charset="us-ascii"; Format="flowed";
> DelSp="yes"
>
> 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".

Hi, yes I know it is awkward, I am trying several uncommon things these days. The idea is to send a response later from that third server. It would also be useful for HTTP/RTSP tunelling. So to do that hang up you suggest is there a specific way to do that with libcurl or should I do it directly ?
                                               

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