summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/httpd.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2017-01-31 12:21:28 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2017-01-31 12:21:28 +0000
commitd74032fccbe02d7ea08e57f9303aff1b66a11646 (patch)
tree94ecfa0cdf70f42f9d38dbf403e1ce8bbf9a0650 /usr.sbin/httpd/httpd.h
parenta185b0c443017bef2bcba1c01c717cf3d74c67c8 (diff)
The variable clt_done is used in too many places.
Introduce a new variable clt_headersdone in the async HTTP parser. OK sunil@ benno@
Diffstat (limited to 'usr.sbin/httpd/httpd.h')
-rw-r--r--usr.sbin/httpd/httpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/httpd/httpd.h b/usr.sbin/httpd/httpd.h
index 75b1b893743..94fe76534af 100644
--- a/usr.sbin/httpd/httpd.h
+++ b/usr.sbin/httpd/httpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: httpd.h,v 1.125 2017/01/09 14:49:22 reyk Exp $ */
+/* $OpenBSD: httpd.h,v 1.126 2017/01/31 12:21:27 reyk Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -321,6 +321,7 @@ struct client {
off_t clt_toread;
size_t clt_headerlen;
+ int clt_headersdone;
unsigned int clt_persist;
int clt_line;
int clt_done;