aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-12 19:30:03 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-12 19:30:03 -0500
commit38c216a61a3dc389d1ddab2a37b4b032a6de13d0 (patch)
tree014986191dfe763ecda08e212e3bbe4998e4b36a /SocketHttpListener.Portable/Net/HttpListenerResponse.cs
parent102bbe2beb76fa76b21f4ed3f7c584a58d787204 (diff)
update response streams
Diffstat (limited to 'SocketHttpListener.Portable/Net/HttpListenerResponse.cs')
-rw-r--r--SocketHttpListener.Portable/Net/HttpListenerResponse.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/SocketHttpListener.Portable/Net/HttpListenerResponse.cs b/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
index 8c610d725..93358cae4 100644
--- a/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
+++ b/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
@@ -149,7 +149,7 @@ namespace SocketHttpListener.Net
get
{
if (output_stream == null)
- output_stream = context.Connection.GetResponseStream(context.Request);
+ output_stream = context.Connection.GetResponseStream();
return output_stream;
}
}
@@ -489,7 +489,7 @@ namespace SocketHttpListener.Net
int preamble = encoding.GetPreamble().Length;
if (output_stream == null)
- output_stream = context.Connection.GetResponseStream(context.Request);
+ output_stream = context.Connection.GetResponseStream();
/* Assumes that the ms was at position 0 */
ms.Position = preamble;