Welcome! Log In Create A New Profile

Advanced

[nginx] Modules compatibility: health check fields.

Maxim Dounin
September 29, 2016 01:28PM
details: http://hg.nginx.org/nginx/rev/3ab8736958cb
branches:
changeset: 6710:3ab8736958cb
user: Maxim Dounin <mdounin@mdounin.ru>
date: Thu Sep 29 18:06:02 2016 +0300
description:
Modules compatibility: health check fields.

diffstat:

src/http/ngx_http_request.h | 2 ++
src/stream/ngx_stream.h | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
--- 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
--- 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;
};



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Modules compatibility: health check fields.

Maxim Dounin 201 September 29, 2016 01:28PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 127
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready