don't use boost string algorithm

This commit is contained in:
Chunting Gu
2020-02-18 09:49:45 +08:00
parent 7e7ab1c1e8
commit 1e3c2b2604
25 changed files with 336 additions and 308 deletions
+2 -3
View File
@@ -2,9 +2,8 @@
#include <sstream>
#include "boost/algorithm/string.hpp"
#include "webcc/logger.h"
#include "webcc/string.h"
#include "webcc/utility.h"
namespace webcc {
@@ -53,7 +52,7 @@ bool Message::IsConnectionKeepAlive() const {
return true;
}
if (boost::iequals(connection, "Keep-Alive")) {
if (iequals(connection, "Keep-Alive")) {
return true;
}