From 3108b50c2b6aff5f91fb31530d011ef9d419c20b Mon Sep 17 00:00:00 2001 From: lprot Date: Tue, 20 Mar 2018 01:42:59 +0200 Subject: [PATCH] bumped year, switched off parking on redirected connections, fixes #3366: fa_http.c --- src/fileaccess/fa_http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fileaccess/fa_http.c b/src/fileaccess/fa_http.c index b86d780119..997399169d 100644 --- a/src/fileaccess/fa_http.c +++ b/src/fileaccess/fa_http.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2015 Lonelycoder AB + * Copyright (C) 2007-2018 Lonelycoder AB * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1413,7 +1413,7 @@ http_detach(http_file_t *hf, int reusable, const char *reason) return; if(reusable && !gconf.disable_http_reuse && - !cancellable_is_cancelled(hf->hf_cancellable)) { + !cancellable_is_cancelled(hf->hf_cancellable) && !strcmp(reason, "Location change")) { http_connection_park(hf->hf_connection, hf->hf_debug, hf->hf_max_age, reason); } else { hts_mutex_lock(&http_connections_mutex);