From: Maxim Dounin Date: Thu, 29 Sep 2016 15:06:02 +0000 (+0300) Subject: Modules compatibility: health check fields. X-Git-Tag: release-1.11.5~29 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=0ce82fc33a29426c7683cd58b0dd086bc980aec0;p=nginx.git Modules compatibility: health check fields. --- diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index a641d78fd..e0c987c38 100644 --- 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; diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h index deca8ae62..c4bb61726 100644 --- 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; };