sendfileData.start = ((Long) request.getAttribute(
"org.apache.tomcat.sendfile.start")).longValue();
sendfileData.end = ((Long) request.getAttribute(
- "org.apache.tomcat.sendfile.end")).longValue() - sendfileData.pos;
+ "org.apache.tomcat.sendfile.end")).longValue();
return true;
}
return false;
<subsection name="Coyote">
<changelog>
<fix>
- Correctly handle range requests when using sendfile and the APR/native
- HTTP connector. (markt)
- </fix>
- <fix>
When parsing the port in the HTTP host header, treat the port as a base
10 integer rather than a hexadecimal one. (rjung/markt/kkolinko)
</fix>