diff options
author | bazil <bazil@yandex-team.ru> | 2022-02-10 16:49:43 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:43 +0300 |
commit | 18b37a6b1f9505f53dbc85a6f934d9f1ee4612e2 (patch) | |
tree | 8960ed7c1df8c28705b0ca07b4a5ecefc7ddff4e /library/cpp/http/fetch | |
parent | d2247f243d31adde8feb765324e40c83c5a90999 (diff) | |
download | ydb-18b37a6b1f9505f53dbc85a6f934d9f1ee4612e2.tar.gz |
Restoring authorship annotation for <bazil@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/fetch')
-rw-r--r-- | library/cpp/http/fetch/exthttpcodes.cpp | 4 | ||||
-rw-r--r-- | library/cpp/http/fetch/exthttpcodes.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/http/fetch/exthttpcodes.cpp b/library/cpp/http/fetch/exthttpcodes.cpp index acc05650c89..8978eecc0c6 100644 --- a/library/cpp/http/fetch/exthttpcodes.cpp +++ b/library/cpp/http/fetch/exthttpcodes.cpp @@ -69,14 +69,14 @@ static http_flag HTTP_FLAG[] = { {HTTP_SERVICE_UNAVAILABLE, ShouldDisconnect | ShouldRetry | MarkSuspect}, // 503 {HTTP_GATEWAY_TIME_OUT, ShouldDisconnect | ShouldRetry | MarkSuspect}, // 504 {HTTP_HTTP_VERSION_NOT_SUPPORTED, CrazyServer | ShouldDisconnect}, // 505 - + {HTTP_VARIANT_ALSO_NEGOTIATES, CrazyServer | ShouldDisconnect}, // 506 {HTTP_INSUFFICIENT_STORAGE, CrazyServer | ShouldDisconnect}, // 507 {HTTP_LOOP_DETECTED, CrazyServer | ShouldDisconnect}, // 508 {HTTP_BANDWIDTH_LIMIT_EXCEEDED, ShouldDisconnect | ShouldRetry | MarkSuspect}, // 509 {HTTP_NOT_EXTENDED, ShouldDelete}, // 510 {HTTP_NETWORK_AUTHENTICATION_REQUIRED, ShouldDelete}, // 511 - + // custom {HTTP_BAD_RESPONSE_HEADER, CrazyServer}, // 1000 {HTTP_CONNECTION_LOST, ShouldRetry}, // 1001 diff --git a/library/cpp/http/fetch/exthttpcodes.h b/library/cpp/http/fetch/exthttpcodes.h index 6b525052cd9..0215e405145 100644 --- a/library/cpp/http/fetch/exthttpcodes.h +++ b/library/cpp/http/fetch/exthttpcodes.h @@ -117,7 +117,7 @@ enum HttpFlags { // connection ShouldDisconnect = 1, ShouldRetry = 2, - // UNUSED 4 + // UNUSED 4 // indexer ShouldReindex = 8, @@ -125,8 +125,8 @@ enum HttpFlags { CheckLocation = 32, CheckLinks = 64, MarkSuspect = 128, - // UNUSED 256 - // UNUSED 512 + // UNUSED 256 + // UNUSED 512 MoveRedir = 1024, CanBeFake = 2048, }; |