Skip Menu |

This queue is for tickets about the Apache-DBI CPAN distribution.

Report information
The Basics
Id: 120029
Status: new
Priority: 0/
Queue: Apache-DBI

People
Owner: Nobody in particular
Requestors: yanek [...] yanek.cz
Cc:
AdminCc:

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



Subject: cleanup() might return 0 instead of 1 (PerlCleanupHandler)
Date: Sun, 29 Jan 2017 14:27:12 +0100
To: bug-Apache-DBI [...] rt.cpan.org
From: Jan 'yanek' Bortl <yanek [...] yanek.cz>
Hello, I just found out that Apache::DBI's cleanup() function is returning 1 (true). But that causes mod_perl's handlers stop running if there are more of them. Changing return value to 0 (= Apache2::Const::OK) solved my issue. childinit() may have same issue, but I'm not using this. -- Jan 'yanek' Bortl <yanek [at] yanek. cz> http://yanek.cz/ | jabber: yanek [at] mitranet. cz ----------------------------------------------------------------- "Maybe one day you will learn that your way is not the only way." Opher [StarGate: The Nox]