diff options
Diffstat (limited to 'library/cpp/http/misc/httpreqdata.cpp')
| -rw-r--r-- | library/cpp/http/misc/httpreqdata.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/misc/httpreqdata.cpp b/library/cpp/http/misc/httpreqdata.cpp index f6951f68cd9..4384caf0cf5 100644 --- a/library/cpp/http/misc/httpreqdata.cpp +++ b/library/cpp/http/misc/httpreqdata.cpp @@ -21,7 +21,7 @@ TBaseServerRequestData::TBaseServerRequestData(const char* qs, SOCKET s) , Path(nullptr) , Search((char*)qs) , SearchLength(qs ? strlen(qs) : 0) - , OrigSearch(Search, SearchLength) + , OrigSearch(Search, SearchLength) , Socket(s) , BeginTime(MicroSeconds()) { @@ -110,7 +110,7 @@ const char* TBaseServerRequestData::Environment(const char* key) const { void TBaseServerRequestData::Clear() { HeadersIn_.clear(); Addr = Path = Search = nullptr; - OrigSearch = {}; + OrigSearch = {}; SearchLength = 0; Host.clear(); Port.clear(); @@ -174,8 +174,8 @@ bool TBaseServerRequestData::Parse(const char* origReq) { } else { SearchLength = 0; } - OrigSearch = {Search, SearchLength}; - + OrigSearch = {Search, SearchLength}; + return true; } |
