aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http
diff options
context:
space:
mode:
authorsocialgraph <socialgraph@yandex-team.com>2022-08-10 10:20:58 +0300
committersocialgraph <socialgraph@yandex-team.com>2022-08-10 10:20:58 +0300
commit07163912675dd114719ec1090ae095355b51ad75 (patch)
treef1565a4d1ebbf8897749ff2425c14d79ebf43c19 /library/cpp/http
parenta1b5c2e7f704c40f99d96b1df8ccdb75b05a40df (diff)
downloadydb-07163912675dd114719ec1090ae095355b51ad75.tar.gz
ui32 not enough for features flag
Так как добавил новый флаг, отвечающий за оставление хэшбенга, то Feature флаги перестали помещаться в свои прежние 32 бита, то везде поменял long на ui64
Diffstat (limited to 'library/cpp/http')
-rw-r--r--library/cpp/http/fetch/httpload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/http/fetch/httpload.cpp b/library/cpp/http/fetch/httpload.cpp
index 82ea8900b5..f3f6c5245e 100644
--- a/library/cpp/http/fetch/httpload.cpp
+++ b/library/cpp/http/fetch/httpload.cpp
@@ -211,7 +211,7 @@ bool httpLoadAgent::startRequest(const char* url,
URL_.Clear();
PersistentConn_ = persistent;
- long flags = THttpURL::FeatureSchemeKnown | THttpURL::FeaturesNormalizeSet;
+ ui64 flags = THttpURL::FeatureSchemeKnown | THttpURL::FeaturesNormalizeSet;
if (HandleAuthorization_)
flags |= THttpURL::FeatureAuthSupported;
@@ -231,7 +231,7 @@ bool httpLoadAgent::startRequest(const char* url,
URL_.Clear();
PersistentConn_ = persistent;
- long flags = THttpURL::FeatureSchemeKnown | THttpURL::FeaturesNormalizeSet;
+ ui64 flags = THttpURL::FeatureSchemeKnown | THttpURL::FeaturesNormalizeSet;
if (HandleAuthorization_)
flags |= THttpURL::FeatureAuthSupported;
@@ -285,7 +285,7 @@ bool httpLoadAgent::setHost(const char* host_url,
URL_.Clear();
PersistentConn_ = true;
- long flags = THttpURL::FeatureSchemeKnown | THttpURL::FeaturesNormalizeSet;
+ ui64 flags = THttpURL::FeatureSchemeKnown | THttpURL::FeaturesNormalizeSet;
if (HandleAuthorization_)
flags |= THttpURL::FeatureAuthSupported;