From 8033504e79cf197d99ab20a6d89161a2f6a71a81 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Mon, 15 Aug 2016 20:57:36 +0200 Subject: If you see any problem connecting to httpd fastcgi, stalled connections, please have a look at the log files for: "server_response: request %d in %s not finished" where %d is the request number in a persistent connection and %s is either server_file or server_fcgi. The server_fcgi.c code also includes "//"-commented code for two possible solutions: either reset after each FCGI_END_REQUEST or after finishing the end request or any possible padding. --- httpd/httpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'httpd/httpd.h') diff --git a/httpd/httpd.h b/httpd/httpd.h index 595cce9..7b4b93e 100644 --- a/httpd/httpd.h +++ b/httpd/httpd.h @@ -302,6 +302,7 @@ struct client { off_t clt_toread; size_t clt_headerlen; unsigned int clt_persist; + const char *clt_persist_running; int clt_line; int clt_done; int clt_chunk; @@ -586,7 +587,7 @@ int server_headers(struct client *, void *, int server_writeresponse_http(struct client *); int server_response_http(struct client *, unsigned int, struct media_type *, off_t, time_t); -void server_reset_http(struct client *); +void server_reset_http(struct client *, const char *); void server_close_http(struct client *); int server_response(struct httpd *, struct client *); const char * -- cgit v1.2.3-54-g00ecf