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
commit7a4979e6211c3e78c7f9041d4a9e5d3405343c36 (patch)
tree9e9943579e5a14679af7cd2cda3c36d8c0b775d3 /library/cpp/http/fetch/httpload.cpp
parent676340c42e269f3070f194d160f42a83a10568d4 (diff)
downloadydb-7a4979e6211c3e78c7f9041d4a9e5d3405343c36.tar.gz
Restoring authorship annotation for <agorodilov@yandex-team.ru>. Commit 1 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 82ea8900b5..55c5cb1030 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;