httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@kiwi.ICS.UCI.EDU>
Subject Re: ap_send_fb_length() oddness
Date Sat, 15 Apr 2000 01:50:22 GMT
>Here is a piece of code from ap_send_fb_length().  The section of code handles
>the blocking read on a CGI pipe.
>
>Should we be seting connection aborted (r->connection->aborted = 1) when the
>other side of
>the pipe is closed signaling EOF?  This is totally non-intuitive to me.
>Why mark the network connection as aborted just because the pipe closed down?

I suspect it is just an inappropriate cut-and-paste from the routine
that does a request read body.  That other code signals the abort
because a premature close means the client has cancelled the request.
The CGI reader should never signal an abort.

....Roy

Mime
View raw message