Commit Graph

2641 Commits

Author SHA1 Message Date
irungentoo
78dd2234e0
Added basic socks5 proxy support to TCP client. 2014-08-14 14:31:26 -04:00
irungentoo
f4b10c99ff
Tox should now work on TCP only networks.
Coming soon: a function to disable UDP.
2014-08-13 20:47:56 -04:00
irungentoo
450ad2dd34
Tox now closer to working on TCP only networks.
Use TCP paths when UDP is not connected.

Made some code depend less on the UDP only DHT.
2014-08-13 20:29:02 -04:00
irungentoo
6311bf8747
If the path is a TCP one, the onion packet is sent with TCP. 2014-08-13 10:19:09 -04:00
irungentoo
bc4fe2c80d
Decreased maximum onion_test test time. 2014-08-13 10:15:25 -04:00
irungentoo
70d338703d
Added function to create onion packets to send via TCP. 2014-08-13 06:41:35 -04:00
irungentoo
19b07f7e80
Fixed bug that led to increased bandwidth usage. 2014-08-12 20:56:46 -04:00
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