summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
AgeCommit message (Collapse)Author
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.
2014-07-27Only send kill packet when killing established connection.irungentoo
2014-07-21Fixed bug where two Tox clients sometimes didn't reconnect rightirungentoo
after disconnecting due to them getting stuck in a connection loop.
2014-07-21Don't set connection to established if packet is kill packet.irungentoo
Removed now useless defines in network.h
2014-07-19Removed useless function.irungentoo
2014-07-18Spread packets over many TCP relays instead of just using the first one.irungentoo
2014-07-14Change connection status before handling data packets.irungentoo
2014-07-14Set packets_left to default non zero values when creating connection.irungentoo
2014-07-14Packets can now be sent from the connection status callback.irungentoo
2014-07-14Attempted fix of file transfer issue.irungentoo
Instead of dropping the rate to minimum just half it until it drops to the minimum.
2014-07-11.notsecure
2014-07-10fix send rate going up when peer disconnectsnotsecure
2014-07-02Merge branch 'const_correctness' of https://github.com/schuetzm/ProjectTox-Coreirungentoo
2014-06-30Const-correctness for toxcore/net_crypto.cMarc Schütz
2014-06-30Const correctness for toxcore/Messenger.c and related filesMarc Schütz
2014-06-29Core should no longer attempt to send data faster than the links canirungentoo
carry it.
2014-06-25Fixed some more possible issues with file transfers/conjestion control.irungentoo
2014-06-25Tweaked conjestion control algorithm.irungentoo
File transfers should now work better.
2014-06-20Reduced number of realloc calls bs_list doesMaxim Biro
2014-06-15Astyled code.irungentoo
2014-06-13Const correctness for various packet callbacksMarc Schütz
2014-06-12pthread is now a core dependency instead of just a toxav dependency.irungentoo
Fixed possible thread bug with sending A/V packets. TODO: eventually make toxcore thread safe.
2014-06-10Const correctness in various interdependent filesMarc Schütz