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