diff options
-rw-r--r-- | src/Network/QueryResponse.hs | 5 | ||||
-rw-r--r-- | todo.txt | 7 |
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 |
@@ -1,3 +1,7 @@ | |||
1 | kademlia: 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 | |||
1 | ui: Online help. | 5 | ui: Online help. |
2 | 6 | ||
3 | ui: Explicit routing table node deletion. "forget" command. | 7 | ui: 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 | |||
14 | kademlia: Give different networks a different minimum count to terminate | 18 | kademlia: 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 | ||
17 | bug: Unhandled exception: dhtd: Network.Socket.sendTo: does not exist (Network | ||
18 | is unreachable | ||
19 | |||
20 | tox: Don't store ourself in the kademlia buckets. | 21 | tox: Don't store ourself in the kademlia buckets. |
21 | 22 | ||
22 | tox: fallback to https://nodes.tox.chat/json | 23 | tox: fallback to https://nodes.tox.chat/json |