summaryrefslogtreecommitdiff
path: root/toxcore
AgeCommit message (Collapse)Author
2015-04-17Assign some TCP relays for use with onion packets and keep them connectedirungentoo
for that purpose.
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.
2015-04-15Fixed memory leak in TCP connection.irungentoo
2015-04-15Some work done on TCP_Connection.irungentoo
The main thing left to do is the reconnect if we get disconnected part.
2015-04-14Fixed windows warning.irungentoo
2015-04-13TCP connection mostly done.irungentoo
Only thing left is testing and integrating it in net_crypto.
2015-04-13Make tox_new return TOX_ERR_NEW_PORT_ALLOC for all socket related errors.irungentoo
2015-04-11Enable SO_REUSEADDR on TCP server socket.irungentoo
2015-04-10More work on TCP connection.irungentoo
Only a couple things left to add.
2015-04-09Some more work on TCP connection.irungentoo
2015-04-09tox_hash fix.irungentoo
2015-04-07TCP_connection started.irungentoo
The plan is to move some of the TCP stuff from net_crypto into it.
2015-04-05Fixed typo.irungentoo
2015-04-04Use define instead of 0.irungentoo
2015-04-03Fixed offline callback being called when connection timed out and diedirungentoo
without ever actually being connected.
2015-04-03File transfer fixes.irungentoo
Don't allow non transferring files to be paused and then resumed starting the file transfer.
2015-04-03Attempted fix of on off UDP connection causing toxcore to disconnect fromirungentoo
the friend.
2015-04-02Merge branch 'last_online' of https://github.com/JFreegman/toxcoreirungentoo
2015-04-02API function to get last seen timestamp of friendJfreegman
also removed remnants of the no longer used variable ping_lastrecv
2015-04-01Increased max possible amount of TCP connections in TCP server when using epoll.irungentoo
2015-03-31Merge branch 'comment-fix' of https://github.com/JFreegman/toxcoreirungentoo
2015-03-31Amend comments to reflect undefined filenumber and friendnumber behaviorJfreegman
2015-03-30Removed unused variable.irungentoo
2015-03-29Merge branch 'tox_friend_delete_additinal_documantation' of ↵irungentoo
https://github.com/Raffinate/toxcore
2015-03-29Increase thread safety.irungentoo
randombytes() doesn't seem to have any real speed disadvantage. Also makes people who think nonces need to be random happy.
2015-03-29Additional description for tox_friend_delete.Aleksey Mokhovikov
2015-03-27Fixed file transfer bug.irungentoo
This should have been at the beginning of the loop, not the end.
2015-03-27Comment fix.irungentoo
2015-03-26Making tox_encrypted_new() use the same error codes as tox_new was a bad idea.irungentoo
They now have their own error codes.
2015-03-25If length is 0, data should be ignored.Roman Pasichnyk
2015-03-24Comment fix.irungentoo
2015-03-23tox.h comment fix.irungentoo
2015-03-23Changed the share relay packet id.irungentoo
2015-03-23Merge branch 'new_api'irungentoo
2015-03-23Added some more checks for file packets.irungentoo
2015-03-22Fixes #1298Anurag Agarwal
2015-03-22Fixes #1297Anurag Agarwal
2015-03-22Fixes #1296Anurag Agarwal
2015-03-21Renamed tox_file_send_control to tox_file_control.irungentoo
Renamed tox_file_send_seek to tox_file_seek.
2015-03-21Transfers with filelength == 0 now behave exactly like transfers of everyirungentoo
other size (except streaming of course).
2015-03-20Allow sending of file transfer requests with length 0 but don't allocateirungentoo
any file number for them in core. These can be used to tell friends we don't have an avatar set or to unset a set avatar.
2015-03-20For file transfers UINT64_MAX is now used as the size for streamingirungentoo
transfers instead of 0. For avatar transfers file size 0 now means that the client has no avatar set. Added a test for streaming transfers.
2015-03-19callback_file_request_chunk -> callback_file_chunk_requestDubslow
A couple of minor reasons, combined warrant a PR imo: a) fileChunkRequested is a better signal name than fileRequestChunkReceived, and I don't want to break consistency by reordering words for just this signal b) "request chunk" is parsed by English speakers as a verb-object combination, implying sending the request, not receiving, whereas "chunk requested" is parsed (more correctly) as an adjective-noun combo (in particular, request is a noun not a verb), and thus reads far more like "hey heads up we just got a request" For instance some tests/testing code had some callbacks to *receive* chunk requests, and they were called "tox_file_request_chunk"... to receive a chunk, not request it. Now they're called "tox_file_chunk_request". So yeah...
2015-03-18Renamed TOX_MESSAGE_TYPE_MESSAGE to TOX_MESSAGE_TYPE_NORMAL.irungentoo
2015-03-18Merge branch 'one_more_rename' of https://github.com/dubslow/toxcore into ↵irungentoo
new_api