commit 9614da6336a81410f5bad7519a2cb557711308a8 from: Omar Polo via: Thomas Adam date: Tue May 28 12:01:21 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 - 37a62e32b838f8045bb3ff8df319e4403793dbe7 commit + 9614da6336a81410f5bad7519a2cb557711308a8 blob - 2d6b283b8754f11b722d6922464d28f6abab285f blob + 15705963f65690f4e95f3235f7b3bd8539378535 --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -155,9 +155,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) {