httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Förtsch <torsten.foert...@gmx.net>
Subject ap_send_fd ignores the offset parameter
Date Sun, 31 Jul 2011 11:53:18 GMT
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

Mime
View raw message