Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH v3 2/3] http.c: Use timeout suggested by curl instead of fixed 50ms timeout

From: Jeff King <hidden>
Date: 2016-06-15 22:52:23

Possibly related (same subject, not in this thread)

On Fri, Nov 04, 2011 at 06:47:44PM +0100, Mika Fischer wrote:
quoted
               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.
C99 is not OK. But this is not C99, as the conditional opens a new
block.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help