X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/ece6d2120748f389bf6efb934cc46666aa5a2667..948ad06a1c5d5cb85cab9664ff74ea23eeab800e:/SL/Dispatcher.pm diff --git a/SL/Dispatcher.pm b/SL/Dispatcher.pm index 17aaab0c6..38973216d 100644 --- a/SL/Dispatcher.pm +++ b/SL/Dispatcher.pm @@ -318,6 +318,14 @@ sub handle_request { $::form->footer; + if ($self->_interface_is_fcgi) { + # fcgi? send send reponse on its way before cleanup. + $self->{request}->Flush; + $self->{request}->Finish; + } + + $::lxdebug->end_request(routing_type => $routing_type, script_name => $script_name, action => $action); + # cleanup $::auth->save_session; $::auth->expire_sessions; @@ -327,9 +335,9 @@ sub handle_request { $::form = undef; $::myconfig = (); $::request = undef; - Form::disconnect_standard_dbh; - $::lxdebug->end_request; + SL::DBConnect::Cache->reset_all; + Form::disconnect_standard_dbh; $self->_watch_for_changed_files;