aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/fetch/httpparser.h
diff options
context:
space:
mode:
authordmikhalev <dmikhalev@yandex-team.ru>2022-02-10 16:49:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:29 +0300
commitb93b3eb857a34bc32cef3c1b0c709e8365253b34 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/fetch/httpparser.h
parent3b5ee31ed70f690af39dfdec632060610b71b89e (diff)
downloadydb-b93b3eb857a34bc32cef3c1b0c709e8365253b34.tar.gz
Restoring authorship annotation for <dmikhalev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpparser.h')
-rw-r--r--library/cpp/http/fetch/httpparser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/http/fetch/httpparser.h b/library/cpp/http/fetch/httpparser.h
index a93f67aa62..769828e4ae 100644
--- a/library/cpp/http/fetch/httpparser.h
+++ b/library/cpp/http/fetch/httpparser.h
@@ -161,7 +161,7 @@ protected:
: hp_read_closed;
if (State == hp_begin_chunk_header) {
// unget \n for chunk reader
- buf = (char*)buf - 1;
+ buf = (char*)buf - 1;
size++;
}
if (isReader)
@@ -223,7 +223,7 @@ protected:
if (isReader)
return ChunkSize;
size -= ChunkSize;
- buf = (char*)buf + ChunkSize;
+ buf = (char*)buf + ChunkSize;
} else {
Header->entity_size += size;
ChunkSize -= size;
@@ -252,7 +252,7 @@ public:
}
void Parse(void* buf, long size) {
- TBaseT::ParseGeneric(buf, size);
+ TBaseT::ParseGeneric(buf, size);
}
};
@@ -310,7 +310,7 @@ public:
return Eoferr = -1;
}
}
- Chunk = ParseGeneric(Ptr, Size);
+ Chunk = ParseGeneric(Ptr, Size);
buf = Ptr;
Ptr = (char*)Ptr + Chunk;
Size -= Chunk;
@@ -330,7 +330,7 @@ protected:
while (State == hp_in_header) {
if ((Size = (long)Reader::Read(Ptr)) < 0)
return Eoferr = -1;
- ParseGeneric(Ptr, Size);
+ ParseGeneric(Ptr, Size);
}
if (State == hp_error)
return Eoferr = -1;