diff options
author | darkk <darkk@yandex-team.ru> | 2022-02-10 16:49:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:49 +0300 |
commit | 53d07fb9e28d179add32cd299c9341bf8a231a31 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/fetch/httpfsm.h | |
parent | f772ca38c4a395b911129411c06b2074d69d826f (diff) | |
download | ydb-53d07fb9e28d179add32cd299c9341bf8a231a31.tar.gz |
Restoring authorship annotation for <darkk@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/fetch/httpfsm.h')
-rw-r--r-- | library/cpp/http/fetch/httpfsm.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/http/fetch/httpfsm.h b/library/cpp/http/fetch/httpfsm.h index d09670545b..c4abdcd0d2 100644 --- a/library/cpp/http/fetch/httpfsm.h +++ b/library/cpp/http/fetch/httpfsm.h @@ -8,13 +8,13 @@ #include <time.h> struct THttpHeaderParser { - static constexpr int ErrFirstlineTypeMismatch = -3; - static constexpr int ErrHeader = -2; - static constexpr int Err = -1; - static constexpr int Final = 0; - static constexpr int NeedMore = 1; - static constexpr int Accepted = 2; - + static constexpr int ErrFirstlineTypeMismatch = -3; + static constexpr int ErrHeader = -2; + static constexpr int Err = -1; + static constexpr int Final = 0; + static constexpr int NeedMore = 1; + static constexpr int Accepted = 2; + int Execute(const void* inBuf, size_t len) { return execute((unsigned char*)inBuf, (int)len); } |