summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
AgeCommit message (Collapse)Author
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
2014-11-11Prevent connection ips from switching on LAN.irungentoo
2014-10-25Merge branch 'master' of https://github.com/xor2003/toxcoreirungentoo_trip
# # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
2014-10-24Add a check (reported by Coverity)xor2003
2014-10-24Prevent lockxor2003
2014-10-24Fix uninitializedxor2003
2014-09-26Remove timestamp from set_connection_dht_public_key().irungentoo
2014-09-26Only set dht public key and direct ip when first creating connection.irungentoo
Check if ip family is valid in set_direct_ip_port() function.
2014-09-26Removed useless code from onion_client.irungentoo
Astyled.
2014-09-26Added callbacks to onion_client and net_crypto for the temp dht key.irungentoo
Better than the polling mess. Moved DHT to Messenger from onion_client (still needs some cleanups).
2014-09-23Added some checks to mutex related functions.irungentoo
2014-09-11Replace fprintf(stderr,...) by LOGGER_*() in net_cryptoTux3 / Mlkj / !Lev.uXFMLA
2014-09-09spelling correctionscgar
2014-08-29Speeded up start of file transfers.irungentoo