aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/TCPJSONStream
diff options
context:
space:
mode:
authorteravus2013-02-03 07:44:45 -0500
committerteravus2013-02-03 07:44:45 -0500
commitd18fbb98b7f51d46eb3e716c59a8e76bc772bad1 (patch)
treeeebf3164c11426bfcec583a629aa482ae1898450 /OpenSim/Region/ClientStack/TCPJSONStream
parentCommit 1 in of this branch feature. This is one of many... (diff)
downloadopensim-SC-d18fbb98b7f51d46eb3e716c59a8e76bc772bad1.zip
opensim-SC-d18fbb98b7f51d46eb3e716c59a8e76bc772bad1.tar.gz
opensim-SC-d18fbb98b7f51d46eb3e716c59a8e76bc772bad1.tar.bz2
opensim-SC-d18fbb98b7f51d46eb3e716c59a8e76bc772bad1.tar.xz
Adds the ability to load more then one IClientNetworkServer thereby allowing additional client stacks. Use comma separated values in clientstack_plugin in your config.
Diffstat (limited to 'OpenSim/Region/ClientStack/TCPJSONStream')
-rw-r--r--OpenSim/Region/ClientStack/TCPJSONStream/ClientNetworkContext.cs3
-rw-r--r--OpenSim/Region/ClientStack/TCPJSONStream/TCPJsonWebSocketServer.cs2
2 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/TCPJSONStream/ClientNetworkContext.cs b/OpenSim/Region/ClientStack/TCPJSONStream/ClientNetworkContext.cs
index 591f817..b077b6a 100644
--- a/OpenSim/Region/ClientStack/TCPJSONStream/ClientNetworkContext.cs
+++ b/OpenSim/Region/ClientStack/TCPJSONStream/ClientNetworkContext.cs
@@ -55,6 +55,9 @@ namespace OpenSim.Region.ClientStack.TCPJSONStream
55 } 55 }
56 56
57 } 57 }
58 catch (Exception)
59 {
60 }
58 } 61 }
59 /// <summary> 62 /// <summary>
60 /// send a whole buffer 63 /// send a whole buffer
diff --git a/OpenSim/Region/ClientStack/TCPJSONStream/TCPJsonWebSocketServer.cs b/OpenSim/Region/ClientStack/TCPJSONStream/TCPJsonWebSocketServer.cs
index 0713bf4..c0f6792 100644
--- a/OpenSim/Region/ClientStack/TCPJSONStream/TCPJsonWebSocketServer.cs
+++ b/OpenSim/Region/ClientStack/TCPJSONStream/TCPJsonWebSocketServer.cs
@@ -99,7 +99,7 @@ namespace OpenSim.Region.ClientStack.TCPJSONStream
99 } 99 }
100 ClientNetworkContext context = new ClientNetworkContext((IPEndPoint) socket.RemoteEndPoint, _port, 100 ClientNetworkContext context = new ClientNetworkContext((IPEndPoint) socket.RemoteEndPoint, _port,
101 new NetworkStream(socket), 16384, socket); 101 new NetworkStream(socket), 16384, socket);
102 HttpRequestParser parser; 102 //HttpRequestParser parser;
103 context.BeginRead(); 103 context.BeginRead();
104 104
105 } 105 }