httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1796493 - /httpd/httpd/trunk/support/ab.c
Date Sun, 28 May 2017 14:10:09 GMT
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) {



Mime
View raw message