Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
[mp2] sendfile() bug report with Apache-Test test attached
 

Index | Next | Previous | View Flat


acaloiar at gmail

Jun 25, 2009, 11:18 AM


Views: 429
Permalink
[mp2] sendfile() bug report with Apache-Test test attached

Hello,

From what I've read, Apache should understand that it needs to apply the
byterange filter whenever $r->sendfile is called and the Range: header is
present in the incoming request. However what I'm seeing is that the entire
file is returned for each byte range requested by the client.

Access log serving off disk in Apache2:

*.*.*.* - - [17/Jun/2009:19:50:30 -0400] "GET /mygcx/test/flvplayernew17.flv
HTTP/1.1" 206 1 "-" "-"
*.*.*.* - - [17/Jun/2009:19:50:31 -0400] "GET /mygcx/test/flvplayernew17.flv
HTTP/1.1" 206 435996 "-" "-"
*.*.*.* - - [17/Jun/2009:19:50:30 -0400] "GET /mygcx/test/flvplayernew17.flv
HTTP/1.1" 206 2097152 "-" "-"

Serving from perl handler:

*.*.*.* - - [18/Jun/2009:10:11:43 -0400] "GET /mygcx/test/flvplayernew17.flv
HTTP/1.1" 200 2533148 "-" "-"
*.*.*.* - - [18/Jun/2009:10:11:45 -0400] "GET /mygcx/test/flvplayernew17.flv
HTTP/1.1" 200 2533148 "-" "-"
*.*.*.* - - [18/Jun/2009:10:11:45 -0400] "GET /mygcx/test/flvplayernew17.flv
HTTP/1.1" 200 2533148 "-" "-"
Attachments: mod_perl2-sendfilebug-report.txt (7.29 KB)
  mod_perl2-sendfile-bug.tar.gz (22.9 KB)

Subject User Time
[mp2] sendfile() bug report with Apache-Test test attached acaloiar at gmail Jun 25, 2009, 11:18 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.