]> git.kaiwu.me - nginx.git/commit
Time parsing cleanup.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 13 Feb 2012 15:41:11 +0000 (15:41 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 13 Feb 2012 15:41:11 +0000 (15:41 +0000)
commit9f38b20db50a22b434d35c9bf3c5b08d5ddfbd8b
treebf812ed61086a3746bb141c3df05ab8b4d2577cc
parent8cb7134f49bcdded469b3e72415b96794190257e
Time parsing cleanup.

Nuke NGX_PARSE_LARGE_TIME, it's not used since 0.6.30.  The only error
ngx_parse_time() can currently return is NGX_ERROR, check it explicitly
and make sure to cast it to appropriate type (either time_t or ngx_msec_t)
to avoid signedness warnings on platforms with unsigned time_t (notably QNX).
src/core/ngx_conf_file.c
src/core/ngx_parse.h
src/core/ngx_resolver.c
src/http/modules/ngx_http_headers_filter_module.c
src/http/modules/ngx_http_log_module.c
src/http/modules/ngx_http_userid_filter_module.c
src/http/ngx_http_busy_lock.c
src/http/ngx_http_core_module.c
src/http/ngx_http_file_cache.c
src/http/ngx_http_upstream.c
src/mail/ngx_mail_core_module.c