aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-12 17:46:38 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-12 17:46:38 -0500
commit102bbe2beb76fa76b21f4ed3f7c584a58d787204 (patch)
treea9a860b560395bb8c87251cd0a0c992e812373c9 /SocketHttpListener.Portable/Net/HttpListenerResponse.cs
parent1714cb8764f2311fd255945d5a03d6b298f62071 (diff)
fix mono project
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 93358cae4..8c610d725 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();
+ output_stream = context.Connection.GetResponseStream(context.Request);
return output_stream;
}
}
@@ -489,7 +489,7 @@ namespace SocketHttpListener.Net
int preamble = encoding.GetPreamble().Length;
if (output_stream == null)
- output_stream = context.Connection.GetResponseStream();
+ output_stream = context.Connection.GetResponseStream(context.Request);
/* Assumes that the ms was at position 0 */
ms.Position = preamble;