tWe need to force TCP mode when using the proxy - ratox - FIFO based tox client
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit fc256a293089082871342430d7e699a5a26c0379
DIR parent ab8e59fcb9749f90207c959fffd3e3263b520019
HTML Author: sin <sin@2f30.org>
Date: Tue, 23 Sep 2014 13:40:46 +0100
We need to force TCP mode when using the proxy
Diffstat:
M ratox.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/ratox.c b/ratox.c
t@@ -761,6 +761,9 @@ toxinit(void)
toxopt.ipv6enabled = ipv6;
toxopt.udp_disabled = tcpflag;
if (proxyflag == 1) {
+ tcpflag = 1;
+ toxopt.udp_disabled = tcpflag;
+ printout("Forcing TCP mode\n");
snprintf(toxopt.proxy_address, sizeof(toxopt.proxy_address),
"%s", proxyaddr);
toxopt.proxy_port = proxyport;