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

Function run_one_slot

http.c:1988–2001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1986}
1987
1988int run_one_slot(struct active_request_slot *slot,
1989 struct slot_results *results)
1990{
1991 slot->results = results;
1992
1993 if (!start_active_slot(slot)) {
1994 xsnprintf(curl_errorstr, sizeof(curl_errorstr),
1995 "failed to start HTTP request");
1996 return HTTP_START_FAILED;
1997 }
1998
1999 run_active_slot(slot);
2000 return handle_curl_result(results);
2001}
2002
2003struct curl_slist *http_copy_default_headers(void)
2004{

Callers 2

http_requestFunction · 0.85
run_slotFunction · 0.85

Calls 4

start_active_slotFunction · 0.85
xsnprintfFunction · 0.85
run_active_slotFunction · 0.85
handle_curl_resultFunction · 0.85

Tested by

no test coverage detected