diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-12 01:40:57 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-12 01:40:57 -0500 |
| commit | 65cb19a726a3d6fbc0f2dce6f39381672d3ea9a1 (patch) | |
| tree | d606797adccb6dba43ef83c56290b20b8789d15f /SocketHttpListener.Portable/Net | |
| parent | 7db8257945edeb35d04a8553483573cf47195482 (diff) | |
remove extension method
Diffstat (limited to 'SocketHttpListener.Portable/Net')
| -rw-r--r-- | SocketHttpListener.Portable/Net/WebSockets/HttpListenerWebSocketContext.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SocketHttpListener.Portable/Net/WebSockets/HttpListenerWebSocketContext.cs b/SocketHttpListener.Portable/Net/WebSockets/HttpListenerWebSocketContext.cs index 426e15ecd..034ac17d2 100644 --- a/SocketHttpListener.Portable/Net/WebSockets/HttpListenerWebSocketContext.cs +++ b/SocketHttpListener.Portable/Net/WebSockets/HttpListenerWebSocketContext.cs @@ -322,7 +322,8 @@ namespace SocketHttpListener.Net.WebSockets internal void Close(HttpStatusCode code) { - _context.Response.Close(code); + _context.Response.StatusCode = (int)code; + _context.Response.OutputStream.Dispose(); } #endregion |
