Without this I believe Win98/ME are broken
on HEAD and APACHE_2_0_BRANCH. OK to commit?
Allan
Index: core.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/core.c,v
retrieving revision 1.225.2.1
diff -u -d -b -r1.225.2.1 core.c
--- core.c 9 Jan 2003 16:27:25 -0000 1.225.2.1
+++ core.c 10 Jan 2003 17:46:16 -0000
@@ -3972,6 +3972,11 @@
sent */
flags); /* apr_sendfile flags */
+ if (APR_ENOTIMPL == rv) {
+ rv = emulate_sendfile(net, fd, &hdtr, foffset, flen,
+ &bytes_sent);
+ }
+
if (logio_add_bytes_out && bytes_sent > 0)
logio_add_bytes_out(c, bytes_sent);
}
Index: core.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/core.c,v
retrieving revision 1.225.2.1
diff -u -d -b -r1.225.2.1 core.c
--- core.c 9 Jan 2003 16:27:25 -0000 1.225.2.1
+++ core.c 10 Jan 2003 17:46:16 -0000
@@ -3972,6 +3972,11 @@
sent */
flags); /* apr_sendfile flags */
+ if (APR_ENOTIMPL == rv) {
+ rv = emulate_sendfile(net, fd, &hdtr, foffset, flen,
+ &bytes_sent);
+ }
+
if (logio_add_bytes_out && bytes_sent > 0)
logio_add_bytes_out(c, bytes_sent);
}