From ce217cfc641292993c83f2124492ef3b2515eaf1 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Wed, 21 Jan 2015 14:09:49 +0000 Subject: [PATCH] Remove the bitfield spec from the http_ctx_t.state enum as it causes an error-prone mismatch between the enum values and the state values. Caused a busy loop in windows. Added in r1484852 and trunk-only. Submitted By: Edward Lu, Yann Ylavic Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1653539 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 7490748d9a..c413e7108a 100644 --- a/modules/http/http_filters.c +++ b/modules/http/http_filters.c @@ -76,7 +76,7 @@ typedef struct http_filter_ctx BODY_CHUNK_DATA, /* data constrained by chunked encoding */ BODY_CHUNK_END, /* chunk terminating CRLF */ BODY_CHUNK_TRAILER /* trailers */ - } state :3; + } state; unsigned int eos_sent :1; } http_ctx_t; -- 2.50.1