16 |
|
|
17 |
use CWMP::Session; |
use CWMP::Session; |
18 |
use CWMP::Queue; |
use CWMP::Queue; |
|
use CWMP::MemLeak; |
|
19 |
|
|
20 |
use Carp qw/confess/; |
use Carp qw/confess/; |
21 |
use Data::Dump qw/dump/; |
use Data::Dump qw/dump/; |
124 |
sub process_request { |
sub process_request { |
125 |
my $self = shift; |
my $self = shift; |
126 |
|
|
|
my $leak = CWMP::MemLeak->new; |
|
|
|
|
127 |
my $prop = $self->{server}; |
my $prop = $self->{server}; |
128 |
confess "no server in ", ref( $self ) unless $prop; |
confess "no server in ", ref( $self ) unless $prop; |
129 |
my $sock = $prop->{client}; |
my $sock = $prop->{client}; |
146 |
|
|
147 |
warn "...returning to accepting new connections\n" if $prop->{debug}; |
warn "...returning to accepting new connections\n" if $prop->{debug}; |
148 |
|
|
|
$leak->report; |
|
|
|
|
149 |
} |
} |
150 |
|
|
151 |
1; |
1; |