aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable/Net/HttpListenerRequest.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-10 13:33:17 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-03-10 13:33:17 -0500
commitfc2a5acfca4b12f1f5b7dc17ce34bdd890641dc6 (patch)
tree59e548a9e7b77be29b31be8adba1e8fdd968f743 /SocketHttpListener.Portable/Net/HttpListenerRequest.cs
parent8931b949f88f5f5a40544354bec2baa70c8878d8 (diff)
move loopback util
Diffstat (limited to 'SocketHttpListener.Portable/Net/HttpListenerRequest.cs')
-rw-r--r--SocketHttpListener.Portable/Net/HttpListenerRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/SocketHttpListener.Portable/Net/HttpListenerRequest.cs b/SocketHttpListener.Portable/Net/HttpListenerRequest.cs
index 811cc6ddb..cfbd49203 100644
--- a/SocketHttpListener.Portable/Net/HttpListenerRequest.cs
+++ b/SocketHttpListener.Portable/Net/HttpListenerRequest.cs
@@ -456,7 +456,7 @@ namespace SocketHttpListener.Net
public long ContentLength64
{
- get { return content_length; }
+ get { return is_chunked ? -1 : content_length; }
}
public string ContentType