Skip to content

Commit

Permalink
fix unalligned pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigzagAK committed Apr 5, 2019
1 parent 6d6dc7a commit eda641e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_dynamic_upstream_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ struct ngx_pool_auto {
ngx_pool_t *pool;

ngx_pool_auto(ngx_log_t *log)
: pool(ngx_create_pool(ngx_pagesize - 1, log))
: pool(ngx_create_pool(ngx_pagesize, log))
{}

~ngx_pool_auto()
Expand Down

0 comments on commit eda641e

Please sign in to comment.