将cache的日志从屏幕改为输出到local logger。

This commit is contained in:
zhengchao
2018-10-19 21:56:04 +08:00
parent b40f599579
commit af4f470fe7
4 changed files with 38 additions and 31 deletions

View File

@@ -95,7 +95,7 @@ const char* get_head_value(const struct tfe_http_field *http_fields, size_t n_fi
enum cache_pending_action get_pragma_action(const char * value)
{
const char *pragma_value = "no-cache";
if (memcmp(value, pragma_value, strlen(pragma_value)) == 0)
if (strcasecmp(value, pragma_value) == 0)
{
return VERIFY;
}