in reply to upstream prematurely closed connection while reading response header from upstream
My guess is that your "global" variables in package Navi are not always initialized, maybe due to some mod_perl weirdness resp. how it wraps your code in a subroutine. You should see some warning like Variable will not stay shared in the webserver logs maybe.
My first approach would be to move the creation of the CGI object into a subroutine and always call that subroutine instead of hoping that the global variable is still available.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: upstream prematurely closed connection while reading response header from upstream
by Digioso (Sexton) on Feb 24, 2023 at 14:22 UTC | |
by Corion (Patriarch) on Feb 24, 2023 at 14:48 UTC | |
by Digioso (Sexton) on Feb 24, 2023 at 15:17 UTC |