summaryrefslogtreecommitdiff
path: root/dht
AgeCommit message (Collapse)Author
2020-01-01Avoid async queries for UDP kademlia searches.Joe Crayne
Commit 46b1ebb8 "Use async queries for all UDP kademlia searches." caused problems. This change reverts it. The async query support must be broken. When using async queries, eventually the "timeout" call stops working and a ping to an unresponding node just hangs forever waiting for a response. We will hold off on async queries until the timeout bug is better understood.
2020-01-01Switch to disable TCP.Joe Crayne
2020-01-01Remove query-id dependency from timeout computation.Joe Crayne
2020-01-01Avoid calling getSocketName after socketToHandle.Joe Crayne
2020-01-01Debug print upon toxid garbage collection.Joe Crayne
2020-01-01Switched z-base32 to use 4-bit crc.Joe Crayne
2020-01-01Refactored node-id appearance to Codec.AsciiKey256.Joe Crayne
2020-01-01Refactoring.Joe Crayne
2020-01-01Tox-XMPP: Switched to z-base32 domain names.Joe Crayne
2020-01-01Prefer IPv4 when parsing TCP nodes JSON.Joe Crayne
2020-01-01* Fixed accidental usage of TCP rather than UDP port.Joe Crayne
* Onion: special handling for localhost addresses.
2020-01-01TCP Relay: use same crypto keys as Tox UDP node.Joe Crayne
2020-01-01Show instance for RouteRecord and OnionRoute.Joe Crayne
2020-01-01QueryResponse: Support the IO varient of fdSocket.Joe Crayne
2020-01-01Clean up "gc:bt-peers" thread.Joe Crayne
2020-01-01Quit XMPP.monitor thread.Joe Crayne
2020-01-01Clean up "localchat" thread.Joe Crayne
2020-01-01Shutdown Tox TCP Relay.Joe Crayne
2020-01-01More thread cleanup.Joe Crayne
2020-01-01more forkLabeled, and now forkOSLabeledJames Crayne
2020-01-01convert forkIO to forkLabeled (wip)James Crayne
2020-01-01Clean-up relay-client transport.Joe Crayne
2020-01-01Control.Concurrent.ThreadUtil replaces #ifdef importsJames Crayne
* new function, forkLabeled * new module Control.Concurrent.ThreadUtil * label a few unlabeled threads
2020-01-01Clean up forked transports.Joe Crayne
2020-01-01Use GHC's closeFdWith to un-block recvFrom.Joe Crayne
2020-01-01Debugging recvFrom termination.Joe Crayne
2020-01-01implement --noavahiJames Crayne
2020-01-01Port commit afe40dd4 to newer network libraryJames Crayne
2020-01-01Use O_NONBLOCK to interrupt blocking recvFrom.Joe Crayne
2020-01-01show bind address in thread nameJames Crayne
2020-01-01End-of-daemon thread report.Joe Crayne
2020-01-01Fixed resource-exhausted logic.Joe Crayne
2020-01-01Repaired build for older Network package.Joe Crayne
2020-01-01--help for dhtdJames Crayne
2020-01-01Successful builds against newer network packageJames Crayne
Built against both network-3.0.1.0 and network-3.1.0.0 Note, due to upstream issue, getting network-bsd-2.8.1.0 to cooperate with network-3.0.1.0 requires a little finessing. The network-bsd package expects a header(HsNetConfig.h) that network fails to provide. A simple work around is to copy the header after running a newer version of the network configure script from github. Similar for network-3.1.0.0, but this time the header is HsNetworkConfig.h.
2020-01-01Preparation for support of new network package:James Crayne
* The network-bsd flag is split into two flags: - old-network-bsd (for network >2.6 && < 2.9) - new-network-bsd (for network >=3.0) * Unused methods in SocketLike class have been removed
2020-01-01Fix build and update the cabal fileJames Crayne
* Remove some old references to bittorrent package * Update package description * Reboot the ChangeLog
2020-01-01It builds.Joe Crayne
2020-01-01dhtd: dependencies split-off from dht-client library.Joe Crayne
2020-01-01TODO note about removing "weird-hack" in XMPPServer.Joe Crayne
2020-01-01Use dput-hslogger instead of internal DPutJames Crayne
2020-01-01Move Data.Torrent to torrent-types libraryJames Crayne
2020-01-01Factor out some new librariesJames Crayne
word64-map: Data.Word64Map network-addr: Network.Address tox-crypto: Crypto.Tox lifted-concurrent: Control.Concurrent.Lifted.Instrument Control.Concurrent.Async.Lifted.Instrument psq-wrap: Data.Wrapper.PSQInt Data.Wrapper.PSQ minmax-psq: Data.MinMaxPSQ tasks: Control.Concurrent.Tasks kad: Network.Kademlia Network.Kademlia.Bootstrap Network.Kademlia.Routing Network.Kademlia.CommonAPI Network.Kademlia.Persistence Network.Kademlia.Search