changeset 6710:3ab8736958cb

Modules compatibility: health check fields.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 29 Sep 2016 18:06:02 +0300
parents e08e741f74cd
children 90a03b1dc4db
files src/http/ngx_http_request.h src/stream/ngx_stream.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -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;
--- a/src/stream/ngx_stream.h
+++ b/src/stream/ngx_stream.h
@@ -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;
 };