cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Issue with Curb and closing connection

From: Emmanuel Pinault <seatmanu_at_gmail.com>
Date: Wed, 2 Sep 2009 13:54:43 -0700

Interesting .. Sounds like something is not done correctly then on
curb.. Also I noticed that receiving a 503 with no body caused curb to
keep waiting forever....

Would that be normal? Doesn't curl easy handle that automatically or
this is something that the curb dev would have to handle

Emmanuel
On Sep 2, 2009, at 1:41 PM, Jeff Pohlmeyer wrote:

> On Sep 2, 2009, Emmanuel Pinault wrote:
>
>> Is there a way to force the closing of the connection?
>
> Just glancing at the curb code, it looks like it lacks settings for
> the
> CURLOPT_FORBID_REUSE, CURLOPT_FRESH_CONNECT and
> CURLOPT_MAXCONNECTS options.
>
> It sounds to me like one of those might be what you're looking for.
>
>
> - Jeff
Received on 2009-09-02