aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/Net/HttpListenerResponse.Managed.cs
diff options
context:
space:
mode:
authorhawken <hawken@thehawken.org>2019-01-07 23:24:34 +0000
committerhawken <hawken@thehawken.org>2019-01-07 23:24:34 +0000
commitba1794f64bb1959b3af0fbbddca57df14a5544a9 (patch)
tree8edc7dec5be3beb793ab00305f222fe15f2a52e7 /SocketHttpListener/Net/HttpListenerResponse.Managed.cs
parent4ab82f7436b80359ef4c5f08027b309d1e1cf3b0 (diff)
Remove tabs and trailing whitespace
Diffstat (limited to 'SocketHttpListener/Net/HttpListenerResponse.Managed.cs')
-rw-r--r--SocketHttpListener/Net/HttpListenerResponse.Managed.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/SocketHttpListener/Net/HttpListenerResponse.Managed.cs b/SocketHttpListener/Net/HttpListenerResponse.Managed.cs
index 34953b569..8fb4518a1 100644
--- a/SocketHttpListener/Net/HttpListenerResponse.Managed.cs
+++ b/SocketHttpListener/Net/HttpListenerResponse.Managed.cs
@@ -207,13 +207,13 @@ namespace SocketHttpListener.Net
}
/* Apache forces closing the connection for these status codes:
- * HttpStatusCode.BadRequest 400
- * HttpStatusCode.RequestTimeout 408
- * HttpStatusCode.LengthRequired 411
- * HttpStatusCode.RequestEntityTooLarge 413
- * HttpStatusCode.RequestUriTooLong 414
- * HttpStatusCode.InternalServerError 500
- * HttpStatusCode.ServiceUnavailable 503
+ * HttpStatusCode.BadRequest 400
+ * HttpStatusCode.RequestTimeout 408
+ * HttpStatusCode.LengthRequired 411
+ * HttpStatusCode.RequestEntityTooLarge 413
+ * HttpStatusCode.RequestUriTooLong 414
+ * HttpStatusCode.InternalServerError 500
+ * HttpStatusCode.ServiceUnavailable 503
*/
bool conn_close = (_statusCode == (int)HttpStatusCode.BadRequest || _statusCode == (int)HttpStatusCode.RequestTimeout
|| _statusCode == (int)HttpStatusCode.LengthRequired || _statusCode == (int)HttpStatusCode.RequestEntityTooLarge