aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpload.cpp
diff options
context:
space:
mode:
authoragorodilov <agorodilov@yandex-team.ru>2022-02-10 16:47:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:09 +0300
commitbd5ef432f5cfb1e18851381329d94665a4c22470 (patch)
treeb83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/http/fetch/httpload.cpp
parent7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (diff)
downloadydb-bd5ef432f5cfb1e18851381329d94665a4c22470.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpload.cpp')
-rw-r--r--library/cpp/http/fetch/httpload.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/http/fetch/httpload.cpp b/library/cpp/http/fetch/httpload.cpp
index 55c5cb1030..82ea8900b5 100644
--- a/library/cpp/http/fetch/httpload.cpp
+++ b/library/cpp/http/fetch/httpload.cpp
@@ -58,16 +58,16 @@ const THttpHeader* httpAgentReader::readHeader() {
while (State == hp_in_header) {
if (!step()) {
Header_.error = HTTP_CONNECTION_LOST;
- return nullptr;
+ return nullptr;
}
ParseGeneric(BufPtr_, BufRest_);
}
if (State == hp_eof || State == hp_error) {
- BufPtr_ = nullptr;
+ BufPtr_ = nullptr;
BufRest_ = -1;
}
if (State == hp_error || Header_.error)
- return nullptr;
+ return nullptr;
return &Header_;
}
@@ -149,7 +149,7 @@ void httpLoadAgent::clearReader() {
if (!opened)
Disconnect();
delete Reader_;
- Reader_ = nullptr;
+ Reader_ = nullptr;
}
ErrCode_ = 0;
}
@@ -159,7 +159,7 @@ void httpLoadAgent::setRealHost(const char* hostname) {
if (hostname)
RealHost_ = strdup(hostname);
else
- RealHost_ = nullptr;
+ RealHost_ = nullptr;
ErrCode_ = 0;
}
@@ -351,7 +351,7 @@ bool httpLoadAgent::doStartRequest() {
"GET")) {
//mReader->skipTheRest();
delete Reader_;
- Reader_ = nullptr;
+ Reader_ = nullptr;
ErrCode_ = 0;
Disconnect();
continue;