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 | f772ca38c4a395b911129411c06b2074d69d826f (patch) | |
tree | 76717845f670ca68fd5ebb858eaaf9963032c74e /library/cpp/http/fetch/httpfsm.h | |
parent | ab4e3e6f0c4354283ce0375c811569c080cbfbc3 (diff) | |
download | ydb-f772ca38c4a395b911129411c06b2074d69d826f.tar.gz |
Restoring authorship annotation for <darkk@yandex-team.ru>. Commit 1 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 c4abdcd0d23..d09670545bf 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); } |