[darcs-users] [patch336] Add environment variable DARCS_CONNECTION_TIMEOUT
Adolfo Builes
builes.adolfo at googlemail.com
Tue Aug 10 22:08:21 UTC 2010
>
> Also, why is this curl only? Perhaps you've explained this to me
> already, in which case, sorry! That said, it may actually be quite
> acceptable for this to be a feature that's only supported with curl
> as that's what most users are likely using Darcs with.
>
Yes, just curl.
>> + const char *stime_out;
>> +
>> + stime_out = getenv("DARCS_CONNECTION_TIMEOUT");
>> + if (stime_out != NULL)
>> + time_out = atol (stime_out);
>
> What happens to darcs if DARCS_CONNECTION_TIMEOUT is not a number?
> Like "DARCS_CONNECTION_TIMEOUT=20 "
>
probably an error, I will fix it.
--
Adolfo
More information about the darcs-users
mailing list