cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cable Unplugged!

From: Tor Arntsen <tor_at_spacetec.no>
Date: Wed, 23 Apr 2008 10:24:21 +0200

On Wed, Apr 23, 2008 at 9:24 AM, Ramprakash Jelari thinakaran
<jelari_at_gmail.com> wrote:
> Hi all,
> I am doing the HTTP post through multi perform. When the transfer is
> hapenning, i unplugged the cable. But still
> curl_multi_perform returns 0. Is there any way to capture the error for this
> case?.

Unplugging the cable is not an error situation. This is transparent to
the tcp/ip layer. It's really the whole idea about what was originally
Arpanet - there may be a physical break somewhere, but the connection
shall not be affected - possibly delayed, but that's all: Eventually
the physical break will be fixed or the data will be re-routed around
the physical problem.
Received on 2008-04-23