You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Robinson <dr...@ast.cam.ac.uk> on 1996/02/23 19:05:00 UTC
New 110a.buff.patch
Subject: Use purpose written buffering routines instead of stdio for data I/O
and partial re-write of buffering routines.
Affects: Makefile.tmp, buff.c, buff.h, http_main.c, http_protocol.c,
http_protocol.h, httpd.h, mod_dir.c, mod_imap.c, mod_include.c,
mod_log_common.c, mod_log_config.c, mod_proxy.c, util.c,
util_script.c
ChangeLog: Use bread() etc instead of fread() for reading/writing to client.
Move the count of bytes sent into the buffering routines.
Rewrite the buffering routines to provide bputc(), bgetc() macros.
Comments: Needs 113.keepalive_segv.patch applied first.
With the new patch, you create buffered stream with bcreate() and then
'push' the file descriptors to use for the I/O with bpushfd(). The count of
bytes sent (or buffered) is read and set using bgetopt() and bsetopt().
This patch is getting large; 72Kb, and will probably conflict with any
other patch. Time for 1.1b1?
David.