Mercurial > hg > nginx-quic
comparison src/http/modules/perl/nginx.xs @ 2068:75a8d34459c5
ngx_memzero() ngx_open_file_info_t
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 26 Jun 2008 14:07:59 +0000 |
parents | 67a29af877ed |
children | 25add486e7aa |
comparison
equal
deleted
inserted
replaced
2067:5657037448d1 | 2068:75a8d34459c5 |
---|---|
648 | 648 |
649 (void) ngx_cpystrn(path.data, filename, path.len + 1); | 649 (void) ngx_cpystrn(path.data, filename, path.len + 1); |
650 | 650 |
651 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 651 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
652 | 652 |
653 of.uniq = 0; | 653 ngx_memzero(&of, sizeof(ngx_open_file_info_t)); |
654 of.test_dir = 0; | 654 |
655 of.valid = clcf->open_file_cache_valid; | 655 of.valid = clcf->open_file_cache_valid; |
656 of.min_uses = clcf->open_file_cache_min_uses; | 656 of.min_uses = clcf->open_file_cache_min_uses; |
657 of.errors = clcf->open_file_cache_errors; | 657 of.errors = clcf->open_file_cache_errors; |
658 of.events = clcf->open_file_cache_events; | 658 of.events = clcf->open_file_cache_events; |
659 | 659 |