aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
authorAdam Frisby2009-05-23 06:14:02 +0000
committerAdam Frisby2009-05-23 06:14:02 +0000
commite9ea9592631beb164bfca0765b14ffbfbbaa4fb7 (patch)
tree0b57b5a5aa8b2793994fc7ebbab71e4f7034e4df /OpenSim/Framework/Servers
parent* Pipes requestors IP address through all XmlRpcRequest delegates. This is ne... (diff)
downloadopensim-SC_OLD-e9ea9592631beb164bfca0765b14ffbfbbaa4fb7.zip
opensim-SC_OLD-e9ea9592631beb164bfca0765b14ffbfbbaa4fb7.tar.gz
opensim-SC_OLD-e9ea9592631beb164bfca0765b14ffbfbbaa4fb7.tar.bz2
opensim-SC_OLD-e9ea9592631beb164bfca0765b14ffbfbbaa4fb7.tar.xz
* Pipes IPEndPoint through all Login methods, including LLSD/OSD login paths.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs2
-rw-r--r--OpenSim/Framework/Servers/HttpServer/LLSDMethod.cs3
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 8fb2082..e18fd55 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -755,7 +755,7 @@ namespace OpenSim.Framework.Servers.HttpServer
755 if (m_defaultLlsdHandler != null) 755 if (m_defaultLlsdHandler != null)
756 { 756 {
757 // LibOMV path 757 // LibOMV path
758 llsdResponse = m_defaultLlsdHandler(llsdRequest); 758 llsdResponse = m_defaultLlsdHandler(llsdRequest, request.RemoteIPEndPoint);
759 } 759 }
760 else 760 else
761 { 761 {
diff --git a/OpenSim/Framework/Servers/HttpServer/LLSDMethod.cs b/OpenSim/Framework/Servers/HttpServer/LLSDMethod.cs
index d669182..aa03414 100644
--- a/OpenSim/Framework/Servers/HttpServer/LLSDMethod.cs
+++ b/OpenSim/Framework/Servers/HttpServer/LLSDMethod.cs
@@ -25,10 +25,11 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System.Net;
28using OpenMetaverse.StructuredData; 29using OpenMetaverse.StructuredData;
29 30
30namespace OpenSim.Framework.Servers.HttpServer 31namespace OpenSim.Framework.Servers.HttpServer
31{ 32{
32 public delegate OSD LLSDMethod( string path, OSD request, string endpoint ); 33 public delegate OSD LLSDMethod( string path, OSD request, string endpoint );
33 public delegate OSD DefaultLLSDMethod(OSD request); 34 public delegate OSD DefaultLLSDMethod(OSD request, IPEndPoint client);
34} 35}