Frank Meier wrote:
Hi
I'm working with a proprietary apache module which communicates (through
a socket) with another backend application (I have the C source code of
the module). I've now found out, when the client closes the http
connection during a request, the module does not see that the
Frank Meier wrote:
Hi
I'm working with a proprietary apache module which communicates (through
a socket) with another backend application (I have the C source code of
the module). I've now found out, when the client closes the http
connection during a request, the module does not see that the
Saju Pillai wrote:
I can think of a *hack* to determine if the client has really gone away.
In your module you can possibly do
client = ap_filter_t-ctx-client_socket /* ap_filter_t is either the
input or output filter stack */
to get the apr client socket. You can try do a 0-byte read() on