Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync 1.12.2 #1

Merged
merged 323 commits into from
Oct 30, 2017
Merged
Changes from 1 commit
Commits
Show all changes
323 commits
Select commit Hold shift + click to select a range
98a9f80
release-1.11.8 tag
mdounin Dec 27, 2016
72060f4
Version bump.
mdocguard Jan 10, 2017
bd6d8b5
Year 2017.
mdocguard Jan 10, 2017
b580770
Stream: avoid infinite loop in case of socket read error.
vlhomutov Jan 11, 2017
b5a3cc3
Mail: make it possible to disable SASL EXTERNAL.
pluknet Jan 12, 2017
0ccbe0a
Stream: fixed handling of non-ssl sessions.
vlhomutov Jan 19, 2017
620c9a4
Stream: client SSL certificates were not checked in some cases.
vlhomutov Jan 19, 2017
660e1a5
Added cycle parameter to ngx_drain_connections().
mdounin Jan 20, 2017
c3ad24d
Improved connection draining with small number of connections.
mdounin Jan 20, 2017
7ca4b67
Fixed trailer construction with limit on FreeBSD and macOS.
mdounin Jan 20, 2017
855f4b1
Removed pthread mutex / conditional variables debug messages.
mdounin Jan 20, 2017
e66073c
Upstream: fixed cache corruption and socket leaks with aio_write.
mdounin Jan 20, 2017
a33ec3d
Updated zlib and PCRE used for win32 builds.
mdounin Jan 24, 2017
859d62f
nginx-1.11.9-RELEASE
mdounin Jan 24, 2017
9ccc7ac
release-1.11.9 tag
mdounin Jan 24, 2017
bbb82a7
Upstream: removed unused ngx_http_upstream_conf_t.timeout field.
thibaultcha Jan 25, 2017
dbb6983
Version bump.
vlhomutov Jan 26, 2017
20443ca
Upstream: removed compatibility shims from ngx_http_upstream_t.
vlhomutov Jan 25, 2017
b077851
Upstream: removed unused bl_time and bl_state fields.
mdounin Jan 26, 2017
10c43d8
Updated OpenSSL used for win32 builds.
mdounin Jan 27, 2017
7e08067
Implemented the "server_tokens build" option.
mdocguard Jan 31, 2017
897eaa9
Variables: generic prefix variables.
xeioex Jan 31, 2017
c76ccae
Configure: removed execute bit from auto/unix.
pluknet Feb 1, 2017
4abafc8
SSL: fixed ssl_buffer_size on SNI virtual hosts (ticket #1192).
mdounin Feb 2, 2017
9af7dc2
SSL: clear error queue after OPENSSL_init_ssl().
pluknet Feb 6, 2017
31a0cab
Request body: c->error on "100 Continue" errors (ticket #1194).
mdounin Feb 8, 2017
42f3dd2
Request body: commented out debug printing of old buffers.
mdounin Feb 8, 2017
da2b2cf
Cache: support for stale-while-revalidate and stale-if-error.
arut Dec 22, 2016
3e4339e
Upstream: proxy_cache_background_update and friends.
arut Feb 10, 2017
b9a0316
Slice filter: fetch slices in cloned subrequests.
arut Feb 10, 2017
5544756
Cache: increased cache header Vary and ETag lengths to 128.
mdounin Feb 10, 2017
68f4e48
Upstream: read handler cleared on upstream finalization.
mdounin Feb 10, 2017
fb5c0ba
Gzip: free chain links on the hot path (ticket #1046).
mdounin Feb 13, 2017
85f28f3
nginx-1.11.10-RELEASE
mdounin Feb 14, 2017
ec5da95
release-1.11.10 tag
mdounin Feb 14, 2017
3418a6e
Version bump.
mdounin Feb 16, 2017
b4a2393
Docs: changes.xml dates converted to ISO 8601 format.
mdounin Feb 16, 2017
3511894
Docs: changes.xslt regenerated.
mdounin Feb 16, 2017
ff16c6f
Trailing space removed.
mdounin Feb 16, 2017
6183ca9
Fixed ngx_parse_size() / ngx_parse_offset() with 0-length strings.
mdounin Feb 17, 2017
178dba3
Contrib: vim syntax, listen option and SSL/Mail protocol keywords.
othree Feb 22, 2017
56757fd
Contrib: vim syntax, update core module directives.
othree Feb 24, 2017
0f00d33
Fixed background update with "if".
mdounin Feb 27, 2017
b4e9e37
Contrib: vim syntax, update 3rd party module directives.
othree Mar 1, 2017
0759f08
Added missing static specifiers.
erankor Mar 2, 2017
0f89206
Added missing "static" specifiers found by gcc -Wtraditional.
mdocguard Mar 6, 2017
fbe9759
Mail: don't emit separator in capability lists for APOP.
pluknet Mar 6, 2017
422e0f8
Removed casts not needed after 1f513d7f1b45.
mdocguard Mar 7, 2017
fca26c2
Converted hc->busy/hc->free to use chain links.
mdounin Mar 7, 2017
c1d8318
Access log: removed dead ev->timedout check in flush timer handler.
mdounin Mar 7, 2017
0212c7f
Core: introduced ngx_rbtree_next().
mdounin Mar 7, 2017
1a58418
Cancelable timers are now preserved if there are other timers.
mdounin Mar 7, 2017
12b9974
Introduced worker_shutdown_timeout.
mdounin Mar 7, 2017
c265b11
Style.
mdounin Mar 7, 2017
b1682ec
Added missing "static" specifier found by gcc -Wtraditional.
mdocguard Mar 16, 2017
99e20ba
Configure: fixed build with --with-stream.
mdocguard Mar 16, 2017
4356701
Configure: fixed --without_http.
mdocguard Mar 16, 2017
05f5a73
Fixed a comment.
mdocguard Mar 17, 2017
55266da
Added HTTP/2 to win32 builds.
mdounin Mar 21, 2017
80c2df6
nginx-1.11.11-RELEASE
mdounin Mar 21, 2017
319649f
release-1.11.11 tag
mdounin Mar 21, 2017
a102671
Version bump.
mdocguard Mar 22, 2017
abc9d62
Unified error messages about duplicate directives.
mdocguard Mar 22, 2017
e81ad21
Simplified code about duplicate root/alias directive.
mdocguard Mar 22, 2017
ca1a505
Upstream: allow recovery from "429 Too Many Requests" response.
PiotrSikora Mar 24, 2017
d85f2f9
HTTP/2: added support for trailers in HTTP responses.
PiotrSikora Mar 24, 2017
8310d81
Headers filter: added "add_trailer" directive.
PiotrSikora Mar 24, 2017
77bac4d
Fixed CPU hog while freeing hc->busy after e662cbf1b932 (1.11.11).
mdounin Mar 24, 2017
2338d12
nginx-1.11.12-RELEASE
mdounin Mar 24, 2017
1123d5c
release-1.11.12 tag
mdounin Mar 24, 2017
d2008db
HTTP/2: fix $body_bytes_sent variable.
PiotrSikora Mar 26, 2017
f2393f8
HTTP/2: fix flow control with padded DATA frames.
PiotrSikora Mar 26, 2017
239e5ac
HTTP/2: emit PROTOCOL_ERROR on padding errors.
PiotrSikora Mar 26, 2017
3d5cebe
Version bump.
mdocguard Mar 28, 2017
65f0ad2
Use ngx_array_init() to initialize arrays.
mdocguard Mar 28, 2017
eb017e7
Core: set nginx_shared_zone name via ngx_str_set().
mdocguard Mar 28, 2017
9ad18e4
Fixed ngx_open_cached_file() error handling.
pluknet Mar 28, 2017
ff33d9f
Simplified and improved sendfile() code on Linux.
mdounin Mar 28, 2017
a450865
Threads: fixed request hang with aio_write and subrequests.
mdounin Mar 28, 2017
1f76260
Copy filter: wake up subrequests after aio operations.
mdounin Mar 28, 2017
1506e43
HTTP/2: fix $bytes_sent variable.
PiotrSikora Mar 26, 2017
e825598
HTTP/2: fixed stream finalization.
VBart Mar 29, 2017
0a5e969
HTTP/2: fixed connection finalization.
VBart Mar 29, 2017
679bd07
HTTP/2: style and typos.
PiotrSikora Mar 26, 2017
c31239f
Slice filter: prevented slice redirection (ticket #1219).
arut Mar 31, 2017
fae6878
Limit req: fixed delaying subrequests.
mdounin Apr 2, 2017
96e4e84
Perl: fixed delaying subrequests.
mdounin Apr 2, 2017
5d5f0dc
Moved handling of wev->delayed to the connection event handler.
mdounin Apr 2, 2017
8c9a662
Slice filter: allowed at most one subrequest at a time.
arut Mar 28, 2017
9ac9fe2
Fixed type.
iphucc Apr 3, 2017
c3ce606
Added support for "429 Too Many Requests" response (RFC6585).
PiotrSikora Mar 24, 2017
a965e1d
Mail: configurable socket buffer sizes.
vlhomutov Apr 3, 2017
3290884
nginx-1.11.13-RELEASE
mdounin Apr 4, 2017
becdcae
release-1.11.13 tag
mdounin Apr 4, 2017
8ee2de5
Added support for the "308 Permanent Redirect" (ticket #877).
leblanc-simon Apr 11, 2017
f947167
Version bump.
mdocguard Apr 12, 2017
cac3617
Use ngx_calloc_buf() where appropriate.
mdocguard Apr 12, 2017
97cb303
Core: improved JSON escaping.
VBart Apr 12, 2017
9f7b557
Stream: configurable socket buffer sizes.
vlhomutov Apr 3, 2017
97210c7
Enabled IPV6_RECVPKTINFO / IPV6_PKTINFO on macOS.
pluknet Apr 17, 2017
62b20ce
Core: removed extra ngx_alloc() and ngx_calloc() prototypes.
pluknet Apr 18, 2017
05841ad
Set UDP datagram source address (ticket #1239).
arut Apr 11, 2017
9a37eb3
SSL: added support for TLSv1.3 in ssl_protocols directive.
pluknet Apr 18, 2017
36be793
SSL: disabled renegotiation detection in client mode.
pluknet Apr 18, 2017
e8c579a
SSL: compatibility with OpenSSL master branch.
pluknet Apr 18, 2017
cb7427d
Sub filter: restored ngx_http_set_ctx() at the proper place.
pluknet Apr 18, 2017
30e26a8
Core: signal sender pid logging.
igorsysoev Apr 20, 2017
9ecf842
Cleaned up r->headers_out.headers allocation error handling.
pluknet Apr 20, 2017
beaaeb9
Gzip static: use an appropriate error on memory allocation failure.
pluknet Apr 20, 2017
d35c83a
HTTP/2: rejecting zero WINDOW_UPDATE with PROTOCOL_ERROR.
VBart Apr 24, 2017
55b37ef
HTTP/2: reduced difference to HTTP/1.x in reading request body.
VBart Apr 24, 2017
0cb7be3
nginx-1.13.0-RELEASE
mdounin Apr 25, 2017
47835ea
release-1.13.0 tag
mdounin Apr 25, 2017
53e63ff
Version bump.
mdocguard Apr 25, 2017
8ae2bc9
Don't pretend we support HTTP major versions >1 as HTTP/1.1.
mdocguard Apr 25, 2017
8449f75
Added missing "fall through" comments (ticket #1259).
mdounin Apr 27, 2017
9961198
SSL: allowed renegotiation in client mode with OpenSSL < 1.1.0.
pluknet May 3, 2017
b313bc4
Access: simplified rule parser code.
mdocguard May 15, 2017
a464d07
Realip: allow hostnames in set_real_ip_from (ticket #1180).
mdocguard May 15, 2017
e172576
Configure: style.
mdounin May 15, 2017
38e87ea
Configure: disabled gcc atomics with Sun C (ticket #1261).
mdounin May 15, 2017
84fdff7
Configure: recent Sun C versions.
mdounin May 15, 2017
9359155
Upstream: fixed u->headers_in.headers allocation error handling.
pluknet May 18, 2017
c6df6bf
Cache: ignore long locked entries during forced expire.
xeioex May 18, 2017
bfe36ba
Contrib: proper syntax parsing in vim syntax highlighting.
mdounin May 22, 2017
cce3934
HTTP/2: fixed segfault when memory allocation failed.
VBart May 23, 2017
c83922b
Fixed deferred accept with EPOLLRDHUP enabled (ticket #1278).
arut May 24, 2017
8644d94
Background subrequests for cache updates.
arut May 25, 2017
b66c18d
Introduced ngx_tcp_nodelay().
mdocguard May 26, 2017
2db69fe
SSL: set TCP_NODELAY on SSL connections before handshake.
mdounin May 29, 2017
0514e14
Style: changed checks of ngx_ssl_create_connection() to != NGX_OK.
mdounin May 29, 2017
529ce10
Configure: sched_setaffinity() test moved to auto/unix.
mdounin May 29, 2017
d1d48ed
Fixed background requests with asynchronous operations.
arut May 29, 2017
6cfbb1c
Updated OpenSSL used for win32 builds.
mdounin May 30, 2017
b84e8f7
nginx-1.13.1-RELEASE
mdounin May 30, 2017
8bdbeac
release-1.13.1 tag
mdounin May 30, 2017
92cc305
Version bump.
VBart May 30, 2017
95955b7
HTTP/2: add debug logging of pseudo-headers and cookies.
PiotrSikora May 30, 2017
7820e56
Headers filter: style.
PiotrSikora May 31, 2017
a9908c9
Upstream: style.
PiotrSikora May 31, 2017
62a95ac
Style.
mdounin Jun 1, 2017
3259595
Configure: disabled IP_PKTINFO feature on certain platforms.
arut Jun 1, 2017
f0b0003
Configure: enabled rpath for NetBSD.
pluknet Jun 2, 2017
6cfc65c
HTTP/2: emit new frames only after applying all SETTINGS params.
PiotrSikora Jun 2, 2017
1429139
HTTP/2: send SETTINGS ACK after applying all SETTINGS params.
PiotrSikora Jun 2, 2017
ca53600
HTTP/2: make SETTINGS ACK frame reusable.
PiotrSikora Jun 2, 2017
51a4a41
HTTP/2: don't send SETTINGS ACK before already queued DATA frames.
PiotrSikora Jun 2, 2017
90727eb
Configure: use .exe for binaries for all win32 compilers.
orgads Jun 6, 2017
dec513d
SSI: return NGX_ERROR when timefmt memory allocation failed.
pluknet Jun 7, 2017
b0de3d7
Fixed segfault in try_files with nested location.
pluknet Jun 7, 2017
aa04b09
Userid: ngx_http_get_indexed_variable() error handling.
pluknet Jun 7, 2017
13f49b0
HTTP/2: reject HTTP/2 requests without ":scheme" pseudo-header.
PiotrSikora Jun 13, 2017
884b762
Configure: fix compilation on MSYS2 / MinGW64.
orgads Jun 6, 2017
731d1fe
Removed excessive casts for ngx_file_info().
mdocguard Jun 14, 2017
fa0992e
Gzip: fixed style in $gzip_ratio variable handler.
mdocguard Jun 14, 2017
cfdce50
Added support for trailers in HTTP responses.
PiotrSikora Mar 24, 2017
efa61f4
Upstream: fixed running posted requests (ticket #788).
arut Jun 14, 2017
3f26c20
Added memory barrier semantics to ngx_rwlock_unlock().
mdocguard Jun 16, 2017
6a4a1f0
Introduced ngx_rwlock_downgrade().
mdocguard Jun 16, 2017
b0b24e8
Resolver: fixed allocation error handling while resolving SRV.
bartw72 Jun 19, 2017
439e205
Resolver: added the "async" flag to resolver context.
arut Jun 14, 2017
6433c84
Upstream: introduced ngx_http_upstream_ssl_handshake_handler().
mdounin Jun 22, 2017
774f179
Range filter: allowed ranges on empty files (ticket #1031).
mdounin Jun 26, 2017
2b6b360
nginx-1.13.2-RELEASE
mdounin Jun 27, 2017
95dcba6
release-1.13.2 tag
mdounin Jun 27, 2017
3057fca
Version bump.
mdounin Jul 3, 2017
32e3d0e
Proxy: split configured header names and values.
PiotrSikora Mar 15, 2017
7570718
Resolver: fixed possible use-after-free while resolving SRV.
arut Jul 4, 2017
75c3f89
Slab: style.
mdocguard Jul 4, 2017
d0071f0
Slab: fixed small allocations on systems with large pagesize.
mdocguard Jul 4, 2017
225a5c7
Resolver: factored out setting a timer for resolver timeout.
pluknet Jul 4, 2017
6330817
Resolver: cancelable resend timer event.
mdocguard Jul 4, 2017
a54e319
Variables: use ngx_http_variable_null_value where appropriate.
mdocguard Jul 7, 2017
92111c9
Range filter: protect from total size overflows.
mdounin Jul 11, 2017
d289616
Range filter: avoid negative range start.
mdounin Jul 11, 2017
6454225
nginx-1.13.3-RELEASE
mdounin Jul 11, 2017
2ab1157
release-1.13.3 tag
mdounin Jul 11, 2017
5a5e740
Version bump.
mdounin Jul 11, 2017
da165aa
Core: disabled SO_REUSEPORT when testing config (ticket #1300).
mdounin Jul 11, 2017
bedd9c5
Core: fixed error message on setsockopt(SO_REUSEPORT) failure.
mdounin Jul 11, 2017
7b06d9c
Style: aligned ngx_null_command.
mdocguard Jul 12, 2017
9197a3c
Parenthesized ASCII-related calculations.
VBart Jul 17, 2017
82aa895
Configure: fixed PCRE requirement check by ngx_http_rewrite_module.
tSed Jul 19, 2017
2c8f93d
Style.
tokers Jul 19, 2017
a87e05a
Upstream: keep request body file from removal if requested.
arut Jul 19, 2017
129b06d
Precontent phase.
arut Jul 20, 2017
3900d1c
Mirror module.
arut Jul 20, 2017
fb18ba2
Mirror: "off" paramater of the "mirror" directive.
arut Jul 21, 2017
9edd64f
SSL: fixed typo in the error message.
pluknet Jul 25, 2017
aa953f5
Cache: fixed max_size on win32.
mdocguard Jul 26, 2017
83be971
Browser: style.
mdocguard Aug 1, 2017
b992f72
Variables: macros for null variables.
mdocguard Aug 1, 2017
d846f27
Upstream zone: store peers->name and its data in shared memory.
mdocguard Aug 1, 2017
c09bba4
Referer: fixed $invalid_referer.
mdocguard Aug 4, 2017
c9a81b2
Upstream: copy peer data in shared memory.
mdocguard Aug 4, 2017
5f628fe
Slab: fixed initialization on win32.
mdocguard Aug 8, 2017
3226fa8
Updated PCRE used for win32 builds.
mdounin Aug 8, 2017
c556874
nginx-1.13.4-RELEASE
mdounin Aug 8, 2017
0d9d858
release-1.13.4 tag
mdounin Aug 8, 2017
c7c13a2
Version bump.
pluknet Aug 9, 2017
32c7bd5
Style.
pluknet Aug 9, 2017
b986b43
Fixed calls to ngx_open_file() in certain places.
pluknet Aug 9, 2017
0f841fc
Style.
mdounin Aug 10, 2017
dd5ab4a
Restored ngx_event_aio_t layout for debug logging.
mdounin Aug 10, 2017
008e9ca
Range filter: changed type for total length to off_t.
mdounin Aug 10, 2017
50a0f25
SSL: the $ssl_client_escaped_cert variable (ticket #857).
mdounin Aug 22, 2017
ed0cc4d
SSL: fixed possible use-after-free in $ssl_server_name.
mdounin Aug 22, 2017
6a2e409
Upstream: unconditional parsing of last_modified_time.
mdounin Aug 23, 2017
418124e
Secure link: fixed stack buffer overflow.
arut Aug 22, 2017
9963721
nginx-1.13.5-RELEASE
mdounin Sep 5, 2017
b29759c
release-1.13.5 tag
mdounin Sep 5, 2017
13e29a6
Version bump.
arut Sep 11, 2017
15f81e0
Stream: relaxed next upstream condition (ticket #1317).
arut Sep 11, 2017
0360bf2
Trailing space removed.
mdounin Sep 11, 2017
63f5d46
HTTP/2: signal 0-byte HPACK's dynamic table size.
PiotrSikora Aug 30, 2017
5590177
Style.
mdounin Sep 13, 2017
53bea39
Fixed reference to time parsing code after 8b6fa4842133.
mdounin Sep 13, 2017
0206ebe
Fixed ngx_gmtime() on 32-bit platforms with 64-bit time_t.
mdounin Sep 13, 2017
b900cc2
Introduced time truncation to December 31, 9999 (ticket #1368).
mdounin Sep 13, 2017
c36a3c0
Stream: fixed logging UDP upstream timeout.
arut Sep 12, 2017
8f6c530
HTTP/2: added logging of 400 (Bad Request) reasons.
mdounin Sep 14, 2017
fc15751
HTTP/2: fixed debug log about indexed headers.
mdounin Sep 14, 2017
99cc4c7
HTTP/2: shortened some debug log messages.
mdounin Sep 14, 2017
05e87e1
Removed more remnants of the old pthread implementation.
mdocguard Sep 18, 2017
0cda728
Do not use the obsolete NGX_SOCKADDRLEN macro.
mdocguard Sep 22, 2017
ccd7e10
Style.
mdocguard Sep 22, 2017
e7738ce
Modules compatibility: down flag promoted to a bitmask.
mdocguard Sep 22, 2017
316a349
Fixed the NGX_UNIX_ADDRSTRLEN macro.
mdocguard Sep 25, 2017
c857edc
MIME: style.
mdounin Oct 2, 2017
e22f5b7
MIME: added most common OpenDocument types.
mdounin Oct 2, 2017
105dd42
Upstream: better handling of invalid headers in cache files.
mdounin Oct 2, 2017
d07d598
Cache: fixed caching of intercepted errors (ticket #1382).
mdounin Oct 3, 2017
328bfbe
HTTP/2: enforce writing the sync request body buffer to file.
VBart Oct 4, 2017
2e1e65a
Fixed buffer overread with unix sockets after accept().
mdounin Oct 4, 2017
cba23f8
Fixed handling of non-null-terminated unix sockets.
mdounin Oct 4, 2017
41d8ea8
Fixed handling of unix sockets in $binary_remote_addr.
mdounin Oct 4, 2017
3a2ca34
Fixed build without IPv6, broken by 874171c3c71a.
mdounin Oct 5, 2017
a10ec2d
Upstream hash: limited number of tries in consistent case.
mdounin Oct 5, 2017
53d655f
Upstream hash: reordered peer checks.
mdounin Oct 5, 2017
0737e6d
Upstream: even better handling of invalid headers in cache files.
mdounin Oct 9, 2017
661e408
Upstream: fixed error handling of stale and revalidated cache send.
pluknet Oct 9, 2017
66ca1d7
nginx-1.13.6-RELEASE
mdounin Oct 10, 2017
a8581a4
release-1.13.6 tag
mdounin Oct 10, 2017
211d20a
Version bump.
mdocguard Oct 11, 2017
f1be23b
Upstream: fixed $upstream_status when upstream returns 503/504.
mdocguard Oct 11, 2017
80f2e8f
Upstream: disabled upgrading in subrequests.
arut Oct 11, 2017
5fee8f7
SSL: include <openssl/hmac.h>.
ghedo Oct 11, 2017
77c7875
Fixed type of ngx_conf_t.handler_conf.
mdocguard Oct 12, 2017
fdbf551
Postpone filter: handled ngx_http_postpone_filter_add() failures.
pluknet Oct 16, 2017
9cb9ce7
Core: free shared memory zones only after reconfiguration.
mdounin Oct 17, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
HTTP/2: reject HTTP/2 requests without ":scheme" pseudo-header.
Signed-off-by: Piotr Sikora <piotrsikora@google.com>
  • Loading branch information
PiotrSikora committed Jun 13, 2017
commit 13f49b0013d7a01421925ba7e86624eae8fcf2e7
1 change: 1 addition & 0 deletions src/http/v2/ngx_http_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -3332,6 +3332,7 @@ ngx_http_v2_construct_request_line(ngx_http_request_t *r)
static const u_char ending[] = " HTTP/2.0";

if (r->method_name.len == 0
|| r->schema_start == NULL
|| r->unparsed_uri.len == 0)
{
ngx_http_finalize_request(r, NGX_HTTP_BAD_REQUEST);
Expand Down