Mercurial > hg > nginx
comparison src/http/modules/ngx_http_flv_module.c @ 1799:0b5b94805d26
optimization
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Dec 2007 20:32:43 +0000 |
parents | 25c93614e6b9 |
children | 67a29af877ed 81f4bf441eb0 |
comparison
equal
deleted
inserted
replaced
1798:0379d1fc8701 | 1799:0b5b94805d26 |
---|---|
109 of.valid = clcf->open_file_cache_valid; | 109 of.valid = clcf->open_file_cache_valid; |
110 of.min_uses = clcf->open_file_cache_min_uses; | 110 of.min_uses = clcf->open_file_cache_min_uses; |
111 of.errors = clcf->open_file_cache_errors; | 111 of.errors = clcf->open_file_cache_errors; |
112 of.events = clcf->open_file_cache_events; | 112 of.events = clcf->open_file_cache_events; |
113 | 113 |
114 rc = ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool); | 114 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) |
115 | 115 != NGX_OK) |
116 if (rc == NGX_ERROR) { | 116 { |
117 | |
118 switch (of.err) { | 117 switch (of.err) { |
119 | 118 |
120 case 0: | 119 case 0: |
121 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 120 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
122 | 121 |