|
|
|
@ -36,7 +36,6 @@
@@ -36,7 +36,6 @@
|
|
|
|
|
|
|
|
|
|
#include <boost/algorithm/string/case_conv.hpp> // for to_lower() |
|
|
|
|
#include <boost/foreach.hpp> |
|
|
|
|
#include <boost/scoped_ptr.hpp> |
|
|
|
|
|
|
|
|
|
/** Maximum size of http request (request line + headers) */ |
|
|
|
|
static const size_t MAX_HEADERS_SIZE = 8192; |
|
|
|
@ -54,7 +53,7 @@ public:
@@ -54,7 +53,7 @@ public:
|
|
|
|
|
func(req.get(), path); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
boost::scoped_ptr<HTTPRequest> req; |
|
|
|
|
std::unique_ptr<HTTPRequest> req; |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
std::string path; |
|
|
|
|