The official NGINX Open Source repository.
Go to file
Maxim Dounin 008e9caa2a Range filter: changed type for total length to off_t.
Total length of a response with multiple ranges can be larger than a size_t
variable can hold, so type changed to off_t.  Previously, an incorrect
Content-Length was returned when requesting more than 4G of ranges from
a large enough file on a 32-bit system.

An additional size_t variable introduced to calculate size of the boundary
header buffer, as off_t is not needed here and will require type casts on
win32.

Reported by Shuxin Yang,
http://mailman.nginx.org/pipermail/nginx/2017-July/054384.html.
2017-08-10 22:21:23 +03:00
auto Mirror module. 2017-07-20 08:50:49 +03:00
conf Added the REQUEST_SCHEME parameter. 2015-06-05 22:23:26 +03:00
contrib Contrib: proper syntax parsing in vim syntax highlighting. 2017-05-22 16:34:47 +03:00
docs nginx-1.13.4-RELEASE 2017-08-08 18:00:11 +03:00
misc Updated PCRE used for win32 builds. 2017-08-08 15:21:10 +03:00
src Range filter: changed type for total length to off_t. 2017-08-10 22:21:23 +03:00
.hgtags release-1.13.4 tag 2017-08-08 18:00:11 +03:00