Mercurial > hg > nginx
comparison src/stream/ngx_stream_upstream.h @ 6715:d200a0fd00b7
Introduced the NGX_COMPAT macro.
When enabled, some structures are padded to be size compatible
with their NGINX Plus versions.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 29 Sep 2016 15:28:24 +0300 |
parents | 4080f94a996f |
children | f41c2530dd17 |
comparison
equal
deleted
inserted
replaced
6714:c3e3de6d2672 | 6715:d200a0fd00b7 |
---|---|
56 time_t fail_timeout; | 56 time_t fail_timeout; |
57 ngx_msec_t slow_start; | 57 ngx_msec_t slow_start; |
58 | 58 |
59 unsigned down:1; | 59 unsigned down:1; |
60 unsigned backup:1; | 60 unsigned backup:1; |
61 | |
62 NGX_COMPAT_BEGIN(4) | |
63 NGX_COMPAT_END | |
61 } ngx_stream_upstream_server_t; | 64 } ngx_stream_upstream_server_t; |
62 | 65 |
63 | 66 |
64 struct ngx_stream_upstream_srv_conf_s { | 67 struct ngx_stream_upstream_srv_conf_s { |
65 ngx_stream_upstream_peer_t peer; | 68 ngx_stream_upstream_peer_t peer; |