summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2016-06-13 13:00:34 +0000
committerJim Jagielski <jim@apache.org>2016-06-13 13:00:34 +0000
commit78309494d54a1490c8e125c3b012d5e4bf0db0ae (patch)
tree8b23189b8b5a06cf9ec55d8b9ddcadbceb347583 /include
parent7ab82024407189d6294046e88fc7f480ad95d88d (diff)
downloadhttpd-78309494d54a1490c8e125c3b012d5e4bf0db0ae.tar.gz
Merge r1730723 from trunk:
Add 451... Needed to adjust RESPONSE_CODES which was not in the provided patch BUGZ# 58985 Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1748212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/httpd.h b/include/httpd.h
index ba5167e3c0..72b8394527 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -481,7 +481,7 @@ AP_DECLARE(const char *) ap_get_server_built(void);
* When adding a new code here add it to status_lines as well.
* A future version should dynamically generate the apr_table_t at startup.
*/
-#define RESPONSE_CODES 83
+#define RESPONSE_CODES 103
#define HTTP_CONTINUE 100
#define HTTP_SWITCHING_PROTOCOLS 101
@@ -530,6 +530,7 @@ AP_DECLARE(const char *) ap_get_server_built(void);
#define HTTP_PRECONDITION_REQUIRED 428
#define HTTP_TOO_MANY_REQUESTS 429
#define HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE 431
+#define HTTP_UNAVAILABLE_FOR_LEGAL_REASONS 451
#define HTTP_INTERNAL_SERVER_ERROR 500
#define HTTP_NOT_IMPLEMENTED 501
#define HTTP_BAD_GATEWAY 502