]> granicus.if.org Git - apache/commitdiff
Remove the bitfield spec from the http_ctx_t.state enum
authorEric Covener <covener@apache.org>
Wed, 21 Jan 2015 14:09:49 +0000 (14:09 +0000)
committerEric Covener <covener@apache.org>
Wed, 21 Jan 2015 14:09:49 +0000 (14:09 +0000)
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

index 7490748d9a63fd3292f8b1ff78b6787aa9cf26ef..c413e7108ade9d2bb811c1b0a6c0f6762a114f99 100644 (file)
@@ -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;