I'm using mod_perl 2.0.3 with Apache 2.2.9 and mod_proxy for reverse proxying. Is there a way, from my mod_perl application, that I can tell when the connection to the backend server in mod_proxy timed out? I.e., mod_proxy made a connection to the backend, but the backend didn't respond in the configured number of timeout seconds?
I know that there's the Apache2::RequestRec::request_time variable, and I can do the simple math to figure out how long ago the request started, but since mod_proxy does actually know when a timeout happens, does mod_proxy bubble that info up into something that is exposed by the mod_perl API anywhere? It would be nice to just have simple access to an error code, to know whether it was a timeout or just an aborted connection. Thanks, Adam