[71235] trunk/base/src/pextlib1.0/curl.c

Ryan Schmidt ryandesign at macports.org
Sun Sep 5 14:25:26 PDT 2010


On Sep 5, 2010, at 16:03, raimue at macports.org wrote:

> Revision: 71235
>          http://trac.macports.org/changeset/71235
> Author:   raimue at macports.org
> Date:     2010-09-05 14:03:05 -0700 (Sun, 05 Sep 2010)
> Log Message:
> -----------
> Revert r71103 and use CURLOPT_CONNECTTIMEOUT instead of CURLOPT_TIMEOUT for all
> curl commands. According to the man page, this is what we actually want:
> "maximum time in seconds that you allow the connection to the server to take.
> This only limits the connection phase, once it has connected, this option is
> of no more use."

Thanks for looking into this timeout stuff. I figured we would have had something like that in MacPorts already by now!

Have you also put in any rate-limiting checks? I've run into problems lately with the mirror for gcc46 delivering part of a file to me, then stalling, and MacPorts sitting forever waiting for data and not giving up and trying another mirror as I would prefer. I'm running the 1.9 branch though, not trunk, so if you've already made improvements there I haven't seen them yet.





More information about the macports-dev mailing list