You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2017/05/28 14:10:09 UTC

svn commit: r1796493 - /httpd/httpd/trunk/support/ab.c

Author: rjung
Date: Sun May 28 14:10:09 2017
New Revision: 1796493

URL: http://svn.apache.org/viewvc?rev=1796493&view=rev
Log:
ab: move option processing for setting a custom
HTTP method outside of the HTTPS only handling.

Modified:
    httpd/httpd/trunk/support/ab.c

Modified: httpd/httpd/trunk/support/ab.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?rev=1796493&r1=1796492&r2=1796493&view=diff
==============================================================================
--- httpd/httpd/trunk/support/ab.c (original)
+++ httpd/httpd/trunk/support/ab.c Sun May 28 14:10:09 2017
@@ -2465,14 +2465,14 @@ int main(int argc, const char * const ar
             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) {