From: Geoffrey Young Date: Thu, 9 Dec 2004 21:09:26 +0000 (+0000) Subject: undo changes made in 111386 due to veto X-Git-Tag: 2.1.3~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78c1d9dc3e06924532e6637d6ec8c28f9c98cb01;p=thirdparty%2Fapache%2Fhttpd.git undo changes made in 111386 due to veto git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111432 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 931e05e77e8..e9abef2e841 100644 --- a/CHANGES +++ b/CHANGES @@ -2,10 +2,6 @@ Changes with Apache 2.1.3 [Remove entries to the current 2.0 section below, when backported] - *) add response code 226 constant (HTTP_IM_USED) and status - line ("226 IM Used"). PR 31228. - [Garrett Rooney ] - Changes with Apache 2.1.2 *) mod_proxy: Respect errors reported by pre_connection hooks. diff --git a/include/httpd.h b/include/httpd.h index 81118614560..47e40c92549 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -427,7 +427,7 @@ AP_DECLARE(const char *) ap_get_server_built(void); * all of the potential response status-lines (a sparse table). * A future version should dynamically generate the apr_table_t at startup. */ -#define RESPONSE_CODES 76 +#define RESPONSE_CODES 57 #define HTTP_CONTINUE 100 #define HTTP_SWITCHING_PROTOCOLS 101 @@ -440,7 +440,6 @@ AP_DECLARE(const char *) ap_get_server_built(void); #define HTTP_RESET_CONTENT 205 #define HTTP_PARTIAL_CONTENT 206 #define HTTP_MULTI_STATUS 207 -#define HTTP_IM_USED 226 #define HTTP_MULTIPLE_CHOICES 300 #define HTTP_MOVED_PERMANENTLY 301 #define HTTP_MOVED_TEMPORARILY 302 diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 82a59b66dd3..83efcc22604 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -85,26 +85,7 @@ static const char * const status_lines[RESPONSE_CODES] = "205 Reset Content", "206 Partial Content", "207 Multi-Status", - "208 unused", - "209 unused", - "210 unused", - "211 unused", - "212 unused", - "213 unused", - "214 unused", - "215 unused", - "216 unused", - "217 unused", - "218 unused", - "219 unused", - "220 unused", - "221 unused", - "222 unused", - "223 unused", - "224 unused", - "225 unused", - "226 IM Used", -#define LEVEL_300 30 +#define LEVEL_300 11 "300 Multiple Choices", "301 Moved Permanently", "302 Found", @@ -113,7 +94,7 @@ static const char * const status_lines[RESPONSE_CODES] = "305 Use Proxy", "306 unused", "307 Temporary Redirect", -#define LEVEL_400 38 +#define LEVEL_400 19 "400 Bad Request", "401 Authorization Required", "402 Payment Required", @@ -144,7 +125,7 @@ static const char * const status_lines[RESPONSE_CODES] = */ "425 No code", "426 Upgrade Required", -#define LEVEL_500 65 +#define LEVEL_500 46 "500 Internal Server Error", "501 Method Not Implemented", "502 Bad Gateway",