simplify string utilities

This commit is contained in:
Chunting Gu
2021-04-19 14:01:18 +08:00
parent f5f72d7897
commit 01210e8a42
16 changed files with 150 additions and 191 deletions
+3 -2
View File
@@ -2,8 +2,9 @@
#include <sstream>
#include "boost/algorithm/string.hpp"
#include "webcc/logger.h"
#include "webcc/string.h"
#include "webcc/utility.h"
namespace webcc {
@@ -52,7 +53,7 @@ bool Message::IsConnectionKeepAlive() const {
return true;
}
if (iequals(connection, "Keep-Alive")) {
if (boost::iequals(connection, "Keep-Alive")) {
return true;
}