aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtl_tcp.c
diff options
context:
space:
mode:
authorHoernchen <la@tfc-server.de>2012-10-18 01:27:51 +0200
committerSteve Markgraf <steve@steve-m.de>2012-10-18 01:33:21 +0200
commitaabd42dd05694d05ffdeff353e98c748b719437d (patch)
tree0548fb5d87d21ec74db1e87feac9619851a100a6 /src/rtl_tcp.c
parent7ff4abd378d62e195d9267bf63366a3bd3f27ec2 (diff)
rtl_tcp: increase the timeout in worker thread
the reset takes ages on windows Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/rtl_tcp.c')
-rw-r--r--src/rtl_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c
index 8e2e53d..eeab395 100644
--- a/src/rtl_tcp.c
+++ b/src/rtl_tcp.c
@@ -179,7 +179,7 @@ static void *tcp_worker(void *arg)
pthread_mutex_lock(&ll_mutex);
gettimeofday(&tp, NULL);
- ts.tv_sec = tp.tv_sec+1;
+ ts.tv_sec = tp.tv_sec+5;
ts.tv_nsec = tp.tv_usec * 1000;
r = pthread_cond_timedwait(&cond, &ll_mutex, &ts);
if(r == ETIMEDOUT) {