Allow proxies to delay chunks

This commit is contained in:
2023-01-26 12:46:30 +01:00
parent 8053439212
commit f7a6214dbc
6 changed files with 43 additions and 80 deletions

View File

@ -198,12 +198,13 @@ static void terminate_gracefully(int sig) {
workers_stop();
workers_destroy();
while (list_size(clients) > 0)
tcp_close(clients[0]);
logger_set_prefix("");
proxy_close_all();
while (list_size(clients) > 0)
tcp_close(clients[0]);
logger_set_prefix("");
async_stop();
}