You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Torsten Förtsch <to...@gmx.net> on 2011/07/31 13:53:18 UTC
ap_send_fd ignores the offset parameter
Hi,
the trunk version of ap_send_fd always passes 0 as offset to
apr_brigade_insert_file.
Index: server/protocol.c
===================================================================
--- server/protocol.c (revision 1152467)
+++ server/protocol.c (working copy)
@@ -1380,7 +1380,7 @@
bb = apr_brigade_create(r->pool, c->bucket_alloc);
- apr_brigade_insert_file(bb, fd, 0, len, r->pool);
+ apr_brigade_insert_file(bb, fd, offset, len, r->pool);
rv = ap_pass_brigade(r->output_filters, bb);
if (rv != APR_SUCCESS) {
Filed as https://issues.apache.org/bugzilla/show_bug.cgi?id=51592
Torsten Förtsch
--
Need professional modperl support? Hire me! (http://foertsch.name)
Like fantasy? http://kabatinte.net