Latest update - 7437, Version bump
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@
|
||||
#define _NGINX_H_INCLUDED_
|
||||
|
||||
|
||||
#define nginx_version 1015008
|
||||
#define NGINX_VERSION "1.15.8"
|
||||
#define nginx_version 1015009
|
||||
#define NGINX_VERSION "1.15.9"
|
||||
#define NGINX_VER "nginx/" NGINX_VERSION " by Hakase"
|
||||
|
||||
#ifndef NGINX_SERVER
|
||||
|
||||
+2
-2
@@ -1017,13 +1017,13 @@ ngx_walk_tree(ngx_tree_ctx_t *ctx, ngx_str_t *tree)
|
||||
|
||||
file.len = tree->len + 1 + len;
|
||||
|
||||
if (file.len + NGX_DIR_MASK_LEN > buf.len) {
|
||||
if (file.len > buf.len) {
|
||||
|
||||
if (buf.len) {
|
||||
ngx_free(buf.data);
|
||||
}
|
||||
|
||||
buf.len = tree->len + 1 + len + NGX_DIR_MASK_LEN;
|
||||
buf.len = tree->len + 1 + len;
|
||||
|
||||
buf.data = ngx_alloc(buf.len + 1, ctx->log);
|
||||
if (buf.data == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user