aboutsummaryrefslogtreecommitdiff
path: root/httpd/httpd.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@esdenera.com>2016-08-15 20:57:36 +0200
committerReyk Floeter <reyk@esdenera.com>2016-08-15 20:57:36 +0200
commit8033504e79cf197d99ab20a6d89161a2f6a71a81 (patch)
tree534370b7a9418faf1c394a145e39ec7d0dd35104 /httpd/httpd.h
parentf6babe9f2d05966903998909432e8b873b69192f (diff)
downloadhttpd-fcgi-persist.tar.gz
httpd-fcgi-persist.zip
If you see any problem connecting to httpd fastcgi, stalledfcgi-persist
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.
Diffstat (limited to 'httpd/httpd.h')
-rw-r--r--httpd/httpd.h3
1 files changed, 2 insertions, 1 deletions
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 *