diff options
| author | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-18 16:48:01 +0100 |
|---|---|---|
| committer | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-18 16:48:01 +0100 |
| commit | c1f76eb8ab2c4fe536a9b612d659bf739f0cc7ac (patch) | |
| tree | b78e697ec3676c70a2db5c98ce2a5ea27fdea105 /SocketHttpListener/Net/HttpListenerRequest.Managed.cs | |
| parent | 38f96af079887cce7c38fcde8340fd7c6d1150ad (diff) | |
Reformat JustAMan review pt3 changes
Diffstat (limited to 'SocketHttpListener/Net/HttpListenerRequest.Managed.cs')
| -rw-r--r-- | SocketHttpListener/Net/HttpListenerRequest.Managed.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SocketHttpListener/Net/HttpListenerRequest.Managed.cs b/SocketHttpListener/Net/HttpListenerRequest.Managed.cs index 41d075045..3f9e32f08 100644 --- a/SocketHttpListener/Net/HttpListenerRequest.Managed.cs +++ b/SocketHttpListener/Net/HttpListenerRequest.Managed.cs @@ -180,7 +180,7 @@ namespace SocketHttpListener.Net if (string.Compare(Headers[HttpKnownHeaderNames.Expect], "100-continue", StringComparison.OrdinalIgnoreCase) == 0) { - var output = _context.Connection.GetResponseStream(); + HttpResponseStream output = _context.Connection.GetResponseStream(); output.InternalWrite(s_100continue, 0, s_100continue.Length); } } @@ -256,7 +256,7 @@ namespace SocketHttpListener.Net { try { - var ares = InputStream.BeginRead(bytes, 0, length, null, null); + IAsyncResult ares = InputStream.BeginRead(bytes, 0, length, null, null); if (!ares.IsCompleted && !ares.AsyncWaitHandle.WaitOne(1000)) return false; if (InputStream.EndRead(ares) <= 0) |
