diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-07-18 20:08:38 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-07-18 20:08:38 +0000 |
commit | 6516c4f306f7772e81e9c906924e97295cb89a89 (patch) | |
tree | c380d95a5a70e80bbee95546ea77d3b5c7760a76 /src/htslib.c | |
parent | 818001ba76b3b9deae956e213ffdf1206fe02635 (diff) |
Fixed buggy keep-alive handling, leading to waste connections
Diffstat (limited to 'src/htslib.c')
-rw-r--r-- | src/htslib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htslib.c b/src/htslib.c index d57b120..9a48b62 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -1441,7 +1441,7 @@ void treathead(t_cookie * cookie, char *adr, char *fil, htsblk * retour, p += strlen("max="); sscanf(p, "%d", &retour->keep_alive_max); } - if (retour->keep_alive_max <= 1 || retour->keep_alive_t < 3) { + if (retour->keep_alive_max <= 1 || retour->keep_alive_t < 1) { retour->keep_alive = 0; } } |