aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-29 14:39:23 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-29 14:39:23 -0500
commit456d5e5b760abe46c8dedf08b2465d2bd3ced4af (patch)
tree2c4c68ecdd4a131f97bcf5cb55ce3d71877189c1 /SocketHttpListener.Portable
parentc30b82ab44401cf86f6723834d8d5b1ea8aac66c (diff)
update responses
Diffstat (limited to 'SocketHttpListener.Portable')
-rw-r--r--SocketHttpListener.Portable/Net/HttpConnection.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/SocketHttpListener.Portable/Net/HttpConnection.cs b/SocketHttpListener.Portable/Net/HttpConnection.cs
index 4b54fc013..bc4286dc8 100644
--- a/SocketHttpListener.Portable/Net/HttpConnection.cs
+++ b/SocketHttpListener.Portable/Net/HttpConnection.cs
@@ -211,7 +211,7 @@ namespace SocketHttpListener.Net
{
context.Response.DetermineIfChunked();
- if (context.Response.SendChunked || isExpect100Continue || context.Request.IsWebSocketRequest)
+ if (context.Response.SendChunked || isExpect100Continue || context.Request.IsWebSocketRequest || true)
{
o_stream = new ResponseStream(stream, context.Response, _memoryStreamFactory, _textEncoding);
}