Mercurial > hg > nginx
diff src/core/nginx.c @ 3762:89002ac695e5
worker_rlimit_core should be off_t
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 15 Sep 2010 15:24:21 +0000 |
parents | ffbdaa3c70d6 |
children | e294f37401c0 |
line wrap: on
line diff
--- a/src/core/nginx.c Mon Sep 13 12:44:43 2010 +0000 +++ b/src/core/nginx.c Wed Sep 15 15:24:21 2010 +0000 @@ -110,7 +110,7 @@ { ngx_string("worker_rlimit_core"), NGX_MAIN_CONF|NGX_DIRECT_CONF|NGX_CONF_TAKE1, - ngx_conf_set_size_slot, + ngx_conf_set_off_slot, 0, offsetof(ngx_core_conf_t, rlimit_core), NULL }, @@ -941,7 +941,7 @@ ccf->debug_points = NGX_CONF_UNSET; ccf->rlimit_nofile = NGX_CONF_UNSET; - ccf->rlimit_core = NGX_CONF_UNSET_SIZE; + ccf->rlimit_core = NGX_CONF_UNSET; ccf->rlimit_sigpending = NGX_CONF_UNSET; ccf->user = (ngx_uid_t) NGX_CONF_UNSET_UINT;