Re: [PATCH v3 2/3] http.c: Use timeout suggested by curl instead of fixed 50ms timeout
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 4, 2011, 18:02 UTC
- Message-ID
- <7v62izdavd.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAOs=hRKxc9SdE_HTnfs+WdnxZEY6yF9MBV_K1FX2=7B7xtj7-w@mail.gmail.com>
Mika Fischer <mika.fischer@zoopnet.de> writes:
Show 9 quoted lines
>> if (slot->in_use && !data_received) {
>> #if LIBCURL_VERSION_NUM >= 0x070f04
>> + long curl_timeout;
>> curl_multi_timeout(curlm, &curl_timeout);
>> if (curl_timeout == 0) {
>> continue;
>
> Ah yes, that's good. I would have done it this way in C++, but I
> wasn't sure whether C99 is OK for git.I do not see anything C99 here.