Commit Graph

3727 Commits

Author SHA1 Message Date
irungentoo
ae801b3257
DHT fix.
Return only closest nodes in get nodes packet.
2015-12-11 15:34:04 -05:00
irungentoo
1986a2e492
DHT fixes. 2015-12-11 15:07:46 -05:00
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
9c64769331
Merge branch 'master' of https://github.com/mannol/toxcore 2015-12-02 22:36:45 -05:00
irungentoo
f40a60575f
Slightly increased number of peers to announce to.
Some test fixes.
2015-12-01 20:11:53 -05:00
Eniz Vukovic
96a7b7b4fc Fix error reporting in toxav_call() 2015-11-29 00:38:33 +01:00
irungentoo
516b6ab46c
Forgot to commit these. 2015-11-26 10:44:16 -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
61c20d48aa
Merge branch 'fix-broken-link' of https://github.com/duthils/toxcore 2015-11-19 14:44:26 -05:00
irungentoo
74f2fa00c2
Merge branch 'master' of https://github.com/helium-software/toxcore 2015-11-19 14:43:09 -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
4df59de504
Mannol toxav fix. 2015-11-17 18:41:00 -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
Tibor Stolz
edbfca5474 fix BWController misspelling 2015-11-11 10:33:03 +01:00
irungentoo
0d0b74f5a8
More file transfer improvements.
Use a formula instead of magic numbers.
2015-11-10 19:00:00 -05:00
irungentoo
4a090c73f4
Merge branch 'rm-files' of https://github.com/GrayHatter/toxcore 2015-11-09 20:22:58 -05:00
irungentoo
dd2f9f46a6
Merge branch 'spammy-errors' of https://github.com/JFreegman/toxcore 2015-11-09 20:16:13 -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
Gregory Mullen (grayhatter)
e1ad6cc8f9 Merge remote-tracking branch 'upstream/master' into rm-files 2015-11-07 20:36:57 -08:00
Jfreegman
c019c6236e
Prevent debug message from spamming stdout 2015-11-04 21:00:00 -05:00
irungentoo
6a494e2cbd
Astyle. 2015-11-03 13:42:05 -05:00
irungentoo
f435e94397
Merge branch 'new_api' of https://github.com/mannol/toxcore 2015-11-03 13:40:07 -05:00
Eniz Vukovic
ca4214bbcf Fix compile error on mingw 2015-11-03 00:08:46 +01:00
Eniz Vukovic
fa0c87fa55 Revert "Removed mutex operations" 2015-10-31 14:53:20 +01:00
Eniz Vukovic
e730bd54e6 Fix possible misalignment of RTP header 2015-10-26 22:29:23 +01:00
mannol
caa0382877 Fix misplaced log message. 2015-10-24 16:22:56 +02:00
Eniz Vukovic
87828a1b42 Add synchronization protection for send_frame API functions 2015-10-24 01:56:49 +02:00
Eniz Vukovic
7972db5c41 Removed mutex operations 2015-10-23 22:56:54 +02:00
irungentoo
d012bb1e8e Added mutex lock+unlock.
Should it be also added to the other parts of this function?
2015-10-23 22:54:22 +02:00
irungentoo
d8a85d9a78 Fixed error in last commit. 2015-10-23 22:54:22 +02:00
irungentoo
b23819a4d1 Fixed some memory related bugs. 2015-10-23 22:54:22 +02:00
mannol
4f3be9f354 Fix docs 2015-10-23 22:54:22 +02: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