将cache的日志从屏幕改为输出到local logger。
This commit is contained in:
2
cache/src/tango_cache_pending.cpp
vendored
2
cache/src/tango_cache_pending.cpp
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user