On 08/25/2006 11:08 PM, Joachim Zobel wrote:
> Hi.
>
> The core output filter is doing the following if the client unexpectedly
> closes the connection:
>
> if (rv != APR_SUCCESS) {
> ap_log_cerror(APLOG_MARK, APLOG_INFO, rv, c,
> "core_output_filter: writing data to the network");
>
> ... cleanup
>
> /* The client has aborted, but the request was successful.We
> * will report success, and leave it to the access and error
> * logs to note that the connection was aborted.
> */
> return APR_SUCCESS;
> }
>
> Unfortunately my upstream filter does not read the logs. How else can I
> find out there was this error from an upstream filter? I am doing a SAX
c->aborted is set to 1 in this case. Just check for it once you return from
ap_pass_brigade.
Regards
RĂ¼diger