irungentoo
db655c77f8
Onion packets can now be received via TCP.
2014-08-12 16:20:46 -04:00
irungentoo
2c7654bd9a
No longer rely on source ip to get the path the packet was sent with.
2014-08-12 13:01:28 -04:00
irungentoo
e6f21d0524
Added functions to receive and send onion packets via TCP to net_crypto.c
2014-08-11 20:47:56 -04:00
irungentoo
5a22fbf4bf
Some code refactoring to make passing onion packets through TCP easier.
2014-08-11 18:20:13 -04:00
irungentoo
f83fcbb13c
Added length check to onion_send_1().
2014-08-11 15:48:33 -04:00
irungentoo
0faa2fbad2
Fixed bug.
2014-08-10 14:15:39 -04:00
irungentoo
f6955f2f3e
Merge branch 'remove-sort_list' of https://github.com/pyruvate/toxcore
2014-08-09 17:35:23 -04:00
irungentoo
56624c0af8
Onion paths creation no longer dependent on DHT only.
2014-08-09 15:17:00 -04:00
pyruvate
354f08ec3b
Tests fix for an original behavior for duplicates
2014-08-09 13:31:40 +03:00
pyruvate
bdf1c97273
Refactoring of node replacements in addto_lists function
...
An index for replacement candidate is searched
in one lookup cycle for all types (bad, possibly bad, good).
Sorting of items has been removed (sorting logic can be substituted
by a maximum search).
2014-08-09 11:33:20 +03:00
pyruvate
a460b9fbd0
Added tests for addto_lists function
2014-08-09 11:33:20 +03:00
pyruvate
ec9082f2c3
Remove DEFTESTCASE and DEFTESTCASE_SLOW redefinitions
2014-08-09 11:33:20 +03:00
irungentoo
bb2a6cbbe2
Added path_nodes array and add_path_node() function.
2014-08-08 22:07:28 -04:00
irungentoo
545cc91662
Increased ping interval time to decrease bandwidth usage.
...
This should not increase the time it takes for people to find themselves.
2014-08-07 16:58:17 -04:00
irungentoo
a679756eca
crypto speed test is pretty useless, removed it.
2014-08-06 20:56:27 -04:00
irungentoo
2ef89f6ae0
memset call to zero when killing call.
2014-08-05 20:58:49 -04:00
irungentoo
b0bdc81426
Merge branch 'fr0stycl34r-patch-1'
2014-08-05 19:52:37 -04:00
Ben Praeger
0e70b7cf7d
Update readme
2014-08-05 15:20:01 -04:00
irungentoo
69c8da64cf
The receiver of a file now needs to confirm that he did receive it
...
correctly.
This should fix an issue that happened when both clients got
disconnected when the file was almost finished sending. The sender
would show that the file had been sent successfully when it had not.
See the modifications to tox.h
2014-08-04 15:18:18 -04:00
irungentoo
aaaeac8f3d
Merge branch 'master' of https://github.com/mannol1/toxcore
...
Conflicts:
toxav/toxav.c
2014-08-04 13:49:53 -04:00
irungentoo
d4218dcd61
Set pointer to NULL when freeing to fix issue.
2014-08-04 12:40:18 -04:00
irungentoo
9445b40fb5
Fixed threading bug.
2014-08-04 12:09:03 -04:00
irungentoo
02ed20dc39
Merge branch 'notsecure-split-video'
2014-08-04 12:08:43 -04:00
notsecure
d3e66d73a7
one decoding thread per call
2014-08-04 09:50:32 -04:00
mannol
d08d032368
Update with upstream
2014-08-04 00:15:19 +02:00
mannol
733c509582
Fix some toxav warnings
2014-08-04 00:15:00 +02:00
irungentoo
401982008e
Merge branch 'JFreegman-debug'
2014-08-03 16:16:39 -04:00
Jfreegman
82c40b9c8a
remove unneeded printf's/prevent stdout spam
2014-08-03 15:56:09 -04:00
irungentoo
07833b6731
Increase dequeue queue size to 16 to prevent stuttering.
2014-08-02 20:45:39 -04:00
irungentoo
0719a4296e
Merge branch 'mannol1-master'
2014-08-02 11:29:27 -04:00
mannol
6c1ac97da9
Added userdata pointer to audio/video callbacks
2014-08-02 01:09:33 +02:00
irungentoo
77df39863e
Disable decode deadline, fixed build error.
2014-08-01 13:22:32 -04:00
irungentoo
055640611f
Merge branch 'notsecure-split-video'
2014-08-01 13:21:03 -04:00
notsecure
8ee3f645b1
audio/video decoding on separate thread with a queue
2014-08-01 10:18:14 -04:00
notsecure
7e806aef06
fix initialization order
2014-07-31 15:35:59 -04:00
notsecure
c0a7cbbf73
fix test
2014-07-31 15:33:12 -04:00
notsecure
95710edf40
decode video on separate thread
2014-07-31 14:56:32 -04:00
irungentoo
946a09f57b
Adding a new connection while a lossy packet is being sent could
...
also cause thread related issues.
2014-07-31 13:11:21 -04:00
irungentoo
d270cf550a
Fixed possible threading issues.
...
send_lossy_cryptpacket() can get called from another thread meaning
the connection can be killed while the packet is sending.
2014-07-31 12:46:36 -04:00
irungentoo
f5d40f235e
Updated download page link.
2014-07-31 11:16:43 -04:00
irungentoo
07ddbb8858
Added function to get public and private key from Tox object.
2014-07-30 10:29:46 -04:00
irungentoo
9a74e5d058
Merge branch 'master' of https://github.com/pyruvate/toxcore
2014-07-29 16:35:54 -04:00
irungentoo
8be8d84686
Size parameter is now checked in toxav_send_audio().
...
Cleaned up code a bit.
2014-07-29 11:03:15 -04:00
irungentoo
df6e6dfd6b
Spreading packets around TCP relays causes issues with the audio and video.
...
Make each connection stick to the same relay.
2014-07-29 09:08:23 -04:00
irungentoo
e1158be5a6
Fixed segfault.
2014-07-28 09:58:53 -04:00
pyruvate
87dd6becf7
Fix test_many_clients in tox_test
...
Stack variable to_comp goes out of scope,
but a reference to the variable is used later
in Fiend_Requests.
2014-07-28 02:54:43 +03:00
irungentoo
7bbde2d6c7
Reduced max size of queue.
2014-07-27 19:52:43 -04:00
irungentoo
8aa62cfef7
Initialize codec session with right values.
...
Audio decoder and encoder channel values are sepparate values, the
decoder should be set to the number of channels the other peer has
his encoder set.
2014-07-27 12:51:20 -04:00
irungentoo
26bec89287
Merge branch 'master' of https://github.com/pyruvate/toxcore
2014-07-27 10:24:56 -04:00
irungentoo
6dcd90a116
Only send kill packet when killing established connection.
2014-07-27 10:22:29 -04:00