cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl Command Line Usage, Response code 2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 5 Dec 2014 19:21:47 +0100 (CET)

On Fri, 5 Dec 2014, rcone wrote:

> We use curl 7.15.5 on Red Hat 5.10 (using the Red Hat controlled yum
> updating). We noticed just a tiny few curl response code 2's. I can't seem
> to get a good feel for what this response is for and why it happens (and how
> to prevent, etc.). Does anyone have some insight?

"Response code", is that what curl returns you mean or what it outputs?

Return code 2 is CURLE_FAILED_INIT which is something internally that fails
and there's not a lot to do as a mere user.

Your curl version is over 8 years old. It is bound to have this charming set
of faults you'll have to work around. =)

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-12-05