Merge branch 'jn/gitweb-return-or-exit-cleanup'

* jn/gitweb-return-or-exit-cleanup:
  gitweb: Return or exit after done serving request

Conflicts:
	gitweb/gitweb.perl
This commit is contained in:
Junio C Hamano 2010-06-22 09:45:22 -07:00
Родитель 3919d40cfb 5ed2ec1041
Коммит 5bfd53629e
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -1109,6 +1109,15 @@ sub run {
run();
if (defined caller) {
# wrapped in a subroutine processing requests,
# e.g. mod_perl with ModPerl::Registry, or PSGI with Plack::App::WrapCGI
return;
} else {
# pure CGI script, serving single request
exit;
}
## ======================================================================
## action links