diff options
author | sgrb <sgrb@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:47 +0300 |
commit | 6a705ee267e43301156c202a4b371d47ddd4dd4f (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/fetch/httpload.h | |
parent | 1485f03dbdc4314901c6ccea1fe17cc6943dea63 (diff) | |
download | ydb-6a705ee267e43301156c202a4b371d47ddd4dd4f.tar.gz |
Restoring authorship annotation for <sgrb@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpload.h')
-rw-r--r-- | library/cpp/http/fetch/httpload.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/http/fetch/httpload.h b/library/cpp/http/fetch/httpload.h index 59dcacb97f..e22e4b809e 100644 --- a/library/cpp/http/fetch/httpload.h +++ b/library/cpp/http/fetch/httpload.h @@ -24,7 +24,7 @@ class socketAbstractHandler { public: virtual bool Good() = 0; - virtual int Connect(const TAddrList& addrs, TDuration Timeout) = 0; + virtual int Connect(const TAddrList& addrs, TDuration Timeout) = 0; virtual void Disconnect() = 0; @@ -123,7 +123,7 @@ public: } int Connect(const TAddrList& addrs, TDuration Timeout) override { - return Socket_.Connect(addrs, Timeout); + return Socket_.Connect(addrs, Timeout); } void Disconnect() override { @@ -234,7 +234,7 @@ protected: httpDigestHandler Digest_; void clearReader(); - bool doSetHost(const TAddrList& addrs); + bool doSetHost(const TAddrList& addrs); bool doStartRequest(); public: @@ -250,17 +250,17 @@ public: bool startRequest(const char* url, const char* url_to_merge = nullptr, bool persistent = false, - const TAddrList& addrs = TAddrList()); + const TAddrList& addrs = TAddrList()); - // deprecated v4-only - bool startRequest(const char* url, - const char* url_to_merge, + // deprecated v4-only + bool startRequest(const char* url, + const char* url_to_merge, bool persistent, ui32 ip); - + bool startRequest(const THttpURL& url, bool persistent = false, - const TAddrList& addrs = TAddrList()); + const TAddrList& addrs = TAddrList()); bool setHost(const char* host_url, const TAddrList& addrs = TAddrList()); |