]> git.kaiwu.me - nginx.git/commitdiff
Modules compatibility: health check fields.
authorMaxim Dounin <mdounin@mdounin.ru>
Thu, 29 Sep 2016 15:06:02 +0000 (18:06 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Thu, 29 Sep 2016 15:06:02 +0000 (18:06 +0300)
src/http/ngx_http_request.h
src/stream/ngx_stream.h

index a641d78fdd48a5288a8d2f269db050dc44e5e881..e0c987c383ed5bf16f3136741dcf61f3bbe82a6e 100644 (file)
@@ -542,6 +542,8 @@ struct ngx_http_request_s {
     unsigned                          stat_reading:1;
     unsigned                          stat_writing:1;
 
+    unsigned                          health_check:1;
+
     /* used to parse HTTP headers */
 
     ngx_uint_t                        state;
index deca8ae626e32db6f429fe6d92dedb1c5faafcd5..c4bb61726d72f129a0e95e0a29f0bd2e01896b2f 100644 (file)
@@ -226,8 +226,10 @@ struct ngx_stream_session_s {
     ngx_uint_t                     status;
 
 #if (NGX_STREAM_SSL)
-    ngx_uint_t                     ssl;  /* unsigned  ssl:1; */
+    unsigned                       ssl:1;
 #endif
+
+    unsigned                       health_check:1;
 };