Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Change UponHandshake values in NetCryptoSession to TVars
* factor freshCryptoSession, new functions:
runUponHandshake
createNetCryptoOutQueue
* Try to handle intitated vs uninitiated sessions better
(modifications to updateCryptoSession)
|
|
|
|
|
|
|
|
* integrates Connection.Tox and Network.Tox.Crypto.Handlers
* Network.Tox.netCrypto function uses freshCryptoSession
|
|
* adapt code to use types isomorphic to Maybe
but which inform what state the connection
must be in at the time the code is run.
* also add more documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|