diff options
Stop expiry timer when upload is complete. Log if timeout is reached.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index c4a9a19..116055a 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -1149,6 +1149,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
1149 | res = LLSDHelpers.SerialiseLLSDReply(uploadComplete); | 1149 | res = LLSDHelpers.SerialiseLLSDReply(uploadComplete); |
1150 | 1150 | ||
1151 | httpListener.RemoveStreamHandler("POST", uploaderPath); | 1151 | httpListener.RemoveStreamHandler("POST", uploaderPath); |
1152 | m_timeoutTimer.Stop(); | ||
1152 | 1153 | ||
1153 | // TODO: probably make this a better set of extensions here | 1154 | // TODO: probably make this a better set of extensions here |
1154 | string extension = ".jp2"; | 1155 | string extension = ".jp2"; |
@@ -1172,6 +1173,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
1172 | 1173 | ||
1173 | private void TimedOut(object sender, ElapsedEventArgs args) | 1174 | private void TimedOut(object sender, ElapsedEventArgs args) |
1174 | { | 1175 | { |
1176 | m_log.InfoFormat("[CAPS]: Removing URL and handler for timed out mesh upload"); | ||
1175 | httpListener.RemoveStreamHandler("POST", uploaderPath); | 1177 | httpListener.RemoveStreamHandler("POST", uploaderPath); |
1176 | } | 1178 | } |
1177 | 1179 | ||