Apache 2.0 STATUS:
-Last modified at [$Date: 2000/05/23 21:50:57 $]
+Last modified at [$Date: 2000/05/24 19:18:57 $]
Release:
module. This should be override-able of course.
Status: Jim Jagielski is looking into this.
- * Fix SAFEREAD.
- see <Pine.LNX.4.21.0004101511380.7822-100000@twinlark.arctic.org>
-
* Put back resource limit code
* suEXEC doesn't work
* read(). B_SAFEREAD ensures that the BUFF layer flushes if it will
* have to block during a read.
*/
- /* TODO: reimplement SAFEREAD external to BUFF using a layer */
- /* //ap_bsetflag(conn->client, B_SAFEREAD, 1); */
+ ap_bsetflag(conn->client, B_SAFEREAD, 1);
ap_bflush(conn->client);
while ((len = getline(l, sizeof(l), conn->client, 0)) <= 0) {
if ((len < 0) || ap_bgetflag(conn->client, B_EOF)) {
- /* //ap_bsetflag(conn->client, B_SAFEREAD, 0); */
+ ap_bsetflag(conn->client, B_SAFEREAD, 0);
/* this is a hack to make sure that request time is set,
* it's not perfect, but it's better than nothing
*/
#endif
*/
- /* //ap_bsetflag(conn->client, B_SAFEREAD, 0); */
+ ap_bsetflag(conn->client, B_SAFEREAD, 0);
r->request_time = ap_now();
r->the_request = ap_pstrdup(r->pool, l);