blob: 0e6ebb9b73232f166f43b2c296e220227e26741d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- Slim/Web/HTTP.pm.old 2010-06-10 13:15:09.050446973 +0100
+++ Slim/Web/HTTP.pm 2010-06-10 13:15:09.046446912 +0100
@@ -2214,9 +2214,10 @@
# only kill the timer if we were called for the active streaming connection;
# otherwise we might kill the timer related to the next connection too.
Slim::Utils::Timers::killTimers($client, \&tryStreamingLater);
-
- Slim::Networking::Select::addWrite($httpClient, \&sendStreamingResponse, 1);
}
+
+ # Bug 14740 - always call sendStreamingResponse so we ensure the socket gets closed
+ Slim::Networking::Select::addWrite($httpClient, \&sendStreamingResponse, 1);
}
sub forgetClient {
|