remove pesky sstream
This commit is contained in:
parent
392726bad3
commit
04afe8fbf1
@ -38,13 +38,18 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include <boost/noncopyable.hpp>
|
#include <boost/noncopyable.hpp>
|
||||||
|
|
||||||
struct ServerFactory : boost::noncopyable {
|
struct ServerFactory : boost::noncopyable {
|
||||||
static Server * CreateServer(std::string& ip_address, int ip_port, int threads) {
|
static Server * CreateServer(
|
||||||
|
std::string& ip_address,
|
||||||
|
int ip_port,
|
||||||
|
int threads
|
||||||
|
) {
|
||||||
|
|
||||||
SimpleLogger().Write() <<
|
SimpleLogger().Write() <<
|
||||||
"http 1.1 compression handled by zlib version " << zlibVersion();
|
"http 1.1 compression handled by zlib version " << zlibVersion();
|
||||||
|
|
||||||
std::string port_stream;
|
std::string port_stream;
|
||||||
intToString(ip_port, port_stream);
|
intToString(ip_port, port_stream);
|
||||||
|
|
||||||
return new Server(
|
return new Server(
|
||||||
ip_address,
|
ip_address,
|
||||||
port_stream,
|
port_stream,
|
||||||
|
Loading…
Reference in New Issue
Block a user