summaryrefslogtreecommitdiff
path: root/cache
diff options
context:
space:
mode:
authorzhengchao <[email protected]>2018-10-19 21:56:04 +0800
committerzhengchao <[email protected]>2018-10-19 21:56:04 +0800
commitaf4f470fe732b1357470f36f463bd93c972ed74f (patch)
treefe389d3f5a921300e1d686be21ded9f675bed2d7 /cache
parentb40f599579420dc0a5a31f7a85e8e14fa9bad4cf (diff)
将cache的日志从屏幕改为输出到local logger。
Diffstat (limited to 'cache')
-rw-r--r--cache/src/tango_cache_pending.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache/src/tango_cache_pending.cpp b/cache/src/tango_cache_pending.cpp
index 67b935d..2a5d928 100644
--- a/cache/src/tango_cache_pending.cpp
+++ b/cache/src/tango_cache_pending.cpp
@@ -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;
}