MCPcopy Create free account
hub / github.com/git/git / release_active_slot

Function release_active_slot

http.c:1819–1831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1817}
1818
1819static void release_active_slot(struct active_request_slot *slot)
1820{
1821 closedown_active_slot(slot);
1822 if (slot->curl) {
1823 xmulti_remove_handle(slot);
1824 if (curl_session_count > min_curl_sessions) {
1825 curl_easy_cleanup(slot->curl);
1826 slot->curl = NULL;
1827 curl_session_count--;
1828 }
1829 }
1830 fill_active_slots();
1831}
1832
1833void finish_all_active_slots(void)
1834{

Callers 1

Calls 3

closedown_active_slotFunction · 0.85
xmulti_remove_handleFunction · 0.85
fill_active_slotsFunction · 0.85

Tested by

no test coverage detected