nginx/src
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
..
core Style. 2017-08-10 22:21:20 +03:00
event Restored ngx_event_aio_t layout for debug logging. 2017-08-10 22:21:22 +03:00
http Range filter: changed type for total length to off_t. 2017-08-10 22:21:23 +03:00
mail Style: changed checks of ngx_ssl_create_connection() to != NGX_OK. 2017-05-29 16:34:35 +03:00
misc Style: aligned ngx_null_command. 2017-07-12 11:34:04 +03:00
os Style. 2017-08-09 14:59:46 +03:00
stream Fixed calls to ngx_open_file() in certain places. 2017-08-09 15:03:27 +03:00