Blame SOURCES/httpd-2.4.6-http-protocol-options-define.patch
|
|
8335b1 |
diff --git a/server/main.c b/server/main.c
|
|
|
8335b1 |
index 28d1872..544882d 100644
|
|
|
8335b1 |
--- a/server/main.c
|
|
|
8335b1 |
+++ b/server/main.c
|
|
|
8335b1 |
@@ -478,6 +478,12 @@ int main(int argc, const char * const argv[])
|
|
|
8335b1 |
ap_server_post_read_config = apr_array_make(pcommands, 1, sizeof(char *));
|
|
|
8335b1 |
ap_server_config_defines = apr_array_make(pcommands, 1, sizeof(char *));
|
|
|
8335b1 |
|
|
|
8335b1 |
+ {
|
|
|
8335b1 |
+ char **new = (char **)apr_array_push(ap_server_config_defines);
|
|
|
8335b1 |
+
|
|
|
8335b1 |
+ *new = "_RH_HAS_HTTPPROTOCOLOPTIONS";
|
|
|
8335b1 |
+ }
|
|
|
8335b1 |
+
|
|
|
8335b1 |
error = ap_setup_prelinked_modules(process);
|
|
|
8335b1 |
if (error) {
|
|
|
8335b1 |
ap_log_error(APLOG_MARK, APLOG_STARTUP|APLOG_EMERG, 0, NULL, APLOGNO(00012)
|