aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener.Portable
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-14 15:18:01 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-14 15:18:01 -0500
commit6d40ab7e1c40fdb5c18defb7a5f5521bbd0cfb2e (patch)
tree19a2ca600c1c6a7df8eb9a649b94e0cc70086f4d /SocketHttpListener.Portable
parent08f959faba73e6ef66970276a43c5a7c807a6720 (diff)
parent588c06fca037b6656d7b734b47f709a0e078ce41 (diff)
Merge branch 'beta' of https://github.com/MediaBrowser/Emby into beta
Diffstat (limited to 'SocketHttpListener.Portable')
-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 fb3bc2bdb3..880473c0a2 100644
--- a/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
+++ b/SocketHttpListener.Portable/Net/HttpListenerResponse.cs
@@ -413,8 +413,8 @@ namespace SocketHttpListener.Net
* HttpStatusCode.InternalServerError 500
* HttpStatusCode.ServiceUnavailable 503
*/
- bool conn_close = (status_code == 400 || status_code == 408 || status_code == 411 ||
- status_code == 413 || status_code == 414 || status_code == 500 ||
+ bool conn_close = (status_code == 408 || status_code == 411 ||
+ status_code == 413 || status_code == 414 ||
status_code == 503);
if (conn_close == false)