We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a16b9 commit 1963031Copy full SHA for 1963031
src/client.c
@@ -309,7 +309,7 @@ void client_destroy(client_t *client)
309
avl_delete(global_client_list, client, NULL);
310
avl_tree_unlock(global_client_list);
311
312
- if (client->reuse != ICECAST_REUSE_CLOSE) {
+ if (client->reuse != ICECAST_REUSE_CLOSE && !client->con->error) {
313
/* only reuse the client if we reached the body's EOF. */
314
if (client_body_eof(client) == 1) {
315
client_reuseconnection(client);
0 commit comments