mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 15:31:45 +00:00
Update worker.pl
This commit is contained in:
parent
968791c233
commit
992ff329d5
|
@ -130,10 +130,6 @@ sub relay_request {
|
|||
my $scheme = $params->{'scheme'};
|
||||
my $datetime = $params->{'datetime'};
|
||||
|
||||
if ($scheme ~~ ["https", "ssl", "tls"]) {
|
||||
$remote_address = "tls://" . $remote_address;
|
||||
}
|
||||
|
||||
given ($request_header->{'@method'}[0]) {
|
||||
when ("CONNECT") {
|
||||
my $error = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user