From d74032fccbe02d7ea08e57f9303aff1b66a11646 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Tue, 31 Jan 2017 12:21:28 +0000 Subject: The variable clt_done is used in too many places. Introduce a new variable clt_headersdone in the async HTTP parser. OK sunil@ benno@ --- usr.sbin/httpd/httpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/httpd/httpd.h') 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 @@ -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; -- cgit v1.2.3