Commit Graph
1401 Commits
Author SHA1 Message Date
irungentoo 39700abd86 Check if node can be stored before sorting. 2015-12-10 10:09:48 -05:00
irungentoo 8fa264e770 Small fix. 2015-12-09 09:10:03 -05:00
irungentoo deb0b358a5 DHT fix.
Improve DHT distance function.
2015-12-09 08:59:10 -05:00
irungentoo 4a6837acc7 Improve likelyhood of the closest nodes being in our lists. 2015-12-08 20:04:27 -05:00
irungentoo 30acc33ef6 uint32_t -> unsigned int. 2015-12-08 19:09:38 -05:00
irungentoo feda36e7cf Forgot to stage this before committing. 2015-12-08 18:37:02 -05:00
irungentoo 4f33b27f6b Fixed DHT bug. 2015-12-08 16:50:18 -05:00
irungentoo 73b2bce08a If we receive a packet from a node we are searching for, ping it. 2015-12-08 15:43:03 -05:00
irungentoo f40a60575f Slightly increased number of peers to announce to.
Some test fixes.
2015-12-01 20:11:53 -05:00
irungentoo 73b2144edc Increase max file transfer speed.
Fix bug that limited it to 1K packets per second.
2015-11-21 11:05:26 -05:00
irungentoo 25843bf141 More file transfer improvements. 2015-11-21 10:05:39 -05:00
irungentoo 608ee07c96 File transfer fix. 2015-11-20 21:48:25 -05:00
irungentoo 994a5db105 File transfer fix. 2015-11-20 20:34:15 -05:00
irungentoo 5a800fe467 Send queue size should not affect the speed of packets being resent. 2015-11-19 17:04:39 -05:00
irungentoo 548fafc4dd Fixed division by 0. 2015-11-19 15:10:20 -05:00
irungentoo 0c29c00125 Attempted fix of disconnect when switching from TCP to UDP. 2015-11-19 15:03:02 -05:00
irungentoo 9fc96fae6f Send more request packets if packet receive rate is high. 2015-11-17 19:12:16 -05:00
irungentoo d699a9627f Don't spam request packets. 2015-11-17 18:42:01 -05:00
irungentoo e1089c1779 Less magic numbers. 2015-11-12 15:48:14 -05:00
irungentoo c84b9c4b4c Remove an old fix that didn't fix anything. 2015-11-12 15:32:40 -05:00
irungentoo 22634a4b93 Attempted fix of UDP disconnect bug that happens when both ipv4 and ipv6 are connected. 2015-11-11 18:58:41 -05:00
irungentoo 6b7f1deb79 Lower chances of disconnect during file transfers. 2015-11-11 11:00:08 -05:00
irungentoo 0d0b74f5a8 More file transfer improvements.
Use a formula instead of magic numbers.
2015-11-10 19:00:00 -05:00
irungentoo 7022cef26e File transfer fixes.
Fixed file transfers disconnecting tox clients from each other in
some network conditions.
2015-11-09 20:13:53 -05:00
irungentoo 6a494e2cbd Astyle. 2015-11-03 13:42:05 -05:00
irungentoo 0157017760 Prevent seek equal to size of file transfer so that toxcore respects what the docs say. 2015-10-23 22:54:22 +02:00
irungentoo 4e5dd8a6f6 Lowered interval in onion_client. 2015-10-23 22:54:22 +02:00
tux3 9c824105a9 Fix PACKET_ID_OFFLINE fallinthrough PACKET_ID_NICKNAME
This fixes the PACKET_ID_OFFLINE handling code incorrectly falling through to the PACKET_ID_NICKNAME handling code

This bug resulted in a friend B's name being wiped on friend A's client after B removes A

Fixes tux3/qTox#1967

Fixes #1426
2015-10-23 22:54:21 +02:00
irungentoo 826e18315b Increased cookie timeout. 2015-10-23 22:54:21 +02:00
irungentoo 7da177cfd3 Increased max number of stored announce entries. 2015-10-23 22:54:21 +02:00
irungentoo 0ad1fadb97 Remove useless code. 2015-10-23 22:54:21 +02:00
irungentoo 283297a10d Increased timeouts. 2015-10-23 22:54:21 +02:00
Eniz Vukovic d6fdf16520 New Adaptive BR algorithm, cleanups and fixes 2015-10-10 23:54:23 +02:00
mannol c641b0fceb Updated with upstream 2015-08-09 12:39:21 +02:00
irungentoo 6cb8ff4d65 Removed a useless define. 2015-08-07 20:53:53 -04:00
irungentoo 4d28630d49 client_id -> public_key 2015-08-06 11:50:25 -04:00
irungentoo 540db7ec37 client_id -> public_key 2015-08-05 22:02:32 -04:00
irungentoo 1ef94e58cf comp_client_id -> comp_public_key 2015-08-04 21:59:39 -04:00
irungentoo 443e23fcf6 Remove useless var. 2015-08-03 20:57:48 -04:00
irungentoo 87b11024cd Save fixes. 2015-08-02 21:16:08 -04:00
irungentoo 7e964d4370 DHT save fixes. 2015-08-01 21:29:00 -04:00
irungentoo 23fbdf4ddf client_id -> public_key 2015-07-30 21:24:38 -04:00
irungentoo dfc154cc9e client_id -> public_key 2015-07-29 22:39:56 -04:00
irungentoo c989c246ea client_id -> public_key 2015-07-28 22:17:45 -04:00
irungentoo fa5df6aa17 client_id -> public_key 2015-07-27 15:23:32 -04:00
irungentoo 5def57afcf This might improve the file transfer disconnect issue. 2015-07-26 22:01:19 -04:00
irungentoo 63ecb77556 Comment fix. 2015-07-25 23:34:42 -04:00
irungentoo e196a47f38 Removed useless variable. 2015-07-24 23:58:29 -04:00
irungentoo efcb66ab1a Save important parts of save first.
This might reduce the likelyness of broken saves.
2015-07-23 23:33:54 -04:00
irungentoo 1de2ef78cf Fixed bug. 2015-07-22 22:55:52 -04:00