mirror of
https://github.com/nginx/nginx.git
synced 2026-07-03 15:21:04 +00:00
Merge b278f422bf into 42f8df65b6
This commit is contained in:
commit
8eea11ba8c
1 changed files with 1 additions and 5 deletions
|
|
@ -301,11 +301,7 @@ ngx_http_file_cache_open(ngx_http_request_t *r)
|
|||
ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||
"http file cache exists: %i e:%d", rc, c->exists);
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (rc == NGX_AGAIN) {
|
||||
if (rc == NGX_AGAIN || rc == NGX_ERROR) {
|
||||
return NGX_HTTP_CACHE_SCARCE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue