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

Function delete_client

tools/ippeveprinter.c:2087–2109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2085 */
2086
2087static void
2088delete_client(ippeve_client_t *client) /* I - Client */
2089{
2090 if (Verbosity)
2091 fprintf(stderr, "Closing connection from %s\n", client->hostname);
2092
2093 /*
2094 * Flush pending writes before closing...
2095 */
2096
2097 httpFlushWrite(client->http);
2098
2099 /*
2100 * Free memory...
2101 */
2102
2103 httpClose(client->http);
2104
2105 ippDelete(client->request);
2106 ippDelete(client->response);
2107
2108 free(client);
2109}
2110
2111
2112/*

Callers 2

process_clientFunction · 0.85
run_printerFunction · 0.85

Calls 3

httpFlushWriteFunction · 0.85
httpCloseFunction · 0.85
ippDeleteFunction · 0.85

Tested by

no test coverage detected