Browse files

Removed proctitle setting methods.

  • Loading branch information...
1 parent 99169c9 commit 715fab60e3b253b0904199a58f286ce83eeabb56 Brane F. Gračnar committed May 18, 2011
Showing with 0 additions and 27 deletions.
  1. +0 −27 lib/Net/OpenVPN/AuthDaemon.pm
View
27 lib/Net/OpenVPN/AuthDaemon.pm
@@ -52,12 +52,6 @@ sub getError {
return $self->{error};
}
-sub child_init_hook {
- my ($self) = @_;
- $0 = $self->{_myname} . " (worker, idle, virgin)";
- return 1;
-}
-
sub post_bind_hook {
my ($self) = @_;
if (defined ($self->{umask})) {
@@ -73,27 +67,6 @@ sub post_bind_hook {
open(STDIN, File::Spec->devnull());
}
-sub post_accept_hook {
- my ($self) = @_;
- my $host = "unix socket ";
- eval {
- $host = $self->{server}->{client}->peerhost();
- };
-
- $0 = $self->{_myname} . " (worker, connect from: " . $host . ": processing)";
- return 1;
-}
-
-sub pre_loop_hook {
- my ($self) = @_;
- $0 = $self->{_myname} . " (master)";
-}
-
-sub post_process_request_hook {
- my ($self) = @_;
- $0 = $self->{_myname} . " (worker, idle)";
-}
-
sub process_request {
my ($self) = @_;
my $params = undef;

0 comments on commit 715fab6

Please sign in to comment.