diff options
author | conterouz <conterouz@yandex-team.com> | 2023-09-11 21:51:16 +0300 |
---|---|---|
committer | conterouz <conterouz@yandex-team.com> | 2023-09-11 22:13:09 +0300 |
commit | 6a7def716ee30ea697561451eb4a9a685c39c26b (patch) | |
tree | 3e6aad4e685b12197de81b53d5fee69f9e9e2c93 /library/cpp/http/server/http.h | |
parent | e08d8c6f9b90f2f8a14f26761f8f913614068cf6 (diff) | |
download | ydb-6a7def716ee30ea697561451eb4a9a685c39c26b.tar.gz |
Перенести проверку TTL до парсинга заголовков
Diffstat (limited to 'library/cpp/http/server/http.h')
-rw-r--r-- | library/cpp/http/server/http.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/cpp/http/server/http.h b/library/cpp/http/server/http.h index 1271232cf5..62dfd5a50f 100644 --- a/library/cpp/http/server/http.h +++ b/library/cpp/http/server/http.h @@ -137,6 +137,10 @@ private: * 'true' otherwise ('this' will be deleted) */ virtual bool Reply(void* ThreadSpecificResource); + virtual bool BeforeParseRequestOk(void* ThreadSpecificResource) { + Y_UNUSED(ThreadSpecificResource); + return true; + } void Process(void* ThreadSpecificResource) override; public: |