cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: 7.4.1 Incorrent return code?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 2 Nov 2000 13:14:10 +0100 (MET)

On Thu, 2 Nov 2000, Paul Harrington wrote:

> Running curl with https I get the following error message
> on stdout:
>
> curl: (36) SSL: couldn't get peer certificate!
>
> Is 36 the correct return code? I would have expected a 35.

You're right. It _should've_ been a 35, although an additional error code
slipped in for the 7.4.1 release so it is currently 36...

This will be adjusted in the next release. Until then, you should probably
make a work-around that treat 36 as a 35 for this case. The 36 is normally
"FTP bad download resume". (It is in a similar manner 37 in 7.4.1)

Thanks for reporting!

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on 2000-11-02