| 2085 | */ |
| 2086 | |
| 2087 | static void |
| 2088 | delete_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 | /* |
no test coverage detected