private RemoveClient ( |
||
client | ||
return | void |
internal void Close() { State = HttpStates.Closed; DebugFormat( "{0} - Closing connection after {1} requests", this, requestCount); try { client.Close(); } catch (Exception) { // ignored } owner.RemoveClient(this); if (stream != null) { try { stream.Dispose(); } catch (ObjectDisposedException) { } } }