summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
AgeCommit message (Collapse)Author
2015-07-26This might improve the file transfer disconnect issue.irungentoo
2015-07-07Link changes.irungentoo
2015-06-28Fixed bug.irungentoo
2015-06-25Fixed warning.irungentoo
2015-06-23Added code to net_crypto to calculate rtt.irungentoo
2015-06-21Lower the chances of disconnect when transferring files.irungentoo
2015-06-16Made new_tcp_connections() not depend on dht.irungentoo
2015-05-31Congestion control tweaks.irungentoo
2015-05-21Load only secret key from tox save, not public key.irungentoo
Calculate public key from it.
2015-05-17Some protocol efficiency improvements.irungentoo
Reduced the amount of waste from dropped packets.
2015-05-16Don't resend the same packet twice within a short timeframe.irungentoo
2015-05-15Fixed friends getting disconnected when transferring files.irungentoo
2015-05-04Fixed possible connection issue.irungentoo
2015-05-01Fixed some non standard C.irungentoo
Replaced void * with uint8_t * in list.c
2015-04-30Fixed some warnings.irungentoo
Removed useless include.
2015-04-24Fixed some possible connection issues.irungentoo
2015-04-24Fixed a couple possible issues with the friend connection callback.irungentoo
A TCP callback could be received when only a UDP connection was present. Increased a UDP timeout to make it less likely to time out and switch to TCP.
2015-04-22Fixed possible bug.irungentoo
2015-04-22Fixed possible bug.irungentoo
2015-04-21If a net_crypto connection isn't using the TCP relays, disconnect from them.irungentoo
TCP_connections can now be put to sleep, a state where they store what they were connected to without being connected and then resumed from sleep.
2015-04-19Removed useless stuff.irungentoo
2015-04-19If connection is directly connected, don't fallback to sending with tcpirungentoo
if sending directly fails.
2015-04-18Some changes to net crypto.irungentoo
Should fix certain connection issues that sometimes happen. The dht public key of the peer must be known to create the connection. If the dht pk of the peer changes when a connection is active, it is killed to make way for the new one.
2015-04-18The only secure compare function currently needed is one to compare 2 public ↵irungentoo
keys.
2015-04-18Enable proxy support in TCP_connection.irungentoo
2015-04-17Assign some TCP relays for use with onion packets and keep them connectedirungentoo
for that purpose.
2015-04-15Made net_crypto use TCP_connection.irungentoo
TODO: -Reconnection. -If UDP connction is good, connect to less TCP relays. -Store some TCP relays in friend connection associated to each friend?
2015-04-04Use define instead of 0.irungentoo
2015-03-13When link can't send packets anymore, stop the request chunk callback.irungentoo
Removed time variable in packet struct and replaced it with sent variable.
2015-03-12File sending improvements.irungentoo
Use correct double to integer conversion.
2015-03-12File transfer fixes and improvements.irungentoo
2015-02-06Fixed memory leak.irungentoo
2015-02-06Fix memory leaks.irungentoo
2015-01-31Fixed bug where mutex would be destroyed but not recreated for newirungentoo
net_crypto connection. Only destroy mutex when it is realloced out.
2015-01-29Code cleanups.irungentoo
Rename array in Node_format from client_id to public_key.
2015-01-17Attempted fix of Tox disconnecting during file transfers by tweakingirungentoo
some congestion control numbers.
2015-01-16Tox should work better on TCP only when some people have broken TCPirungentoo
nodes and don't update them. Paths now try to use the same TCP node for their entire lifetime.
2014-12-26Fixed bug with auto tests and cleaned up the code a bit.irungentoo
2014-12-26Merge branch 'http-proxy-feature' of ↵irungentoo
https://github.com/nurupo/InsertProjectNameHere
2014-12-21Some refactoring of proxy codeMaxim Biro
2014-12-15Some optimizations on how TCP relays are used.irungentoo
2014-12-11Fixed crash when connection was killed during the packet callback.irungentoo
2014-12-03Fixed possible threading issue.irungentoo
2014-12-03Fixed possible threading issue.irungentoo
2014-12-03Fixed possible threading issues.irungentoo
2014-11-29Merge branch 'mutex-1' of https://github.com/mannol/toxcoreirungentoo
2014-11-29More av cleanupmannol
2014-11-25Fixed threading issues in toxcore.irungentoo
2014-11-21Cleaned up packet length types in toxcore.irungentoo
They are now all uint16_t instead of sometimes being uint32_t. Replaced some other uint32_t with unsigned ints.
2014-11-14Fixed some threading related issues in toxcore.irungentoo