cURL / Mailing Lists / curl-library / Single Mail


Re: Trying not to wait for reply

From: Daniel Stenberg <>
Date: Mon, 16 Aug 2010 19:16:12 +0200 (CEST)

On Mon, 16 Aug 2010, Jess Hmby wrote:

>>> Hi, is there a way to tell curl not to wait for the server's reply?

> 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 ?

You can make your progress or write callback abort as soon as you've received
the first byte, thus cancelling the reading of the response.

List admin:
Received on 2010-08-16