aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpparser.h
diff options
context:
space:
mode:
authordimanne <dimanne@yandex-team.ru>2022-02-10 16:49:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:48 +0300
commit93d66104be406c5b8cdfce7be5546d72d83b547e (patch)
tree5b4284b97105f480aa2b1ffc564e8f8e5b689df9 /library/cpp/http/fetch/httpparser.h
parentb3eef5b52437f05851a3e8fb489a68db0132657b (diff)
downloadydb-93d66104be406c5b8cdfce7be5546d72d83b547e.tar.gz
Restoring authorship annotation for <dimanne@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpparser.h')
-rw-r--r--library/cpp/http/fetch/httpparser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/fetch/httpparser.h b/library/cpp/http/fetch/httpparser.h
index 769828e4ae6..cd7228055b0 100644
--- a/library/cpp/http/fetch/httpparser.h
+++ b/library/cpp/http/fetch/httpparser.h
@@ -174,10 +174,10 @@ protected:
case hp_read_alive:
Header->entity_size += size;
- if (Header->entity_size >= Header->content_length) {
+ if (Header->entity_size >= Header->content_length) {
State = hp_eof;
}
-
+
TCheck::CheckDocPart(buf, size, Header);
if (isReader)
return size;
@@ -314,8 +314,8 @@ public:
buf = Ptr;
Ptr = (char*)Ptr + Chunk;
Size -= Chunk;
- if (State == hp_eof) {
- Size = 0;
+ if (State == hp_eof) {
+ Size = 0;
Eoferr = 0;
} else if (State == hp_error)
return Eoferr = -1;