mirror of
https://git.proxmox.com/git/pve-http-server
synced 2025-10-16 10:42:59 +00:00
move abstract fuctions to end of file
This commit is contained in:
parent
b639f458c5
commit
fbc42b33e7
@ -1636,6 +1636,12 @@ sub atfork_handler {
|
|||||||
warn $@ if $@;
|
warn $@ if $@;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub run {
|
||||||
|
my ($self) = @_;
|
||||||
|
|
||||||
|
$self->{end_cond}->recv;
|
||||||
|
}
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
my ($this, %args) = @_;
|
my ($this, %args) = @_;
|
||||||
|
|
||||||
@ -1721,6 +1727,8 @@ sub new {
|
|||||||
return $self;
|
return $self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# abstract functions - subclass should overwrite/implement them
|
||||||
|
|
||||||
sub auth_handler {
|
sub auth_handler {
|
||||||
my ($self, $method, $rel_uri, $ticket, $token) = @_;
|
my ($self, $method, $rel_uri, $ticket, $token) = @_;
|
||||||
|
|
||||||
@ -1766,10 +1774,5 @@ sub remote_node_ip {
|
|||||||
# return $remip;
|
# return $remip;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub run {
|
|
||||||
my ($self) = @_;
|
|
||||||
|
|
||||||
$self->{end_cond}->recv;
|
|
||||||
}
|
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
Loading…
Reference in New Issue
Block a user