diff options
Diffstat (limited to 'library/cpp/http/server/http.cpp')
-rw-r--r-- | library/cpp/http/server/http.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/cpp/http/server/http.cpp b/library/cpp/http/server/http.cpp index 58d23d994d..a5dfe08e55 100644 --- a/library/cpp/http/server/http.cpp +++ b/library/cpp/http/server/http.cpp @@ -744,6 +744,11 @@ void TClientRequest::Process(void* ThreadSpecificResource) { HttpConn_->Output()->EnableCompression(HttpServ()->Options().CompressionEnabled); } + if (!BeforeParseRequestOk(ThreadSpecificResource)) { + ReleaseConnection(); + return; + } + if (ParsedHeaders.empty()) { RequestString = Input().FirstLine(); |