diff options
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 11852eb..2582b7b 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -640,7 +640,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
640 | // Every month or so this will wrap and give bad numbers, not really a problem | 640 | // Every month or so this will wrap and give bad numbers, not really a problem |
641 | // since its just for reporting | 641 | // since its just for reporting |
642 | int tickdiff = requestEndTick - requestStartTick; | 642 | int tickdiff = requestEndTick - requestStartTick; |
643 | if (tickdiff > 3000 && requestHandler.Name != "GetTexture") | 643 | if (tickdiff > 3000 && (requestHandler == null || requestHandler.Name == null || requestHandler.Name != "GetTexture")) |
644 | { | 644 | { |
645 | m_log.InfoFormat( | 645 | m_log.InfoFormat( |
646 | "[BASE HTTP SERVER]: Slow handling of {0} {1} {2} {3} from {4} took {5}ms", | 646 | "[BASE HTTP SERVER]: Slow handling of {0} {1} {2} {3} from {4} took {5}ms", |