RE: APR does not understand this error code
"Thomas den Braber" <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
> We were getting this behavior in our web application. It appears that > we've fixed it (we're still testing it) by checking the return value > from each print statement (usually we call the Apache request object's > print method) and aborting (by calling die() in our application - we > have an all-encompasing try block) if print returns a false value. I > would give that a try. > ________________________________________ I was thinking about that solution to, but that makes the code less clean, all the if statements makes it harder to read. I think it is better to fix this in Mod Perl than making workaround. Especially for newbies or CGI migrate project that have lots of existing code.