Commit Diff
- Commit:
9614da6336a81410f5bad7519a2cb557711308a8
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- 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.
- Actions:
- Patch | Tree
--- 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) {