diff src/http/ngx_http_upstream_round_robin.h @ 6712:fd5c2781460b

Modules compatibility: upstream config field. It is to be used to track version of an upstream configuration used for request processing.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 29 Sep 2016 18:06:04 +0300
parents 4080f94a996f
children 63b8b157b776
line wrap: on
line diff
--- a/src/http/ngx_http_upstream_round_robin.h
+++ b/src/http/ngx_http_upstream_round_robin.h
@@ -122,6 +122,7 @@ struct ngx_http_upstream_rr_peers_s {
 
 
 typedef struct {
+    ngx_uint_t                      config;
     ngx_http_upstream_rr_peers_t   *peers;
     ngx_http_upstream_rr_peer_t    *current;
     uintptr_t                      *tried;