mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Improve log message on unrecognized encoding to indicate that we can cope.
svn:r3676
This commit is contained in:
+1
-1
@@ -545,7 +545,7 @@ parse_http_response(const char *headers, int *code, time_t *date,
|
||||
} else if (!strcmp(enc, "gzip") || !strcmp(enc, "x-gzip")) {
|
||||
*compression = GZIP_METHOD;
|
||||
} else {
|
||||
log_fn(LOG_INFO, "Unrecognized content encoding: '%s'", enc);
|
||||
log_fn(LOG_INFO, "Unrecognized content encoding: '%s'. Trying to deal.", enc);
|
||||
*compression = -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user