lp:~titusx/nginx/mainline

Created by TitusX on 2014-05-03 and last modified on 2019-05-21
Get this branch:
bzr branch lp:~titusx/nginx/mainline

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
TitusX
Project:
Nginx
Status:
Mature

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at https://github.com/nginx/nginx.git.

The next import is scheduled to run in 4 hours.

Last successful import was 1 hour ago.

Import started 1 hour ago on izar and finished 1 hour ago taking 20 seconds — see the log
Import started 7 hours ago on alnitak and finished 7 hours ago taking 25 seconds — see the log
Import started 13 hours ago on alnitak and finished 13 hours ago taking 25 seconds — see the log
Import started 19 hours ago on alnitak and finished 19 hours ago taking 25 seconds — see the log
Import started on 2019-05-23 on alnitak and finished on 2019-05-23 taking 20 seconds — see the log
Import started on 2019-05-23 on alnitak and finished on 2019-05-23 taking 25 seconds — see the log
Import started on 2019-05-23 on alnitak and finished on 2019-05-23 taking 25 seconds — see the log
Import started on 2019-05-22 on alnitak and finished on 2019-05-22 taking 25 seconds — see the log
Import started on 2019-05-22 on alnitak and finished on 2019-05-22 taking 20 seconds — see the log
Import started on 2019-05-22 on izar and finished on 2019-05-22 taking 20 seconds — see the log

Recent revisions

6561. By Maxim Dounin <email address hidden> on 2019-05-21

release-1.17.0 tag

6560. By Maxim Dounin <email address hidden> on 2019-05-21

nginx-1.17.0-RELEASE

6559. By Sergey Kandaurov <email address hidden> on 2016-04-11

SSL: removed OpenSSL 0.9.7 compatibility.

6558. By Maxim Dounin <email address hidden> on 2019-05-13

Range filter: fixed duplicate last buffers.

In ngx_http_range_singlepart_body() special buffers where passed
unmodified, including ones after the end of the range. As such,
if the last buffer of a response was sent separately as a special
buffer, two buffers with b->last_buf set were present in the response.

In particular, this might result in a duplicate final chunk when using
chunked transfer encoding (normally range filter and chunked transfer
encoding are not used together, but this may happen if there are trailers
in the response). This also likely to cause problems in HTTP/2.

Fix is to skip all special buffers after we've sent the last part of
the range requested. These special buffers are not meaningful anyway,
since we set b->last_buf in the buffer with the last part of the range,
and everything is expected to be flushed due to it.

Additionally, ngx_http_next_body_filter() is now called even
if no buffers are to be passed to it. This ensures that various
write events are properly propagated through the filter chain. In
particular, this fixes test failures observed with the above change
and aio enabled.

6557. By Maxim Dounin <email address hidden> on 2019-05-13

Range filter: fixed loss of incoming chain links.

Filters are not allowed to change incoming chain links, and should allocate
their own links if any modifications are needed. Nevertheless
ngx_http_range_singlepart_body() modified incoming chain links in some
cases, notably at the end of the requested range.

No problems caused by this are currently known, mostly because of
limited number of possible modifications and the position of the range
body filter in the filter chain. Though this behaviour is clearly incorrect
and tests demonstrate that it can at least cause some proxy buffers being
lost when using proxy_force_ranges, leading to less effective handling
of responses.

Fix is to always allocate new chain links in ngx_http_range_singlepart_body().
Links are explicitly freed to ensure constant memory usage with long-lived
requests.

6556. By Roman Arutyunyan <email address hidden> on 2019-05-08

Unconditional compilation of the postpone filter.

Postpone filter is an essential part of subrequest functionality. In absence
of it a subrequest response body is sent to the client out of order with
respect to the main request header and body, as well as other subrequests.
For in-memory subrequests the response is also sent to the client instead of
being stored in memory.

Currently the postpone filter is automatically enabled if one of the following
standard modules which are known to create subrequests is enabled: ssi, slice,
addition. However a third-party module that creates subrequests can still be
built without the postpone filter or be dynamically loaded in nginx built
without it.

6555. By Ruslan Ermilov <email address hidden> on 2019-04-24

Variables support in proxy_upload_rate and proxy_download_rate.

6554. By Ruslan Ermilov <email address hidden> on 2019-04-24

Variables support in limit_rate and limit_rate_after (ticket #293).

6553. By Ruslan Ermilov <email address hidden> on 2019-04-24

Added ngx_http_set_complex_value_size_slot().

If a complex value is expected to be of type size_t, and the compiled
value is constant, the constant size_t value is remembered at compile
time.

The value is accessed through ngx_http_complex_value_size() which
either returns the remembered constant or evaluates the expression
and parses it as size_t.

6552. By Vladimir Homutov <email address hidden> on 2019-04-09

Core: enabled "include" in any context (ticket #1615).

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers