summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Crypto/Handlers.hs
AgeCommit message (Collapse)Author
2018-11-03PING missing from knownMsgsJames Crayne
* Also Padding (0) should be handled special
2018-11-03PacketRequests are losslessJames Crayne
* PR's are lossless as I originally thought * Also packets between 16 and 192 are lossless. (not sure how/why these things got changed)
2018-11-03Reduce ncRequestInterval to 1 secondJames Crayne
Note: according to the spec, this is the maximum that tox core ever gets to. Tox core shortens it when there are more packets being recieved. This patch also adds some more debug messages.
2018-11-03since PacketRequests are now lazy, dont add them to outqJames Crayne
2018-11-03sendLossless and sendOffline had final tokens swapped somehowJames Crayne
2018-11-03add sensible timeout to sendLosslessJames Crayne
(also call this function from dispatchMessage)
2018-11-03addDestroySessionHookJames Crayne
2018-09-08Factored Data.Tox.Message out of Network.Tox.Crypto.Transport.Joe Crayne
2018-09-07Removed obsolete Connection.Tox.Joe Crayne
2018-08-21Added packet data to lossy inbound event.Joe Crayne
2018-08-18Split grokPacket into inbound/outbound versions.Joe Crayne
2018-08-17Simplified PacketQueue/PacketBuffer interface.Joe Crayne
2018-06-26debug printsjoe
2018-06-26handle packet requests immediatelyjim@bo
2018-06-24call setTerminated from destroySessionjim@bo
2018-06-24debug traces of packet request send/recievejim@bo
2018-06-24fix index-bounds error & improve efficiencyjim@bo
2018-06-23atox: subProcess exe launch from dhtd netcrypto commandjim@bo
2018-06-23OutGoing hooks so SessionView is updated etcjim@bo
2018-06-23show msg in dtrace on outgoingjim@bo
2018-06-22Removed redundant imports and other clean up.joe
2018-06-22OutGoingResult now offers packet for conveniencejim@bo
Also, don't send anohter Online, just send duplicate packet.
2018-06-22call destroySession before freshCrpytoSession on Reset-handshakejim@bo
2018-06-22fix thread cleanup bugjim@bo
2018-06-22longer ncRequestInterval (easier debugging)jim@bo
2018-06-21NetCrypto IdleEvents,TimeOutsjim@bo
2018-06-21TODO comments regarding ncStoredRequestsjim@bo
* In the case that the session seems to lock up, the packet requests could be (re-)handled without sorting. Just in case both sides are waiting on a missing packet.
2018-06-21lengthen packet request interval while debuggingjim@bo
2018-06-21DPut Trace Variationsjim@bo
tput - like dput, but works in any Applicative dtrace - like trace, but takes DebugTag
2018-06-21packet request handling, finished all todo stubs (needs test)jim@bo
2018-06-21handlePacketRequest functionjim@bo
2018-06-21Packet request Thread, ready for testingjim@bo
2018-06-21netCrypto packet-request thread wip (continued)jim@bo
2018-06-21netCrypto packet-request thread wipjim@bo
2018-06-21netcrypto debug messages, extra online packet, and try thrice codejim@bo
2018-06-20debug message in defaultUnRecHookjim@bo
2018-06-20fix nonexaustive patternJames Crayne
2018-06-20netcrypto bug fixesJames Crayne
2018-06-19cleanup code for netcrypto sessionsJames Crayne
2018-06-18Factored Network.Tox.Handshake out of *.Crypto.Handlers.joe
2018-06-18send ONLINE automaticallyJames Crayne
2018-06-18show message on ping recievedJames Crayne
2018-06-18labelThread immediatelyJames Crayne
2018-06-17Adjusted ping behavior for toxcore compatibility.joe
2018-06-18netcrypto ping thread wipJames Crayne
2018-06-17Added packet-id values grepped from c-toxcore.joe
2018-06-16more persueContact wipjoe
2018-06-16remove accepting-task, and initialize toxMgr fieldJames Crayne
2018-06-16Experimental Connection.Tox integrationJames Crayne
2018-06-13tox: mechanism to register node-info callbacks.joe