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 diff
--- a/src/http/ngx_http_request.h Thu Sep 29 18:06:01 2016 +0300
+++ b/src/http/ngx_http_request.h Thu Sep 29 18:06:02 2016 +0300
@@ -542,6 +542,8 @@
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 Thu Sep 29 18:06:01 2016 +0300
+++ b/src/stream/ngx_stream.h Thu Sep 29 18:06:02 2016 +0300
@@ -226,8 +226,10 @@
ngx_uint_t status;
#if (NGX_STREAM_SSL)
- ngx_uint_t ssl; /* unsigned ssl:1; */
+ unsigned ssl:1;
#endif
+
+ unsigned health_check:1;
};