diff --git a/server/dbproxy/app.cc b/server/dbproxy/app.cc index f4f25cc..8bd78fc 100644 --- a/server/dbproxy/app.cc +++ b/server/dbproxy/app.cc @@ -1,5 +1,6 @@ #include "precompile.h" +#include #include #include #include @@ -64,6 +65,8 @@ static void SavePerfLog() void App::Init(int argc, char* argv[]) { + signal(SIGPIPE, SIG_IGN); + this->argc = argc; this->argv = argv;