httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (David Robinson)
Subject New 110a.buff.patch
Date Fri, 23 Feb 1996 18:05:00 GMT
 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,
 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?


View raw message