Klaus Demo nginx / 9369cf8
Style. Maxim Dounin 7 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
155155
156156 /* the maximum limit size is the maximum u_long value - the page size */
157157
158 if (limit == 0 || limit > (off_t) (NGX_MAX_UINT32_VALUE - ngx_pagesize)) {
158 if (limit == 0 || limit > (off_t) (NGX_MAX_UINT32_VALUE - ngx_pagesize))
159 {
159160 limit = NGX_MAX_UINT32_VALUE - ngx_pagesize;
160161 }
161162