HTTP header is growing
This commit is contained in:
parent
4ecdd5022b
commit
a4cacf8d72
2 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,6 @@ use Apache2::ServerUtil ();
|
|||
sub handler {
|
||||
my $r = shift;
|
||||
my $s = Apache2::ServerUtil->server;
|
||||
$s->add_version_component("WebGUI/".$WebGUI::VERSION);
|
||||
my $config = WebGUI::Config->new($s->dir_config('WebguiRoot'),$r->dir_config('WebguiConfig'));
|
||||
foreach my $url ($config->get("extrasURL"), @{$config->get("passthruUrls")}) {
|
||||
return Apache2::Const::DECLINED if ($r->uri =~ m/^$url/);
|
||||
|
|
|
|||
|
|
@ -112,6 +112,7 @@ Cleans up a WebGUI session information from memory and disconnects from any reso
|
|||
|
||||
sub close {
|
||||
my $self = shift;
|
||||
$self->db->disconnect;
|
||||
##Must destroy the logger last!
|
||||
my %mykeys = grep { ($_ ne '_errorHandler' && $_ ne '_request' && $_ eq '_sessionId' && $_ eq '_server') } keys %{ $self };
|
||||
foreach my $object (keys %mykeys) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue