大文件流式缓存联调通过。UNDEFINE类型100KB以上进行缓存。
This commit is contained in:
4
cache/src/tango_cache_pending.cpp
vendored
4
cache/src/tango_cache_pending.cpp
vendored
@@ -273,6 +273,10 @@ enum cache_pending_action tfe_cache_put_pending(const struct tfe_http_half *resp
|
||||
int index = 0;
|
||||
const char *value = NULL;
|
||||
memset(freshness,0,sizeof(struct response_freshness));
|
||||
if(response->resp_spec.resp_code!=TFE_HTTP_STATUS_OK)
|
||||
{
|
||||
return FORBIDDEN;
|
||||
}
|
||||
value = tfe_http_std_field_read(response, TFE_HTTP_PRAGMA);
|
||||
if (value != NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user