Prevent code in mod_perl.pl from executing twice

RESOLVED FIXED

Status

()

enhancement
P1
normal
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: dylan, Assigned: dylan)

Tracking

Production
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

PR
45 bytes, text/x-github-pull-request
dylan
: review+
Details | Review
The code in mod_perl.pl is executed twice. mod_perl does this to "make sure graceful restarts work".

It isn't clear that this is useful, since we don't use graceful restarts (which are not recommended with apache / mod_perl anyway) and it costs performance.
But more importantly it makes sanitizing %ENV more complicated than it needs to be.
Posted file PR
Blocks: 1404092
Priority: -- → P1
Attachment #8914377 - Flags: review?(bobm)
Attachment #8914377 - Flags: review?(bobm) → review+
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.