[nginx] Reset c->log->action on redirect to a named location.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/a6649497a762 branches: changeset: 9253:a6649497a762 user: Maxim Dounin date: Sat Apr 27 18:18:36 2024 +0300 description: Reset c->log->action on redirect to a named location. This matches what happens on internal redirects in ngx_http_handl

[nginx] HTTP/3: fixed handling of request body larger than Conte...

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/3728a0ed243a branches: changeset: 9251:3728a0ed243a user: Maxim Dounin date: Sat Apr 27 18:17:03 2024 +0300 description: HTTP/3: fixed handling of request body larger than Content-Length. Previously, 413 (Request entity too large) was retur

[nginx] Request body: provided log action for reading request body.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/cb1e214efe41 branches: changeset: 9254:cb1e214efe41 user: Maxim Dounin date: Sat Apr 27 18:19:07 2024 +0300 description: Request body: provided log action for reading request body. diffstat: src/http/ngx_http_request_body.c | 5 + s

[nginx] Proxy: use zero Content-Length while discarding request ...

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/51e0dc713784 branches: changeset: 9252:51e0dc713784 user: Maxim Dounin date: Sat Apr 27 18:18:13 2024 +0300 description: Proxy: use zero Content-Length while discarding request body. Previously, r->headers_in.content_length_n was used, whic

[nginx] Request body: simplified error handling in HTTP/2.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/c9550e77186c branches: changeset: 9258:c9550e77186c user: Maxim Dounin date: Sat Apr 27 18:21:25 2024 +0300 description: Request body: simplified error handling in HTTP/2. No functional changes. diffstat: src/http/v2/ngx_http_v2.c | 26

[nginx] Reordered checks for Content-Length and Transfer-Encoding.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/55a5a40dccde branches: changeset: 9250:55a5a40dccde user: Maxim Dounin date: Sat Apr 27 18:16:27 2024 +0300 description: Reordered checks for Content-Length and Transfer-Encoding. This ensures that r->headers_in.content_length_n is not set

[nginx] Request body: logging of timeouts.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/208a4adb82ef branches: changeset: 9255:208a4adb82ef user: Maxim Dounin date: Sat Apr 27 18:19:27 2024 +0300 description: Request body: logging of timeouts. diffstat: src/http/ngx_http_request_body.c | 4 src/http/ngx_http_upstream.

[nginx] Request body: improved debug logging.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/0748264a1278 branches: changeset: 9257:0748264a1278 user: Maxim Dounin date: Sat Apr 27 18:21:05 2024 +0300 description: Request body: improved debug logging. diffstat: src/http/ngx_http_request_body.c | 8 ++-- 1 files changed, 6 in

[nginx] Request body: block reading when returning errors.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/43fe0edddba1 branches: changeset: 9256:43fe0edddba1 user: Maxim Dounin date: Sat Apr 27 18:20:17 2024 +0300 description: Request body: block reading when returning errors. If reading is not blocked, additional client activity can result in

[nginx] Request body: handling of body after unbuffered reading.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/ac5635650bc6 branches: changeset: 9260:ac5635650bc6 user: Maxim Dounin date: Sat Apr 27 18:22:07 2024 +0300 description: Request body: handling of body after unbuffered reading. As long as unbuffered reading of the request body was used, an

[nginx] Request body: body is now cleared on errors.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/81082b5521dd branches: changeset: 9259:81082b5521dd user: Maxim Dounin date: Sat Apr 27 18:21:38 2024 +0300 description: Request body: body is now cleared on errors. Previously, after errors the request body was left in a potentially incons

[nginx] Request body: error_page 413 handling with HTTP/2 and HT...

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/f798ecafec05 branches: changeset: 9261:f798ecafec05 user: Maxim Dounin date: Sat Apr 27 18:22:38 2024 +0300 description: Request body: error_page 413 handling with HTTP/2 and HTTP/3. When the client_max_body_size limit in ngx_http_core_find

[nginx] Modified $content_length to match available request body...

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/106b3832e7ef branches: changeset: 9262:106b3832e7ef user: Maxim Dounin date: Sat Apr 27 18:23:22 2024 +0300 description: Modified $content_length to match available request body length. As long as the request body was discarded or there was

[nginx] Request body: discarded body now treated as no body.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx/rev/388a801e9bb9 branches: changeset: 9263:388a801e9bb9 user: Maxim Dounin date: Sat Apr 27 18:23:52 2024 +0300 description: Request body: discarded body now treated as no body. Notably, proxying of such requests now uses no Content-Length inst

[nginx-tests] Tests: tests for usage of discarded body.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx-tests/rev/fe6f22da53ec branches: changeset: 1961:fe6f22da53ec user: Maxim Dounin date: Sat Apr 27 18:55:50 2024 +0300 description: Tests: tests for usage of discarded body. The client_max_body_size limit should be ignored when the request body

[nginx-tests] Tests: fixed HTTP/3 build_int() for large integers.

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx-tests/rev/9877dce42a59 branches: changeset: 1959:9877dce42a59 user: Maxim Dounin date: Sat Apr 27 18:55:14 2024 +0300 description: Tests: fixed HTTP/3 build_int() for large integers. diffstat: lib/Test/Nginx/HTTP3.pm | 16 1

[nginx-tests] Tests: adjusted http_headers_multi.t for $content_...

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx-tests/rev/e44ee916b959 branches: changeset: 1960:e44ee916b959 user: Maxim Dounin date: Sat Apr 27 18:55:21 2024 +0300 description: Tests: adjusted http_headers_multi.t for $content_length changes. The $content_length variable is going to be not

[nginx-tests] Tests: fixed HTTP/3 stream offset adjustment when ...

2024-04-27 Thread Maxim Dounin
details: http://freenginx.org/hg/nginx-tests/rev/70302d2090ad branches: changeset: 1958:70302d2090ad user: Maxim Dounin date: Sat Apr 27 18:55:08 2024 +0300 description: Tests: fixed HTTP/3 stream offset adjustment when sending body. Previously, size of the body without the DATA fra