summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-30Merge branch 'new_api' of github.com:mannol/toxcore into new_apimannol
2015-04-30Added many test and fixed various warningsmannol
2015-04-29Merge pull request #2 from krobelus/new_apimannol
Fixed typo
2015-04-29Fixed typokrobelus
2015-04-29Merge branch 'master' into new_apimannol
2015-04-29Donemannol
2015-04-28Merge branch 'master' of https://github.com/worfox/toxcoreirungentoo
2015-04-28Fixed 404ing link to TODO in README.mdworfox
2015-04-28working av new apimannol
2015-04-27Move LAN discovery from Messenger to friend_connection.irungentoo
2015-04-27Almooooooostmannol
2015-04-26Fixed one case of the connection callback not getting called on reconnection.irungentoo
2015-04-25Switched tox.h to the dsl generated one.irungentoo
Added input file to generate it. Moved the astyle stuff to the astyle directory in other/.
2015-04-26Almost donemannol
2015-04-24Fixed some possible connection issues.irungentoo
2015-04-24Merge branch 'patch-4' of https://github.com/urras/toxcoreirungentoo
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-23Fixed some warnings.irungentoo
2015-04-22Fixed a case where the tcp_data_callback would get called when theirungentoo
connection only worked 1 way.
2015-04-22Fixed possible bug.irungentoo
2015-04-22Fixed possible bug.irungentoo
2015-04-22Fixed possible issue.irungentoo
2015-04-21Move the send tcp relay packet from Messenger to friend connection.irungentoo
2015-04-22Finished refactoringmannol
2015-04-21Only allocate some TCP connections for onion use when needed.irungentoo
Added a function to enable and disable TCP onion connections.
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-20Some small fixes.irungentoo
Increased interval between onion key changes to 2 hours.
2015-04-21Final touchupsmannol
2015-04-20Fix markdown formattingUrras
2015-04-20Add extern "C"mannol
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-18Update commentmannol
2015-04-18The only secure compare function currently needed is one to compare 2 public ↵irungentoo
keys.
2015-04-18Fix toxav callbackmannol
2015-04-18Some messenger fixes.irungentoo
2015-04-18Send oob packets to all relays tied to the connection.irungentoo
Don't fallback to sending oob packets if pipe for normal connection is clogged.
2015-04-18Enable proxy support in TCP_connection.irungentoo
2015-04-18If connected tcp relay becomes disconnected, try to reconnect once.irungentoo
2015-04-17Fixed some tox.h comments.irungentoo
2015-04-17Assign some TCP relays for use with onion packets and keep them connectedirungentoo
for that purpose.
2015-04-17Updated with upstreammannol
2015-04-17Update latestmannol
2015-04-16Properly share connected relays and connect to the friend correctlyirungentoo
with them.
2015-04-16Some fixes and improvements.irungentoo
Fixed that the first TCP relays in the list would never be disconnected even if they were useless.
2015-04-16Only increase connection lock if connection is actively used to connectirungentoo
to a friend. Give the connection a couple seconds (TCP_CONNECTION_ANNOUNCE_TIMEOUT) to connect itself to the friend before killing it if we are already connected to enough total relays.
2015-04-16Store TCP relays tied to friend and reconnect to some when reconnecting.irungentoo
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-15If we know the pk that the oob packet was sent from treat it as a normal ↵irungentoo
data packet.