my $parameters = shift;
my @buffer;
- my $curl_line = CURL;
+ my $curl_line = get_cli_option('curl');
my $retries_left = get_cli_option('retries') + 1;
my $failure_reason;
Options and their default values if they have any:
[--check-bad-ssl]
+ [--curl $cli_options{'curl'}]
[--debug $cli_options{'debug'}]
[--forks $cli_options{'forks'}]
[--fuzzer-address]
our $log_level;
our $proxy;
+ $cli_options{'curl'} = CURL;
$cli_options{'debug'} = $log_level;
$cli_options{'forks'} = CLI_FORKS;
$cli_options{'loops'} = CLI_LOOPS;
GetOptions (
'check-bad-ssl' => \$cli_options{'check-bad-ssl'},
+ 'curl=s' => \$cli_options{'curl'},
'debug=i' => \$cli_options{'debug'},
'forks=i' => \$cli_options{'forks'},
'fuzzer-address=s' => \$cli_options{'fuzzer-address'},
=head1 SYNOPSIS
-B<privoxy-regression-test> [B<--check-bad-ssl>] [B<--debug bitmask>] [B<--forks> forks]
-[B<--fuzzer-feeding>] [B<--fuzzer-feeding>] [B<--help>] [B<--level level>]
+B<privoxy-regression-test> [B<--check-bad-ssl>] [B<--curl curl>] [B<--debug bitmask>]
+[B<--forks> forks] [B<--fuzzer-feeding>] [B<--fuzzer-feeding>] [B<--help>] [B<--level level>]
[B<--local-test-file testfile>] [B<--loops count>] [B<--max-level max-level>]
[B<--max-time max-time>] [B<--min-level min-level>] B<--privoxy-address proxy-address>
B<--privoxy-cgi-prefix cgi-prefix> [B<--retries retries>] [B<--test-number test-number>]
with FEATURE_HTTPS_INSPECTION, has been configured properly
and can reach the Internet.
+B<--curl curl> Use a non-default curl binary.
+
B<--debug bitmask> Add the bitmask provided as integer
to the debug settings.