summaryrefslogtreecommitdiff
path: root/xmppServer.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-03-03 21:44:42 -0500
committerjoe <joe@jerkface.net>2014-03-03 21:44:42 -0500
commit3d051c21587554832724f4087716af540c94068a (patch)
treef4980975c3219cace61a4b69a8dc893a64da1579 /xmppServer.hs
parent5cd226bdc93bdf74b41744b18512afedc86e213d (diff)
Disabled broken code
Diffstat (limited to 'xmppServer.hs')
-rw-r--r--xmppServer.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmppServer.hs b/xmppServer.hs
index 64d34ff6..b812e584 100644
--- a/xmppServer.hs
+++ b/xmppServer.hs
@@ -267,8 +267,12 @@ newConn state k addr outchan = do
267 atomically $ modifyTVar' (keyToChan state) 267 atomically $ modifyTVar' (keyToChan state)
268 $ Map.insert k Conn { connChan = outchan 268 $ Map.insert k Conn { connChan = outchan
269 , auxAddr = addr } 269 , auxAddr = addr }
270 {-
271 -- DISABLED FOR NOW
272 -- (probably is terminating a thread via exception)
270 when (isPeerKey k) 273 when (isPeerKey k)
271 $ sendProbesAndSolicitations state k addr outchan 274 $ sendProbesAndSolicitations state k addr outchan
275 -}
272 276
273eofConn state k = atomically $ modifyTVar' (keyToChan state) $ Map.delete k 277eofConn state k = atomically $ modifyTVar' (keyToChan state) $ Map.delete k
274 278