summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-07-11 11:22:34 (GMT)
committerNirbheek Chauhan <nirbheek@centricular.com>2014-07-11 11:22:34 (GMT)
commit3095a398d88469d48a4e4ecf6e91898d82713699 (patch)
tree318870ec9d11e2515f9e5eaf00c1c1d2b2babb4a /src/main.c
parent007e5281038c4ab0fe5c60e6a353949948a31ac8 (diff)
downloadsoup-transcoding-proxy-3095a398d88469d48a4e4ecf6e91898d82713699.zip
soup-transcoding-proxy-3095a398d88469d48a4e4ecf6e91898d82713699.tar.gz
clients: Fix increment of client timeout
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 19642c6..b6793c6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -111,7 +111,7 @@ err:
static gboolean
increment_write_timer (TranscodeClientCtx *ctx)
{
- ctx->seconds_since_write++;
+ ctx->seconds_since_write += 2;
if (ctx->seconds_since_write < client_timeout)
return G_SOURCE_CONTINUE;