diff options
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs index 8ab5808..d5c25b9 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceHttpRequest.cs | |||
@@ -130,27 +130,9 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
130 | response.OutputStream.Flush(); | 130 | response.OutputStream.Flush(); |
131 | response.Send(); | 131 | response.Send(); |
132 | } | 132 | } |
133 | // catch (Exception e) | ||
134 | catch | 133 | catch |
135 | { | 134 | { |
136 | } | 135 | } |
137 | } | 136 | } |
138 | } | 137 | } |
139 | |||
140 | class PollServiceHttpRequestComparer : IEqualityComparer<PollServiceHttpRequest> | ||
141 | { | ||
142 | public bool Equals(PollServiceHttpRequest b1, PollServiceHttpRequest b2) | ||
143 | { | ||
144 | if (b1.contextHash != b2.contextHash) | ||
145 | return false; | ||
146 | // bool b = Object.ReferenceEquals(b1.HttpContext, b2.HttpContext); | ||
147 | // return b; | ||
148 | return true; | ||
149 | } | ||
150 | |||
151 | public int GetHashCode(PollServiceHttpRequest b2) | ||
152 | { | ||
153 | return (int)b2.contextHash; | ||
154 | } | ||
155 | } | ||
156 | } \ No newline at end of file | 138 | } \ No newline at end of file |