aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-03-10 13:34:33 -0500
committerGitHub <noreply@github.com>2017-03-10 13:34:33 -0500
commit3962361ad9940e0c8b2e6d4aea4fc6b1cdd88553 (patch)
tree7fea4368278baf8b34d0f6911031d9a81468d81f /SocketHttpListener.Portable
parenta9fdf940dc79a878df9aa4b345c83537ac4502e1 (diff)
parent79b28e2465b23b015694e67f665d0ff7671fdff5 (diff)
Merge pull request #2522 from MediaBrowser/dev
Dev
Diffstat (limited to 'SocketHttpListener.Portable')
-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