diff options
author | joe <joe@jerkface.net> | 2014-03-03 21:44:42 -0500 |
---|---|---|
committer | joe <joe@jerkface.net> | 2014-03-03 21:44:42 -0500 |
commit | 3d051c21587554832724f4087716af540c94068a (patch) | |
tree | f4980975c3219cace61a4b69a8dc893a64da1579 /Presence/Server.hs | |
parent | 5cd226bdc93bdf74b41744b18512afedc86e213d (diff) |
Disabled broken code
Diffstat (limited to 'Presence/Server.hs')
-rw-r--r-- | Presence/Server.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Presence/Server.hs b/Presence/Server.hs index 87644946..24cd5bce 100644 --- a/Presence/Server.hs +++ b/Presence/Server.hs | |||
@@ -524,6 +524,9 @@ newConnection server params conkey u h inout = do | |||
524 | let utc' = formatTime defaultTimeLocale "%s" utc | 524 | let utc' = formatTime defaultTimeLocale "%s" utc |
525 | warn $ "TIMEOUT " <> bshow utc' <> " " <> bshow (pingIdle me, pingTimeOut me) | 525 | warn $ "TIMEOUT " <> bshow utc' <> " " <> bshow (pingIdle me, pingTimeOut me) |
526 | -} | 526 | -} |
527 | utc <- getCurrentTime | ||
528 | let utc' = formatTime defaultTimeLocale "%s" utc | ||
529 | warn $ "ping:TIMEOUT " <> bshow utc' | ||
527 | atomically (connClose newCon) | 530 | atomically (connClose newCon) |
528 | eof | 531 | eof |
529 | 532 | ||
@@ -534,6 +537,9 @@ newConnection server params conkey u h inout = do | |||
534 | let utc' = formatTime defaultTimeLocale "%s" utc | 537 | let utc' = formatTime defaultTimeLocale "%s" utc |
535 | warn $ "IDLE" <> bshow utc' <> " " <> bshow (pingIdle me, pingTimeOut me) | 538 | warn $ "IDLE" <> bshow utc' <> " " <> bshow (pingIdle me, pingTimeOut me) |
536 | -} | 539 | -} |
540 | utc <- getCurrentTime | ||
541 | let utc' = formatTime defaultTimeLocale "%s" utc | ||
542 | warn $ "ping:IDLE " <> bshow utc' | ||
537 | atomically $ announce ((conkey,u),RequiresPing) | 543 | atomically $ announce ((conkey,u),RequiresPing) |
538 | handleEOF conkey u mvar newCon | 544 | handleEOF conkey u mvar newCon |
539 | 545 | ||