mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-29 04:17:55 +01:00
performance improvements to DateTimeParser and HTTP server
This commit is contained in:
@@ -237,7 +237,9 @@ void HTTPCookie::setHttpOnly(bool flag)
|
||||
|
||||
std::string HTTPCookie::toString() const
|
||||
{
|
||||
std::string result(_name);
|
||||
std::string result;
|
||||
result.reserve(256);
|
||||
result.append(_name);
|
||||
result.append("=");
|
||||
if (_version == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user