summaryrefslogtreecommitdiffstats
path: root/src/Server
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-27 22:43:37 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-27 22:43:37 +0200
commitbf56fa726e1d6ed228fde841e6312d61122174da (patch)
tree662195b887f69615571957cbaedd5c07aee7eef6 /src/Server
parent96b69222fa0c22d0eaefaae291e78913b2ae13e9 (diff)
downloadmad-bf56fa726e1d6ed228fde841e6312d61122174da.tar
mad-bf56fa726e1d6ed228fde841e6312d61122174da.zip
Connection: Noch eine Race Condition gefixt
Diffstat (limited to 'src/Server')
-rw-r--r--src/Server/ConnectionManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Server/ConnectionManager.cpp b/src/Server/ConnectionManager.cpp
index 27b65c2..cb7376c 100644
--- a/src/Server/ConnectionManager.cpp
+++ b/src/Server/ConnectionManager.cpp
@@ -198,6 +198,8 @@ void ConnectionManager::handleNewConnection(boost::shared_ptr<Net::Connection> c
connections.insert(connection);
application->getRequestManager()->registerConnection(connection.get());
+
+ con->startReceive();
}
void ConnectionManager::handleDisconnect(boost::weak_ptr<ServerConnection> con) {