MCPcopy Index your code
hub / github.com/git/git / start_active_slot

Function start_active_slot

http.c:1663–1683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1661}
1662
1663int start_active_slot(struct active_request_slot *slot)
1664{
1665 CURLMcode curlm_result = curl_multi_add_handle(curlm, slot->curl);
1666 int num_transfers;
1667
1668 if (curlm_result != CURLM_OK &&
1669 curlm_result != CURLM_CALL_MULTI_PERFORM) {
1670 warning("curl_multi_add_handle failed: %s",
1671 curl_multi_strerror(curlm_result));
1672 active_requests--;
1673 slot->in_use = 0;
1674 return 0;
1675 }
1676
1677 /*
1678 * We know there must be something to do, since we just added
1679 * something.
1680 */
1681 curl_multi_perform(curlm, &num_transfers);
1682 return 1;
1683}
1684
1685struct fill_chain {
1686 void *data;

Callers 15

start_object_requestFunction · 0.85
fetch_alternatesFunction · 0.85
http_fetch_packFunction · 0.85
run_one_slotFunction · 0.85
start_fetch_looseFunction · 0.85
start_mkcolFunction · 0.85
start_fetch_packedFunction · 0.85
start_putFunction · 0.85
start_moveFunction · 0.85
refresh_lockFunction · 0.85
lock_remoteFunction · 0.85

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected