Skip to content

Commit 3284c11

Browse files
author
Valery Kholodkov
committed
Stick to versioning scheme of 0.7.52
1 parent 8f1bb5f commit 3284c11

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Changelog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Version 2.0.9
3-
* Change: compatibility with nginx's API 0.7.46 and greater
4-
* Fixed bug: module directives couldn't appear in limit_except block
3+
* Change: compatibility with nginx's API 0.7.52 and greater
4+
* Fixed bug: module directives couldn't have appeared in limit_except block
55
* Added feature: directive upload_limit_rate and ability to limit upload rate
66
* Change: Malformed body issues are now logged to error log instead of debug log
77

ngx_http_upload_module.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <ngx_config.h>
77
#include <ngx_core.h>
88
#include <ngx_http.h>
9+
#include <nginx.h>
910

1011
#if (NGX_HAVE_OPENSSL_MD5_H)
1112
#include <openssl/md5.h>
@@ -212,7 +213,7 @@ static char *ngx_http_upload_cleanup(ngx_conf_t *cf, ngx_command_t *cmd,
212213
void *conf);
213214
static void ngx_upload_cleanup_handler(void *data);
214215

215-
#if defined nginx_version && nginx_version >= 0007044
216+
#if defined nginx_version && nginx_version >= 7052
216217
static ngx_path_init_t ngx_http_upload_temp_path = {
217218
ngx_string(NGX_HTTP_PROXY_TEMP_PATH), { 1, 2, 0 }
218219
};
@@ -1181,7 +1182,7 @@ ngx_http_upload_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
11811182

11821183
ngx_conf_merge_str_value(conf->url, prev->url, "");
11831184

1184-
#if defined nginx_version && nginx_version >= 0007044
1185+
#if defined nginx_version && nginx_version >= 7052
11851186
ngx_conf_merge_path_value(cf,
11861187
&conf->store_path,
11871188
prev->store_path,

0 commit comments

Comments
 (0)