Merge r1796493 from trunk:
authorRainer Jung <rjung@apache.org>
Sun, 28 May 2017 21:15:41 +0000 (21:15 +0000)
committerRainer Jung <rjung@apache.org>
Sun, 28 May 2017 21:15:41 +0000 (21:15 +0000)
ab: enable option processing for setting a custom
HTTP method also for non-SSL builds.

Submitted by: rjung
Reviewed by: rjung, covener, gsmith

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1796539 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
support/ab.c

diff --git a/CHANGES b/CHANGES
index 18d5121f8d62c66e2e812b783e42f537779d9422..80f76f64d9b8d1324c51f2493d013128631a5e07 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 
 Changes with Apache 2.4.26
 
+  *) ab: enable option processing for setting a custom HTTP method also for
+     non-SSL builds.  [Rainer Jung]
+
   *) core: EBCDIC fixes for interim responses with additional headers.
      [Eric Covener]
 
diff --git a/STATUS b/STATUS
index 7fb35a83f5cc0c6c9363727d070bb48b525a9fc4..69a4cad9f10017621fd295212673ee864833ab7a 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -120,12 +120,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  *) ab: enable option processing for setting a custom
-     HTTP method also for non-SSL builds.
-     trunk patch: http://svn.apache.org/r1796493
-     2.4.x patch: svn merge -c 1796493 ^/httpd/httpd/trunk .
-     +1: rjung, covener, gsmith
-
   *) core: ap_parse_form_data() doesn't work on EBCDIC systems. PR61124.
      trunk patch: http://svn.apache.org/r1796446
      2.4.x patch: svn merge -c 1796446 ^/httpd/httpd/trunk .
index 25926e9ccd860d830a60ca31d82242dd475eb2c7..daba92e83d40af3f913d35608aa1e603afaf1ced 100644 (file)
@@ -2390,14 +2390,14 @@ int main(int argc, const char * const argv[])
             case 'B':
                 myhost = apr_pstrdup(cntxt, opt_arg);
                 break;
-#ifdef USE_SSL
-            case 'Z':
-                ssl_cipher = strdup(opt_arg);
-                break;
             case 'm':
                 method = CUSTOM_METHOD;
                 method_str[CUSTOM_METHOD] = strdup(opt_arg);
                 break;
+#ifdef USE_SSL
+            case 'Z':
+                ssl_cipher = strdup(opt_arg);
+                break;
             case 'f':
 #if OPENSSL_VERSION_NUMBER < 0x10100000L
                 if (strncasecmp(opt_arg, "ALL", 3) == 0) {