From 57de436db4310119c3960106789b4d37e9fd24cb Mon Sep 17 00:00:00 2001 From: athile Date: Tue, 6 Jul 2010 10:21:18 -0700 Subject: [PATCH] Command server Linux fix for open client connections. --- components/commandserver/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/commandserver/server.cpp b/components/commandserver/server.cpp index a63424242..26f328ecd 100755 --- a/components/commandserver/server.cpp +++ b/components/commandserver/server.cpp @@ -53,7 +53,7 @@ namespace OMW { namespace CommandServer { namespace Detail { /// void Connection::stop() { - mSocket.close(); + mSocket.shutdown(boost::asio::socket_base::shutdown_both); mpThread->join(); }