summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Network/QueryResponse.hs5
-rw-r--r--todo.txt7
2 files changed, 7 insertions, 5 deletions
diff --git a/src/Network/QueryResponse.hs b/src/Network/QueryResponse.hs
index f15a0855..b757aed7 100644
--- a/src/Network/QueryResponse.hs
+++ b/src/Network/QueryResponse.hs
@@ -189,8 +189,9 @@ sendQuery (Client net d err pending whoami _) meth q addr0 = do
189 writeTVar pending tbl' 189 writeTVar pending tbl'
190 return (tid,addr,expiry) 190 return (tid,addr,expiry)
191 self <- whoami (Just addr) 191 self <- whoami (Just addr)
192 sendMessage net addr (wrapQuery meth tid self addr q) 192 mres <- do sendMessage net addr (wrapQuery meth tid self addr q)
193 mres <- timeout expiry $ takeMVar mvar 193 timeout expiry $ takeMVar mvar
194 `catchIOError` (\e -> return Nothing)
194 case mres of 195 case mres of
195 Just x -> return $ Just $ unwrapResponse meth x 196 Just x -> return $ Just $ unwrapResponse meth x
196 Nothing -> do 197 Nothing -> do
diff --git a/todo.txt b/todo.txt
index 92da7962..4ec76376 100644
--- a/todo.txt
+++ b/todo.txt
@@ -1,3 +1,7 @@
1kademlia: Search is not working as well as expected. Fast informants are
2 probably pushing out closer but slow informants for longer-timeout
3 queries like tox onion-routed queries.
4
1ui: Online help. 5ui: Online help.
2 6
3ui: Explicit routing table node deletion. "forget" command. 7ui: Explicit routing table node deletion. "forget" command.
@@ -14,9 +18,6 @@ bug: Why does running without -4 (ipv4-only) on an ipv6-disabled computer preven
14kademlia: Give different networks a different minimum count to terminate 18kademlia: Give different networks a different minimum count to terminate
15 bootstrap. Imperically, tox4: 6 buckets, tox6: 3 buckets 19 bootstrap. Imperically, tox4: 6 buckets, tox6: 3 buckets
16 20
17bug: Unhandled exception: dhtd: Network.Socket.sendTo: does not exist (Network
18 is unreachable
19
20tox: Don't store ourself in the kademlia buckets. 21tox: Don't store ourself in the kademlia buckets.
21 22
22tox: fallback to https://nodes.tox.chat/json 23tox: fallback to https://nodes.tox.chat/json