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

Function _httpDisconnect

cups/http.c:537–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535 */
536
537void
538_httpDisconnect(http_t *http) /* I - HTTP connection */
539{
540#ifdef HAVE_TLS
541 if (http->tls)
542 _httpTLSStop(http);
543#endif /* HAVE_TLS */
544
545 httpAddrClose(NULL, http->fd);
546
547 http->fd = -1;
548}
549
550
551/*

Callers 1

httpCloseFunction · 0.85

Calls 2

httpAddrCloseFunction · 0.85
_httpTLSStopFunction · 0.70

Tested by

no test coverage detected