From: Eric Covener Date: Wed, 21 Jan 2015 14:09:49 +0000 (+0000) Subject: Remove the bitfield spec from the http_ctx_t.state enum X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fb18200aa0a9fa2d525c729806034cd02f32608;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/http/http_filters.c b/modules/http/http_filters.c index 7490748d9a6..c413e7108ad 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;