Skip to content

Commit e34bd2c

Browse files
committed
Sync struct definitions with upstream.
Change-Id: I2da64406ee46167c376a9984cff87c6c79c82694 Signed-off-by: Piotr Sikora <[email protected]>
1 parent 7b6f136 commit e34bd2c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ngx_cache_purge_module.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ typedef struct {
171171
ngx_uint_t header_params;
172172
# endif /* nginx_version >= 8040 */
173173

174+
# if defined(nginx_version) && (nginx_version >= 1001004)
175+
ngx_flag_t keep_conn;
176+
# endif /* nginx_version >= 1001004 */
177+
174178
ngx_http_complex_value_t cache_key;
175179

176180
# if (NGX_PCRE)
@@ -300,6 +304,10 @@ typedef struct {
300304

301305
ngx_flag_t redirect;
302306

307+
# if defined(nginx_version) && (nginx_version >= 1001004)
308+
ngx_uint_t http_version;
309+
# endif /* nginx_version >= 1001004 */
310+
303311
ngx_uint_t headers_hash_max_size;
304312
ngx_uint_t headers_hash_bucket_size;
305313
} ngx_http_proxy_loc_conf_t;

0 commit comments

Comments
 (0)