diff options
author | Johan Berntsson | 2008-11-10 09:50:05 +0000 |
---|---|---|
committer | Johan Berntsson | 2008-11-10 09:50:05 +0000 |
commit | 22b70495ab34a451e21070921348e2e9ad2750a6 (patch) | |
tree | e8e495e6af213abceb7704d503a7caadec8674db /OpenSim/Framework/ProxyCodec.cs | |
parent | Prevent AO from crashing the sim if the user logs out before the script (diff) | |
download | opensim-SC_OLD-22b70495ab34a451e21070921348e2e9ad2750a6.zip opensim-SC_OLD-22b70495ab34a451e21070921348e2e9ad2750a6.tar.gz opensim-SC_OLD-22b70495ab34a451e21070921348e2e9ad2750a6.tar.bz2 opensim-SC_OLD-22b70495ab34a451e21070921348e2e9ad2750a6.tar.xz |
The region proxy for the load balancer module works again. The incoming proxy messages were not properly decoded.
Diffstat (limited to 'OpenSim/Framework/ProxyCodec.cs')
-rw-r--r-- | OpenSim/Framework/ProxyCodec.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Framework/ProxyCodec.cs b/OpenSim/Framework/ProxyCodec.cs index df4be64..43c44f8 100644 --- a/OpenSim/Framework/ProxyCodec.cs +++ b/OpenSim/Framework/ProxyCodec.cs | |||
@@ -47,12 +47,6 @@ namespace OpenSim.Framework | |||
47 | { | 47 | { |
48 | bytes[numBytes++] = b; | 48 | bytes[numBytes++] = b; |
49 | } | 49 | } |
50 | |||
51 | int x = numBytes; | ||
52 | |||
53 | DecodeProxyMessage(bytes, ref numBytes); | ||
54 | |||
55 | numBytes = x; | ||
56 | } | 50 | } |
57 | 51 | ||
58 | public static IPEndPoint DecodeProxyMessage(byte[] bytes, ref int numBytes) | 52 | public static IPEndPoint DecodeProxyMessage(byte[] bytes, ref int numBytes) |