mirror of
https://github.com/nginx/nginx.git
synced 2026-06-27 04:12:05 +00:00
rename ngx_http_file_cache_create() to ngx_http_file_cache_new()
This commit is contained in:
parent
9aa3d7f667
commit
6a47b43234
3 changed files with 3 additions and 3 deletions
|
|
@ -121,7 +121,7 @@ struct ngx_http_file_cache_s {
|
|||
};
|
||||
|
||||
|
||||
ngx_int_t ngx_http_file_cache_create(ngx_http_request_t *r);
|
||||
ngx_int_t ngx_http_file_cache_new(ngx_http_request_t *r);
|
||||
void ngx_http_file_cache_create_key(ngx_http_request_t *r);
|
||||
ngx_int_t ngx_http_file_cache_open(ngx_http_request_t *r);
|
||||
void ngx_http_file_cache_set_header(ngx_http_request_t *r, u_char *buf);
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ ngx_http_file_cache_init(ngx_shm_zone_t *shm_zone, void *data)
|
|||
|
||||
|
||||
ngx_int_t
|
||||
ngx_http_file_cache_create(ngx_http_request_t *r)
|
||||
ngx_http_file_cache_new(ngx_http_request_t *r)
|
||||
{
|
||||
ngx_http_cache_t *c;
|
||||
|
||||
|
|
|
|||
|
|
@ -646,7 +646,7 @@ ngx_http_upstream_cache(ngx_http_request_t *r, ngx_http_upstream_t *u)
|
|||
u->method = ngx_http_core_get_method;
|
||||
}
|
||||
|
||||
if (ngx_http_file_cache_create(r) != NGX_OK) {
|
||||
if (ngx_http_file_cache_new(r) != NGX_OK) {
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue