summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
AgeCommit message (Collapse)Author
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
2014-08-29Removed useless code.irungentoo
2014-08-29Lossless crypto packets can now be sent without the congestion control ↵irungentoo
applying to them.
2014-08-27Added function to check if packet sent with net_crypto was received.irungentoo
2014-08-16Removed useless line.irungentoo
2014-08-16Some thread safety related fixes to TCP connections in net_crypto.irungentoo
Added a recursive mutex to fix possible thread issues when the A/V thread sends data at the same time as the main thread.
2014-08-16New congestion control algorithm.irungentoo
This new congestion control algorithm uses the increase in size of the send queue to regulate how fast it sends data. When tweaked it should work better than the old one.
2014-08-14When getting disconnected from good relay, try to reconnect.irungentoo
2014-08-14Added basic socks5 proxy support to TCP client.irungentoo
2014-08-11Added functions to receive and send onion packets via TCP to net_crypto.cirungentoo
2014-07-31Adding a new connection while a lossy packet is being sent couldirungentoo
also cause thread related issues.
2014-07-31Fixed possible threading issues.irungentoo
send_lossy_cryptpacket() can get called from another thread meaning the connection can be killed while the packet is sending.
2014-07-29Spreading packets around TCP relays causes issues with the audio and video.irungentoo
Make each connection stick to the same relay.