summaryrefslogtreecommitdiff
path: root/toxcore/friend_connection.c
AgeCommit message (Collapse)Author
2016-08-31Add braces to all if statements.iphydf
2016-08-18Make tox_callback_friend_name stateless.iphydf
See #27 and #40 for details.
2016-01-27 fix: compare sensitive data with sodium_memcmpRoman Proskuryakov
fix: make increment_nonce & increment_nonce_number independent of user-controlled input fix: make crypto_core more stable agains null ptr dereference
2015-06-15Fixed warning.irungentoo
2015-05-19Some fixes.irungentoo
2015-05-18If we get the ip/port of a relay on a local ip, assume that our friendirungentoo
is hosting a relay on his ip.
2015-05-04Fixed possible connection issue.irungentoo
2015-04-27Move LAN discovery from Messenger to friend_connection.irungentoo
2015-04-26Fixed one case of the connection callback not getting called on reconnection.irungentoo
2015-04-21Move the send tcp relay packet from Messenger to friend connection.irungentoo
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-16Store TCP relays tied to friend and reconnect to some when reconnecting.irungentoo
2015-04-03Fixed offline callback being called when connection timed out and diedirungentoo
without ever actually being connected.
2014-12-25Fixed bug.irungentoo
Set friend in onion as offline when friend goes offline.
2014-12-11Fixed crash when connection was killed during the packet callback.irungentoo
2014-12-02Only copy when pointer isn't NULL in get_friendcon_public_keys().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-10-04Send friend request with connection if for some reason (groupchats) weirungentoo
are already connected to the friend but they have not added us yet.
2014-10-01Group chats now actually work somewhat.irungentoo
2014-09-30Added some functions to friend_connection.irungentoo
2014-09-27Moved all the connection stuff from messenger to friend_connection.irungentoo
Messenger was doing way do many things. friend_connection takes care of finding and establishing a connection to friends.