From: Junio C Hamano Date: Fri, 04 Nov 2011 18:02:30 GMT Subject: Re: [PATCH v3 2/3] http.c: Use timeout suggested by curl instead of fixed 50ms timeout Message-ID: <7v62izdavd.fsf@alter.siamese.dyndns.org> In-Reply-To: Mika Fischer writes: >>                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.