arrfab / rpms / httpd

Forked from rpms/httpd 5 years ago
Clone

Blame SOURCES/httpd-2.4.6-http-protocol-options-define.patch

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