Commit Diff


commit - 41a0f38597a4de668df95175a864a02c1093dc3a
commit + 76f358240c8195fe9fd8fd5b788418f7474fdcf3
blob - 8fea3fb221fe335452f3036c4b770801d118b199
blob + 6db5137d674bd515ef2951d841c7b22120c71b7e
--- 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);