Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
41c2692f
You need to sign in or sign up before continuing.
Commit
41c2692f
authored
Nov 14, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 599552: Clean up mod_perl.pl, and make it use the same CGI.pm compile
options as mod_cgi does. r=glob, a=mkanat
parent
3a27fb2f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
9 deletions
+7
-9
mod_perl.pl
mod_perl.pl
+7
-9
No files found.
mod_perl.pl
View file @
41c2692f
...
@@ -16,7 +16,6 @@
...
@@ -16,7 +16,6 @@
# Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org>
# Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org>
package
Bugzilla::
ModPerl
;
package
Bugzilla::
ModPerl
;
use
strict
;
use
strict
;
# If you have an Apache2::Status handler in your Apache configuration,
# If you have an Apache2::Status handler in your Apache configuration,
...
@@ -30,22 +29,21 @@ use strict;
...
@@ -30,22 +29,21 @@ use strict;
use
Apache2::
ServerUtil
;
use
Apache2::
ServerUtil
;
use
ModPerl::
RegistryLoader
();
use
ModPerl::
RegistryLoader
();
use
CGI
();
CGI
->
compile
(
qw(:cgi -no_xhtml -oldstyle_urls :private_tempfiles
:unique_headers SERVER_PUSH :push)
);
use
File::
Basename
();
use
File::
Basename
();
use
Template::
Config
();
Template::
Config
->
preload
();
# This loads most of our modules.
use
Bugzilla
();
use
Bugzilla
();
use
Bugzilla::
Constants
();
# Loading Bugzilla.pm doesn't load this, though, and we want it preloaded.
use
Bugzilla::
BugMail
();
use
Bugzilla::
CGI
();
use
Bugzilla::
CGI
();
use
Bugzilla::
Constants
();
use
Bugzilla::
Extension
();
use
Bugzilla::
Extension
();
use
Bugzilla::Install::
Requirements
();
use
Bugzilla::Install::
Requirements
();
use
Bugzilla::
Mailer
();
use
Bugzilla::
Template
();
use
Bugzilla::
Util
();
use
Bugzilla::
Util
();
# Pre-compile the CGI.pm methods that we're going to use.
Bugzilla::
CGI
->
compile
(
qw(:cgi :push)
);
my
(
$sizelimit
,
$maxrequests
)
=
(
''
,
''
);
my
(
$sizelimit
,
$maxrequests
)
=
(
''
,
''
);
if
(
Bugzilla::Constants::
ON_WINDOWS
)
{
if
(
Bugzilla::Constants::
ON_WINDOWS
)
{
$maxrequests
=
"MaxRequestsPerChild 25"
;
$maxrequests
=
"MaxRequestsPerChild 25"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment