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 | 64b907678a38848c4af3d0270ccee688c5d7752c (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/fetch | |
parent | 18b37a6b1f9505f53dbc85a6f934d9f1ee4612e2 (diff) | |
download | ydb-64b907678a38848c4af3d0270ccee688c5d7752c.tar.gz |
Restoring authorship annotation for <bazil@yandex-team.ru>. Commit 2 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 8978eecc0c6..acc05650c89 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 0215e405145..6b525052cd9 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, }; |