diff options
-rw-r--r-- | stream/http.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/http.c b/stream/http.c index c6ea70edb4..17613e71df 100644 --- a/stream/http.c +++ b/stream/http.c @@ -731,6 +731,7 @@ static int http_streaming_start(stream_t *stream, int* file_format) { do { + redirect = 0; if (fd > 0) closesocket(fd); fd = http_send_request( url, 0 ); if( fd<0 ) { |