From 1225eecdf09c5e8d10e48bc4a608c050322ff2f8 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 11 Jan 2011 00:59:08 +0000 Subject: [PATCH] - attempt to fix the socket send freeze bug --- source/glest_game/main/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/glest_game/main/main.cpp b/source/glest_game/main/main.cpp index 1975fa11..849123ae 100644 --- a/source/glest_game/main/main.cpp +++ b/source/glest_game/main/main.cpp @@ -1701,6 +1701,9 @@ __try { #if defined(__GNUC__) && !defined(__MINGW32__) signal(SIGSEGV, handleSIGSEGV); + + // http://developerweb.net/viewtopic.php?id=3013 + signal(SIGPIPE, SIG_IGN); #endif return glestMain(argc, argv);