Commit Diff


commit - a45b8b1f203390cf8f7fffbc9096d945a074b0fa
commit + 30696740d2a931bc3ef7ffb46e86ce9ffd6419c9
blob - a9cf286497390605f7ec2d57cb9ba9295aaea283
blob + 35234d473ad7446ea86e51dc0bda435595784f8b
--- gotwebd/sockets.c
+++ gotwebd/sockets.c
@@ -205,8 +205,7 @@ request_done(struct request *c)
 	 * If we have not yet handed the client off to gotweb.c we
 	 * must send an FCGI end record ourselves.
 	 */
-	if (c->client_status > CLIENT_CONNECT &&
-	    c->client_status < CLIENT_REQUEST)
+	if (c->client_status < CLIENT_REQUEST)
 		fcgi_create_end_record(c);
 
 	cleanup_request(c);