diff --git a/server/wsproxy/app.cc b/server/wsproxy/app.cc index cb769a7..c0f3e3b 100644 --- a/server/wsproxy/app.cc +++ b/server/wsproxy/app.cc @@ -1,5 +1,6 @@ #include "precompile.h" +#include #include #include #include @@ -76,6 +77,7 @@ void App::Init(int argc, char* argv[]) return; } a8::XPrintf("masterserver starting instance_id:%d pid:%d\n", {instance_id, getpid()}); + signal(SIGPIPE, SIG_IGN); loop_mutex_ = new std::mutex(); loop_cond_ = new std::condition_variable();