MCPcopy Create free account
hub / github.com/OpenPrinting/cups / http_set_wait

Function http_set_wait

cups/http.c:4627–4639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4625 */
4626
4627static void
4628http_set_wait(http_t *http) /* I - HTTP connection */
4629{
4630 http->wait_value = (int)(http->timeout_value * 1000);
4631
4632 if (http->wait_value <= 0)
4633 {
4634 if (http->blocking)
4635 http->wait_value = 60000;
4636 else
4637 http->wait_value = 1000;
4638 }
4639}
4640
4641
4642#ifdef HAVE_TLS

Callers 3

httpBlockingFunction · 0.85
httpSetTimeoutFunction · 0.85
http_createFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected