mp2 / Apache byterange filter
am 18.06.2009 16:22:46 von Adriano Caloiaro--001636283644799f4b046ca02579
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hello,
Could someone point me in the correct direction to support byte range
responses in mod_perl2? From what I've read, Apache should understand that
it needs to apply the byterange filter whenever $r->sendfile is used on a
large file 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 "-" "-"
It would seem like re-invited in the wheel if I were to implement RFC 2616
in perl when there is a byterange filter already present in apache. Thank
you for any help!
-Adrian
--001636283644799f4b046ca02579
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hello,
Could someone point me in the correct direction to support by=
te range responses in mod_perl2?=A0 From what I've read, Apache should =
understand that it needs to apply the byterange filter whenever $r->send=
file is used on a large file and the Range: header is present in the incomi=
ng request.=A0 However what I'm seeing is that the entire file is retur=
ned for each byte range requested by the client.=A0
Access log serving off disk in Apache2:
*.*.*.* - - [17/Jun/2009=
:19:50:30 -0400] "GET /mygcx/test/flvplayernew17.flv HTTP/1.1" 20=
6 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/flvplayernew=
17.flv HTTP/1.1" 206 2097152 "-" "-"
Servin=
g 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/flvplayernew=
17.flv HTTP/1.1" 200 2533148 "-" "-"
*.*.*.* - =
- [18/Jun/2009:10:11:45 -0400] "GET /mygcx/test/flvplayernew17.flv HTT=
P/1.1" 200 2533148 "-" "-"
It would seem like re-invited in the wheel if I were to implement R=
FC 2616 in perl when there is a byterange filter already present in apache.=
=A0 Thank you for any help!
-Adrian
--001636283644799f4b046ca02579--