diff options
author | Justin Clark-Casey (justincc) | 2012-06-13 00:03:44 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-06-13 00:03:44 +0100 |
commit | c6e375291a8fa3dbdcbd25cfb64bf0d536707fb0 (patch) | |
tree | 1d86b771a74c688932ea51160cd648cfe9b45829 /OpenSim/ApplicationPlugins/Rest/Inventory | |
parent | Remove accidental timeout left in during earlier debugging. Has been in sinc... (diff) | |
download | opensim-SC-c6e375291a8fa3dbdcbd25cfb64bf0d536707fb0.zip opensim-SC-c6e375291a8fa3dbdcbd25cfb64bf0d536707fb0.tar.gz opensim-SC-c6e375291a8fa3dbdcbd25cfb64bf0d536707fb0.tar.bz2 opensim-SC-c6e375291a8fa3dbdcbd25cfb64bf0d536707fb0.tar.xz |
Don't include time to transmit response back to requester when assessing slow handling of requests.
This is to avoid logging a 'slow' request when the source of delay is the viewer in processing a response.
This is not something we can do much about on the server end - it's server-side delay that we're interested in.
To ensure consistency, this commit also had to refactor and simplify inbound non-poll network request handling, though there should be no functional change.
IOSHttpResponse no longer exposes the Send() method, only classes in OpenSim.Framework.Servers.HttpServer should be doing this.
Only the GetTextureHandler was sending its own response. Now it leaves this to BaseHttpServer, like all other core handlers.
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Inventory')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs index db62d52..cb88695 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestHandler.cs | |||
@@ -539,7 +539,6 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
539 | /// path has not already been registered, the method is added to the active | 539 | /// path has not already been registered, the method is added to the active |
540 | /// handler table. | 540 | /// handler table. |
541 | /// </summary> | 541 | /// </summary> |
542 | |||
543 | public void AddStreamHandler(string httpMethod, string path, RestMethod method) | 542 | public void AddStreamHandler(string httpMethod, string path, RestMethod method) |
544 | { | 543 | { |
545 | if (!IsEnabled) | 544 | if (!IsEnabled) |