summaryrefslogtreecommitdiffstats
path: root/modules/http2/h2_workers.h
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2015-12-21 11:54:38 +0100
committerStefan Eissing <icing@apache.org>2015-12-21 11:54:38 +0100
commit483c9dd0603cf2cb44b77bfe635b021919b614a2 (patch)
treedcc0c600661b983e165f225db1b709b39f66f1d4 /modules/http2/h2_workers.h
parentUse 'ap_array_str_contains' to simplify code. (diff)
downloadapache2-483c9dd0603cf2cb44b77bfe635b021919b614a2.tar.xz
apache2-483c9dd0603cf2cb44b77bfe635b021919b614a2.zip
byte savings by using bit fields, new env vars HTTP2 and H2PUSH, set to on when enabled on request
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1721121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/http2/h2_workers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/http2/h2_workers.h b/modules/http2/h2_workers.h
index 99aa1f4daf..f92f3732ce 100644
--- a/modules/http2/h2_workers.h
+++ b/modules/http2/h2_workers.h
@@ -33,12 +33,13 @@ typedef struct h2_workers h2_workers;
struct h2_workers {
server_rec *s;
apr_pool_t *pool;
- int aborted;
int next_worker_id;
int min_size;
int max_size;
+ int aborted : 1;
+
apr_threadattr_t *thread_attr;
APR_RING_HEAD(h2_worker_list, h2_worker) workers;