diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2016-08-30 10:54:43 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2016-08-30 10:54:43 +0000 |
commit | b6517af456395b4fbb74eb37fb945d01f5118b36 (patch) | |
tree | 44c678a505d67c18cd5f56feda42aa6514eb5c70 /usr.sbin/httpd/httpd.h | |
parent | 933b9780d68af7fd5ea83ab586593689f050deb5 (diff) |
Do not assume that the full http response header is in the first
fastcgi stdout record. Keep processing stdout records until we found
the header / body separator and only then generate the header
response.
Problem reported by many.
OK jung@
Diffstat (limited to 'usr.sbin/httpd/httpd.h')
-rw-r--r-- | usr.sbin/httpd/httpd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/httpd/httpd.h b/usr.sbin/httpd/httpd.h index 93b0d347b84..a15f97bba53 100644 --- a/usr.sbin/httpd/httpd.h +++ b/usr.sbin/httpd/httpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: httpd.h,v 1.111 2016/08/27 11:13:16 rzalamena Exp $ */ +/* $OpenBSD: httpd.h,v 1.112 2016/08/30 10:54:42 florian Exp $ */ /* * Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org> @@ -314,6 +314,8 @@ struct client { int clt_fcgi_type; int clt_fcgi_chunked; int clt_fcgi_end; + int clt_fcgi_status; + int clt_fcgi_headersdone; char *clt_remote_user; struct evbuffer *clt_srvevb; |