diff options
author | Diva Canto | 2010-09-03 17:18:53 -0700 |
---|---|---|
committer | Diva Canto | 2010-09-03 17:18:53 -0700 |
commit | 8fc68c6d9810a0d229e94a0cefb35086c65dec36 (patch) | |
tree | b327c9b55f7e8fe74ee9f19300a0033a4b2a2b74 /OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |
parent | Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item) (diff) | |
download | opensim-SC_OLD-8fc68c6d9810a0d229e94a0cefb35086c65dec36.zip opensim-SC_OLD-8fc68c6d9810a0d229e94a0cefb35086c65dec36.tar.gz opensim-SC_OLD-8fc68c6d9810a0d229e94a0cefb35086c65dec36.tar.bz2 opensim-SC_OLD-8fc68c6d9810a0d229e94a0cefb35086c65dec36.tar.xz |
Added XFF header processing. Untested, for lack of proxy.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 95c3e6c..d20f8c9 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Collections.Specialized; | ||
31 | using System.IO; | 32 | using System.IO; |
32 | using System.Net; | 33 | using System.Net; |
33 | using System.Net.Sockets; | 34 | using System.Net.Sockets; |
@@ -737,6 +738,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
737 | if (methodWasFound) | 738 | if (methodWasFound) |
738 | { | 739 | { |
739 | xmlRprcRequest.Params.Add(request.Url); // Param[2] | 740 | xmlRprcRequest.Params.Add(request.Url); // Param[2] |
741 | xmlRprcRequest.Params.Add(request.Headers.Get("X-Forwarded-For")); // Param[3] | ||
740 | 742 | ||
741 | try | 743 | try |
742 | { | 744 | { |