mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-11-27 18:10:40 +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 $scheme = $params->{'scheme'};
|
||||||
my $datetime = $params->{'datetime'};
|
my $datetime = $params->{'datetime'};
|
||||||
|
|
||||||
if ($scheme ~~ ["https", "ssl", "tls"]) {
|
|
||||||
$remote_address = "tls://" . $remote_address;
|
|
||||||
}
|
|
||||||
|
|
||||||
given ($request_header->{'@method'}[0]) {
|
given ($request_header->{'@method'}[0]) {
|
||||||
when ("CONNECT") {
|
when ("CONNECT") {
|
||||||
my $error = {
|
my $error = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user