Skip Menu |
 

This queue is for tickets about the mod_perl CPAN distribution.

Report information
The Basics
Id: 118919
Status: open
Priority: 0/
Queue: mod_perl

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.0.9
Fixed in: (no value)



Subject: t/filter/in_bbs_inject_header.t fails in POST-IT header tests with a keep-alive connection
Download (untitled) / with headers
text/plain 633b
t/filter/in_bbs_inject_header.t fails like: # testing : injected header X-My-Protocol # expected: 'POST-IT' # received: '' not ok 22 [...] t/filter/in_bbs_inject_header.t (Wstat: 0 Tests: 36 Failed: 3) Failed tests: 22, 26, 30 The three tests are POST-IT header checks for second, third and forth keep-alive request. All other requests pass. This happens with httpd 2.4.23 and mod_perl 2.0.9 or 2.0.10. It was already reported on apache-modperl mailing list <https://marc.info/?l=apache-modperl&m=147541037913776&w=2> recently or a year ago <https://marc.info/?l=apache-modperl&m=144096970415067&w=2> with a detailed debugging.
Download (untitled) / with headers
text/plain 985b
On Wed Nov 23 05:22:11 2016, ppisar wrote: Show quoted text
> t/filter/in_bbs_inject_header.t fails like: > > # testing : injected header X-My-Protocol > # expected: 'POST-IT' > # received: '' > not ok 22 > [...] > t/filter/in_bbs_inject_header.t (Wstat: 0 Tests: 36 Failed: 3) > Failed tests: 22, 26, 30 > > The three tests are POST-IT header checks for second, third and forth > keep-alive request. All other requests pass. > > This happens with httpd 2.4.23 and mod_perl 2.0.9 or 2.0.10. It was > already reported on apache-modperl mailing list > <https://marc.info/?l=apache-modperl&m=147541037913776&w=2> recently > or a year ago <https://marc.info/?l=apache- > modperl&m=144096970415067&w=2> with a detailed debugging.
We're seeing these failures again in the course of testing RCs for mod_perl 2.0.11. One thing I've noticed is that these tests pass (genuinely pass, not just skipped!) if LWP is not present, which can be faked by setting APACHE_TEST_PRETEND_NO_LWP=1 in the environment.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.