#1142 Timeout error code 28 variable

closed-works-for-me
1
2013-06-21
2012-09-15
David
No

libcurl error code 28 is actually defined as
"CURLE_OPERATION_TIMEOUTED ".

Both the man pages and website are wrong here.

Discussion

  • David
    David
    2012-09-15

    • priority: 5 --> 1
     
  • Dan Fandrich
    Dan Fandrich
    2012-09-15

    Error code 28 has been CURLE_OPERATION_TIMEDOUT for years. What version are you reporting this against?

     
  • commit 255b1e68d07355e08210ef57c511bbd9d7d9739e
    Author: Daniel Stenberg <daniel@haxx.se>
    Date: Mon Nov 18 21:58:46 2002 +0000

    as requested, CURLE_OPERATION_TIMEDOUT is now the same as
    CURLE_OPERATION_TIMEOUTED

    So it has existed for almost 10 years and we made that spelling the one used "by default" back in 2007. I don't see where there is anything wrong.

     
    • status: open --> pending-works-for-me
     
  • David
    David
    2012-09-16

    I am using Ubuntu 12.05 and the "libcurl4-gnutls-dev"-package.
    curl-config --version returns: libcurl 7.22.0

    I see that both work now though. I must´ve misspelled "CURLE_OPERATION_TIMEDOUT" (and thus thought the CURLE_OPERATION_TIMEOUTED was the "new way").
    Sorry.

     
    • status: pending-works-for-me --> closed-works-for-me