summaryrefslogtreecommitdiff
path: root/t/t4252-am-options.sh
diff options
context:
space:
mode:
authorLibravatar Mika Fischer <mika.fischer@zoopnet.de>2011-11-04 15:19:25 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-11-04 10:46:25 -0700
commit6f9dd67ffea3e86276a73e522ce1186a99bbe65d (patch)
treea417882d167aabf089b4f17bf888f1f20f9d1f53 /t/t4252-am-options.sh
parentGit 1.7.6 (diff)
downloadtgif-6f9dd67ffea3e86276a73e522ce1186a99bbe65d.tar.xz
http.c: Use curl_multi_fdset to select on curl fds instead of just sleeping
Instead of sleeping unconditionally for a 50ms, when no data can be read from the http connection(s), use curl_multi_fdset() to obtain the actual file descriptors of the open connections and use them in the select call. This way, the 50ms sleep is interrupted when new data arrives. Signed-off-by: Mika Fischer <mika.fischer@zoopnet.de> Helped-by: Daniel Stenberg <daniel@haxx.se> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4252-am-options.sh')
0 files changed, 0 insertions, 0 deletions