commit 9ba23f168f80cb5a70c47b1a937de20515bfc118 from: Omar Polo date: Tue May 28 09:42:30 2024 UTC gotwebd: delete dead code at this point we can't know if the client has disconnected, we just finished parsing the fcgi parameters and started handling the reply. We'll know whether the client disconnected only later, while trying to send the page content. commit - 913884630c0a521173d2d370912867d3010d5f66 commit + 9ba23f168f80cb5a70c47b1a937de20515bfc118 blob - 576b6064f0ed5912b47df984533e92f6c2e11a3c blob + cc0587fcbfb4070e2edbe6dbf50ad0d82350ad8b --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -156,9 +156,6 @@ gotweb_process_request(struct request *c) log_warnx("%s: %s", __func__, error->msg); return; } - /* don't process any further if client disconnected */ - if (c->sock->client_status == CLIENT_DISCONNECT) - return; /* get the gotwebd server */ srv = gotweb_get_server(c->server_name); if (srv == NULL) {