diff options
author | Stefan Fritsch <sf@apache.org> | 2011-08-03 12:46:04 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@apache.org> | 2011-08-03 12:46:04 +0200 |
commit | a895bc4ee462517ad930bfc597618665a9b73a0c (patch) | |
tree | f30bc207a5e75ba84a59a1f2f31b4bd2113c7bd9 /server/protocol.c | |
parent | Fix endless loop if first bucket is metadata (diff) | |
download | apache2-a895bc4ee462517ad930bfc597618665a9b73a0c.tar.xz apache2-a895bc4ee462517ad930bfc597618665a9b73a0c.zip |
Fix handling of offset in ap_send_fd()
PR: 51592
Submitted by: Torsten Foertsch <torsten foertsch gmx net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1153424 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/protocol.c')
-rw-r--r-- | server/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/protocol.c b/server/protocol.c index d78290af8f..bf48919459 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1380,7 +1380,7 @@ AP_DECLARE(apr_status_t) ap_send_fd(apr_file_t *fd, request_rec *r, 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) { |