[njs] Improved UTF-8 offset map related macros (no functional ch...

2016-11-10 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/187882f1895a branches: changeset: 249:187882f1895a user: Valentin Bartenev <vb...@nginx.com> date: Thu Nov 10 18:45:10 2016 +0300 description: Improved UTF-8 offset map related macros (no functional changes). diffstat: njs/njs_parser.c

[njs] Removed misused __attribute__((malloc)).

2016-11-10 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/60c2930eb951 branches: changeset: 248:60c2930eb951 user: Valentin Bartenev <vb...@nginx.com> date: Thu Nov 10 16:47:52 2016 +0300 description: Removed misused __attribute__((malloc)). According to the documentation: | This tells the co

[njs] Fixed building on Solaris after d8b1e2576409.

2016-11-10 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/9f6d26f5f99b branches: changeset: 247:9f6d26f5f99b user: Valentin Bartenev <vb...@nginx.com> date: Thu Nov 10 16:19:13 2016 +0300 description: Fixed building on Solaris after d8b1e2576409. diffstat: nxt/auto/memalign | 2 +- 1 files chan

[njs] Fixed building with GCC ASan.

2016-11-10 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/d8b1e2576409 branches: changeset: 246:d8b1e2576409 user: Valentin Bartenev <vb...@nginx.com> date: Thu Nov 10 15:33:02 2016 +0300 description: Fixed building with GCC ASan. diffstat: nxt/auto/memalign | 9 - 1 files chan

[njs] String.startsWith() and String.endsWith() methods.

2016-11-09 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/cfd1e7ae9a07 branches: changeset: 242:cfd1e7ae9a07 user: Valentin Bartenev <vb...@nginx.com> date: Wed Nov 09 12:37:59 2016 +0300 description: String.startsWith() and String.endsWith() methods. diffstat: njs/njs_string.c

[njs] Various Number constants.

2016-11-06 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/8722dc4bdeb4 branches: changeset: 240:8722dc4bdeb4 user: Valentin Bartenev <vb...@nginx.com> date: Sun Nov 06 16:03:03 2016 +0300 description: Various Number constants. diffstat: njs/njs_number.c

[njs] Various Number methods.

2016-11-06 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/ad4b6e0b5014 branches: changeset: 241:ad4b6e0b5014 user: Valentin Bartenev <vb...@nginx.com> date: Sun Nov 06 16:03:29 2016 +0300 description: Various Number methods. diffstat: njs/njs_builtin.c|2 +- njs/njs_number.c

[njs] Removed redefinition of NAN and INFINITY macros.

2016-11-04 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/bcd4910c5be9 branches: changeset: 237:bcd4910c5be9 user: Valentin Bartenev <vb...@nginx.com> date: Fri Nov 04 18:25:55 2016 +0300 description: Removed redefinition of NAN and INFINITY macros. diffstat: njs/njs_builtin.c | 2 +

[njs] More precise Math constants.

2016-11-04 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/a713275dc4cb branches: changeset: 236:a713275dc4cb user: Valentin Bartenev <vb...@nginx.com> date: Fri Nov 04 18:25:55 2016 +0300 description: More precise Math constants. diffstat: njs/njs_math.c | 16 1 files chan

[nginx] HTTP/2: limited maximum number of requests in connection.

2016-10-31 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9027991e2f37 branches: changeset: 6783:9027991e2f37 user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 31 16:33:02 2016 +0300 description: HTTP/2: limited maximum number of requests in connection. The new directive "http2_m

[njs] Math.sign() method.

2016-10-31 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/d7a10c0dfcce branches: changeset: 233:d7a10c0dfcce user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 31 16:28:12 2016 +0300 description: Math.sign() method. diffstat: njs/njs_math.c | 31 ++

[njs] Math.trunc() method.

2016-10-31 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/1f68ffabcea9 branches: changeset: 232:1f68ffabcea9 user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 31 16:25:54 2016 +0300 description: Math.trunc() method. diffstat: njs/njs_math.c | 27 +++ nj

[njs] String.prototype.repeat() method.

2016-10-28 Thread Valentin Bartenev
details: http://hg.nginx.org/njs/rev/2cc08001fc78 branches: changeset: 227:2cc08001fc78 user: Valentin Bartenev <vb...@nginx.com> date: Fri Oct 28 14:20:23 2016 +0300 description: String.prototype.repeat() method. diffstat: njs/njs_string.c

[nginx] Image filter: support for WebP.

2016-10-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/e4b00a021cea branches: changeset: 6779:e4b00a021cea user: Valentin Bartenev <vb...@nginx.com> date: Fri Oct 21 15:18:44 2016 +0300 description: Image filter: support for WebP. In collaboration with Ivan Poluyanov. diffstat: auto/lib

[nginx] HTTP/2: graceful shutdown of active connections (closes #1106).

2016-10-20 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/5e95b9fb33b7 branches: changeset: 6778:5e95b9fb33b7 user: Valentin Bartenev <vb...@nginx.com> date: Thu Oct 20 16:15:03 2016 +0300 description: HTTP/2: graceful shutdown of active connections (closes #1106). Previously, while shuttin

[nginx] SSL: overcame possible buffer over-read in ngx_ssl_error().

2016-10-18 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/8081e1f3ab8b branches: changeset: 6775:8081e1f3ab8b user: Valentin Bartenev <vb...@nginx.com> date: Tue Oct 18 20:46:06 2016 +0300 description: SSL: overcame possible buffer over-read in ngx_ssl_error(). It appeared that ERR_error_st

[nginx] Fixed log levels of configuration parsing errors.

2016-09-20 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9cf2dce316e5 branches: changeset: 6699:9cf2dce316e5 user: Valentin Bartenev <vb...@nginx.com> date: Tue Sep 20 15:07:16 2016 +0300 description: Fixed log levels of configuration parsing errors. All the errors that prevent loading configu

[nginx] Geo: fixed access to already freed memory.

2016-08-18 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/873d7053efb9 branches: changeset: 6655:873d7053efb9 user: Valentin Bartenev <vb...@nginx.com> date: Thu Aug 18 17:11:03 2016 +0300 description: Geo: fixed access to already freed memory. Previously, in "ranges" mode when all a

[nginx] HTTP/2: flushing of the SSL buffer in transition to the idle state.

2016-07-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/72282dd5884e branches: changeset: 6642:72282dd5884e user: Valentin Bartenev <vb...@nginx.com> date: Tue Jul 19 20:34:17 2016 +0300 description: HTTP/2: flushing of the SSL buffer in transition to the idle state. It fixes potential conn

[nginx] HTTP/2: fixed send timer handling.

2016-07-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/e78eca6bfaf0 branches: changeset: 6640:e78eca6bfaf0 user: Valentin Bartenev <vb...@nginx.com> date: Tue Jul 19 20:31:09 2016 +0300 description: HTTP/2: fixed send timer handling. Checking for return value of c->send_chain() isn't s

[nginx] HTTP/2: refactored ngx_http_v2_send_output_queue().

2016-07-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b5d1c17181ca branches: changeset: 6641:b5d1c17181ca user: Valentin Bartenev <vb...@nginx.com> date: Tue Jul 19 20:34:02 2016 +0300 description: HTTP/2: refactored ngx_http_v2_send_output_queue(). Now it returns NGX_AGAIN if there's stil

[nginx] HTTP/2: avoid sending output queue if there's nothing to send.

2016-07-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/82efcedb310b branches: changeset: 6639:82efcedb310b user: Valentin Bartenev <vb...@nginx.com> date: Tue Jul 19 20:30:21 2016 +0300 description: HTTP/2: avoid sending output queue if there's nothing to send. Particularly this fixes alerts

[nginx] HTTP/2: always handle streams in error state.

2016-07-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/a2b310a8b2af branches: changeset: 6638:a2b310a8b2af user: Valentin Bartenev <vb...@nginx.com> date: Tue Jul 19 20:22:44 2016 +0300 description: HTTP/2: always handle streams in error state. Previously, a stream could be closed by t

[nginx] HTTP/2: always send GOAWAY while worker is shutting down.

2016-07-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ea284434db0f branches: changeset: 6636:ea284434db0f user: Valentin Bartenev <vb...@nginx.com> date: Tue Jul 19 20:22:44 2016 +0300 description: HTTP/2: always send GOAWAY while worker is shutting down. Previously, if the worker process

[nginx] HTTP/2: prevented output of the HEADERS frame for canceled streams.

2016-07-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/699e409a3e0c branches: changeset: 6637:699e409a3e0c user: Valentin Bartenev <vb...@nginx.com> date: Tue Jul 19 20:22:44 2016 +0300 description: HTTP/2: prevented output of the HEADERS frame for canceled streams. It's useless to generate H

[nginx] Events: support for EPOLLEXCLUSIVE.

2016-07-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/6acaa638fa07 branches: changeset: 6635:6acaa638fa07 user: Valentin Bartenev <vb...@nginx.com> date: Fri Jul 15 15:18:57 2016 +0300 description: Events: support for EPOLLEXCLUSIVE. This flag appeared in Linux 4.5 and is useful for av

[nginx] Style: sorted epoll flags.

2016-07-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/18f6120e3b7a branches: changeset: 6634:18f6120e3b7a user: Valentin Bartenev <vb...@nginx.com> date: Fri Jul 15 15:18:57 2016 +0300 description: Style: sorted epoll flags. diffstat: src/event/modules/ngx_epoll_module.c | 6 +++--- 1

[nginx] Events: the "accept_mutex" directive is turned off by default.

2016-07-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/d82b3c344e7e branches: changeset: 6633:d82b3c344e7e user: Valentin Bartenev <vb...@nginx.com> date: Fri Jul 15 15:18:57 2016 +0300 description: Events: the "accept_mutex" directive is turned off by default. Now it is believed

[nginx] HTTP/2: style.

2016-06-23 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/6f69e3c0f780 branches: changeset: 6600:6f69e3c0f780 user: Piotr Sikora date: Wed Jun 22 13:47:54 2016 -0700 description: HTTP/2: style. Signed-off-by: Piotr Sikora diffstat:

[nginx] HTTP/2: fixed the "http request count is zero" alert.

2016-06-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/d375f4210e41 branches: changeset: 6590:d375f4210e41 user: Valentin Bartenev <vb...@nginx.com> date: Thu Jun 16 20:55:11 2016 +0300 description: HTTP/2: fixed the "http request count is zero" alert. When the stream is termin

[nginx] HTTP/2: avoid adding Content-Length for requests without body.

2016-06-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/78533a74af11 branches: changeset: 6589:78533a74af11 user: Valentin Bartenev <vb...@nginx.com> date: Thu Jun 16 20:55:11 2016 +0300 description: HTTP/2: avoid adding Content-Length for requests without body. There is no reason

[nginx] HTTP/2: prevented double termination of a stream.

2016-06-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/dc5eaf998b96 branches: changeset: 6588:dc5eaf998b96 user: Valentin Bartenev <vb...@nginx.com> date: Thu Jun 16 20:55:11 2016 +0300 description: HTTP/2: prevented double termination of a stream. According to RFC 7540, an endpoint should no

[nginx] HTTP/2: unbreak build on MSVC.

2016-05-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/bc6fd7afeed6 branches: changeset: 6572:bc6fd7afeed6 user: Valentin Bartenev <vb...@nginx.com> date: Tue May 24 21:54:32 2016 +0300 description: HTTP/2: unbreak build on MSVC. diffstat: src/http/v2/ngx_http_v2.c | 2 +- 1 files chan

[nginx] HTTP/2: the "421 Misdirected Request" response (closes #848).

2016-05-20 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/654d2dae97d3 branches: changeset: 6556:654d2dae97d3 user: Valentin Bartenev <vb...@nginx.com> date: Fri May 20 18:41:17 2016 +0300 description: HTTP/2: the "421 Misdirected Request" response (closes #848). Since 4fbef397c7

[nginx] Fixed an error log message about epoll_wait() timeout.

2016-05-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/3ad1064a3aae branches: changeset: 6537:3ad1064a3aae user: Valentin Bartenev <vb...@nginx.com> date: Mon May 16 16:22:34 2016 +0300 description: Fixed an error log message about epoll_wait() timeout. The errno value is unset i

[nginx] Removed a surplus condition from ngx_parse_inet6_url().

2016-05-11 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/19a54ba76c04 branches: changeset: 6534:19a54ba76c04 user: Ruslan Ermilov date: Wed May 11 17:55:30 2016 +0300 description: Removed a surplus condition from ngx_parse_inet6_url(). No functional changes, since the condition was

[nginx] Core: fixed port handling in ngx_parse_inet6_url().

2016-05-11 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b358d670c654 branches: changeset: 6533:b358d670c654 user: Valentin Bartenev <vb...@nginx.com> date: Wed May 11 17:55:20 2016 +0300 description: Core: fixed port handling in ngx_parse_inet6_url(). This fixes buffer over-read when n

[nginx] HTTP/2: send the output queue after emitting WINDOW_UPDATE.

2016-04-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9070ba416284 branches: changeset: 6520:9070ba416284 user: Valentin Bartenev <vb...@nginx.com> date: Tue Apr 19 17:38:49 2016 +0300 description: HTTP/2: send the output queue after emitting WINDOW_UPDATE. The WINDOW_UPDATE frame could b

[nginx] HTTP/2: skip data frames in case of internal errors.

2016-04-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9ac934dd5dd8 branches: changeset: 6519:9ac934dd5dd8 user: Valentin Bartenev <vb...@nginx.com> date: Tue Apr 19 17:38:49 2016 +0300 description: HTTP/2: skip data frames in case of internal errors. This prevents possible proc

[nginx] HTTP/2: don't send WINDOW_UPDATE for an empty request body.

2016-04-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/7760b54d5458 branches: changeset: 6518:7760b54d5458 user: Valentin Bartenev <vb...@nginx.com> date: Tue Apr 19 17:38:49 2016 +0300 description: HTTP/2: don't send WINDOW_UPDATE for an empty request body. Particularly this prevents s

[nginx] HTTP/2: deduplicated some code in ngx_http_v2_state_headers().

2016-04-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/80ba82ed branches: changeset: 6513:80ba82ed user: Valentin Bartenev <vb...@nginx.com> date: Thu Apr 14 15:14:15 2016 +0300 description: HTTP/2: deduplicated some code in ngx_http_v2_state_headers(). No functional changes. di

[nginx] FastCGI: skip special bufs in buffered request body chain.

2016-04-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b5734248d5e7 branches: changeset: 6512:b5734248d5e7 user: Valentin Bartenev <vb...@nginx.com> date: Mon Apr 11 18:42:34 2016 +0300 description: FastCGI: skip special bufs in buffered request body chain. This prevents forming empty recor

[nginx] HTTP/2: send WINDOW_UPDATE instead of RST_STREAM with NO_ERROR.

2016-04-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/8df664ebe037 branches: changeset: 6515:8df664ebe037 user: Valentin Bartenev <vb...@nginx.com> date: Thu Apr 14 15:14:15 2016 +0300 description: HTTP/2: send WINDOW_UPDATE instead of RST_STREAM with NO_ERROR. After the 92464ebace8e

[nginx] HTTP/2: refuse streams with data until SETTINGS is acknowledged.

2016-04-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/0aa07850922f branches: changeset: 6514:0aa07850922f user: Valentin Bartenev <vb...@nginx.com> date: Thu Apr 14 15:14:15 2016 +0300 description: HTTP/2: refuse streams with data until SETTINGS is acknowledged. A client is allowed t

[nginx] Fixed small inconsistency in handling EOF among receive functions.

2016-04-08 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/dc1ae0056a1e branches: changeset: 6506:dc1ae0056a1e user: Valentin Bartenev <vb...@nginx.com> date: Fri Apr 08 16:39:49 2016 +0300 description: Fixed small inconsistency in handling EOF among receive functions. Now all functions alway

[nginx] Merged implementations of ngx_unix_recv().

2016-04-08 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/8ee94ecd3a50 branches: changeset: 6507:8ee94ecd3a50 user: Valentin Bartenev <vb...@nginx.com> date: Fri Apr 08 16:41:45 2016 +0300 description: Merged implementations of ngx_unix_recv(). There's no real need in two separate implement

[nginx] HTTP/2: support for unbuffered upload of request body.

2016-04-01 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9d66d7ed2abb branches: changeset: 6497:9d66d7ed2abb user: Valentin Bartenev <vb...@nginx.com> date: Fri Apr 01 15:57:10 2016 +0300 description: HTTP/2: support for unbuffered upload of request body. diffstat: src/http/ngx_http_request_

[nginx] HTTP/2: rewritten handling of request body.

2016-04-01 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/887cca40ba6a branches: changeset: 6496:887cca40ba6a user: Valentin Bartenev <vb...@nginx.com> date: Fri Apr 01 15:56:03 2016 +0300 description: HTTP/2: rewritten handling of request body. There are two improvements: 1. Support for r

[nginx] HTTP/2: sending RST_STREAM with NO_ERROR to discard request body.

2016-04-01 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/92464ebace8e branches: changeset: 6495:92464ebace8e user: Valentin Bartenev <vb...@nginx.com> date: Fri Apr 01 15:56:03 2016 +0300 description: HTTP/2: sending RST_STREAM with NO_ERROR to discard request body. RFC 7540 states that "A

[nginx] Core: allow strings without null-termination in ngx_parse_url().

2016-03-25 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/5df5d7d771f6 branches: changeset: 6463:5df5d7d771f6 user: Piotr Sikora date: Fri Feb 26 17:30:27 2016 -0800 description: Core: allow strings without null-termination in ngx_parse_url(). This fixes buffer over-read while

[nginx] Core: introduced the NGX_DEBUG_PALLOC macro.

2016-03-23 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ad2360782ecd branches: changeset: 6455:ad2360782ecd user: Valentin Bartenev <vb...@nginx.com> date: Wed Mar 23 17:44:04 2016 +0300 description: Core: introduced the NGX_DEBUG_PALLOC macro. It allows to turn off accumulation of smal

[nginx] Core: moved logging before freeing large blocks of pool.

2016-03-23 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/6be7e59fdd2c branches: changeset: 6452:6be7e59fdd2c user: Valentin Bartenev <vb...@nginx.com> date: Wed Mar 23 17:44:04 2016 +0300 description: Core: moved logging before freeing large blocks of pool. This fixes use-after-free memory

[nginx] Core: use ngx_palloc_small() to allocate ngx_pool_large_t.

2016-03-23 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/f61472978419 branches: changeset: 6454:f61472978419 user: Valentin Bartenev <vb...@nginx.com> date: Wed Mar 23 17:44:04 2016 +0300 description: Core: use ngx_palloc_small() to allocate ngx_pool_large_t. This structure cannot be all

[nginx] Core: introduced the ngx_palloc_small() function.

2016-03-23 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/12248fe20689 branches: changeset: 6453:12248fe20689 user: Valentin Bartenev <vb...@nginx.com> date: Wed Mar 23 17:44:04 2016 +0300 description: Core: introduced the ngx_palloc_small() function. It deduplicates some code for allocation

[nginx] HTTP/2: improved debugging of sending control frames.

2016-03-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/4d1d3c2530e0 branches: changeset: 6448:4d1d3c2530e0 user: Valentin Bartenev <vb...@nginx.com> date: Mon Mar 21 17:04:21 2016 +0300 description: HTTP/2: improved debugging of sending control frames. diffstat: src/http/v2/ngx_http_v2.c

[nginx] Fixed handling of EAGAIN with sendfile in threads.

2016-03-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/3b9c6b91d988 branches: changeset: 6431:3b9c6b91d988 user: Valentin Bartenev <vb...@nginx.com> date: Mon Mar 14 22:42:35 2016 +0300 description: Fixed handling of EAGAIN with sendfile in threads. diffstat: src/o

[nginx] Introduced the ngx_chain_to_iovec() function.

2016-03-03 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/3832b608dc8d branches: changeset: 6421:3832b608dc8d user: Valentin Bartenev <vb...@nginx.com> date: Thu Mar 03 18:41:05 2016 +0300 description: Introduced the ngx_chain_to_iovec() function. It's similar to ngx_output_chain_to_iovec() an

[nginx] Request body: moved handling of the last part in the save filter.

2016-03-01 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/3b9fe734a76c branches: changeset: 6420:3b9fe734a76c user: Valentin Bartenev <vb...@nginx.com> date: Tue Mar 01 15:18:07 2016 +0300 description: Request body: moved handling of the last part in the save filter. No functional changes. di

[nginx] HTTP/2: cleaned up state while closing stream.

2016-02-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/c6ccc1ea9450 branches: changeset: 6410:c6ccc1ea9450 user: Valentin Bartenev <vb...@nginx.com> date: Wed Feb 24 16:05:46 2016 +0300 description: HTTP/2: cleaned up state while closing stream. Without this the state might keep pointing to a

[nginx] HTTP/2: always use temporary pool for processing headers.

2016-02-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/8ec349bb60b2 branches: changeset: 6411:8ec349bb60b2 user: Valentin Bartenev <vb...@nginx.com> date: Wed Feb 24 16:05:47 2016 +0300 description: HTTP/2: always use temporary pool for processing headers. This is required for implementi

[nginx] HTTP/2: implemented per request timeouts (closes #626).

2016-02-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/4ba91a4c66a3 branches: changeset: 6412:4ba91a4c66a3 user: Valentin Bartenev <vb...@nginx.com> date: Wed Feb 24 15:58:07 2016 +0300 description: HTTP/2: implemented per request timeouts (closes #626). Previously, there were only three ti

[nginx] Fixed buffer over-read while logging invalid request headers.

2016-02-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/71edd9192f24 branches: changeset: 6409:71edd9192f24 user: Valentin Bartenev <vb...@nginx.com> date: Wed Feb 24 16:01:23 2016 +0300 description: Fixed buffer over-read while logging invalid request headers. Since 667aaf61a778 (

[nginx] HTTP/2: added debug logging of response headers.

2016-02-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/6812ca9a8002 branches: changeset: 6401:6812ca9a8002 user: Valentin Bartenev <vb...@nginx.com> date: Tue Feb 16 17:49:14 2016 +0300 description: HTTP/2: added debug logging of response headers. Because of HPACK compression it's hard to se

[nginx] HTTP/2: use local pointer instead of r->connection.

2016-02-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b4c28876d2c3 branches: changeset: 6400:b4c28876d2c3 user: Valentin Bartenev <vb...@nginx.com> date: Tue Feb 16 17:49:14 2016 +0300 description: HTTP/2: use local pointer instead of r->connection. No functional changes. diffstat: sr

[nginx] HTTP/2: implemented HPACK Huffman encoding for response ...

2016-02-11 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ba3c2ca21aa5 branches: changeset: 6395:ba3c2ca21aa5 user: Valentin Bartenev <vb...@nginx.com> date: Thu Feb 11 15:35:36 2016 +0300 description: HTTP/2: implemented HPACK Huffman encoding for response headers. This reduces the size of h

[nginx] HTTP/2: removed unused field from ngx_http_v2_stream_t.

2016-02-02 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/d2dc8bc0394a branches: changeset: 6373:d2dc8bc0394a user: Valentin Bartenev <vb...@nginx.com> date: Tue Feb 02 16:33:55 2016 +0300 description: HTTP/2: removed unused field from ngx_http_v2_stream_t. diffstat: src/http/v2/ngx_http_v2.

[nginx] HTTP/2: fixed padding handling in HEADERS frame with CON...

2016-02-02 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/0e0e2e522fa2 branches: changeset: 6376:0e0e2e522fa2 user: Valentin Bartenev <vb...@nginx.com> date: Tue Feb 02 16:33:55 2016 +0300 description: HTTP/2: fixed padding handling in HEADERS frame with CONTINUATION. diffstat: src/h

[nginx] Request body: removed surplus assigment, no functional c...

2016-01-12 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/02abce4764b7 branches: changeset: 6336:02abce4764b7 user: Valentin Bartenev <vb...@nginx.com> date: Tue Jan 12 19:19:07 2016 +0300 description: Request body: removed surplus assigment, no functional changes. Setting rb->bufs to NULL i

[nginx] Increased the default "connection_pool_size" on 64-bit p...

2015-12-01 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ea3ba1ce7014 branches: changeset: 6309:ea3ba1ce7014 user: Valentin Bartenev <vb...@nginx.com> date: Mon Nov 30 16:27:33 2015 +0300 description: Increased the default "connection_pool_size" on 64-bit platforms. The previous defa

[nginx] Used the pwritev() syscall for writing files where possi...

2015-11-17 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b5a87b51be24 branches: changeset: 6301:b5a87b51be24 user: Valentin Bartenev <vb...@nginx.com> date: Tue Nov 17 19:01:41 2015 +0300 description: Used the pwritev() syscall for writing files where possible. It is more effective, b

[nginx] Version bump.

2015-11-17 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/92482faf5d8a branches: changeset: 6297:92482faf5d8a user: Valentin Bartenev <vb...@nginx.com> date: Tue Nov 17 19:01:41 2015 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 del

[nginx] Moved file writev() handling code to a separate function.

2015-11-17 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/be6af0906a4d branches: changeset: 6300:be6af0906a4d user: Valentin Bartenev <vb...@nginx.com> date: Tue Nov 17 19:01:41 2015 +0300 description: Moved file writev() handling code to a separate function. No functional changes. diffstat:

[nginx] Handled EINTR from write() and pwrite() syscalls.

2015-11-17 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/5170c3040ce1 branches: changeset: 6299:5170c3040ce1 user: Valentin Bartenev <vb...@nginx.com> date: Tue Nov 17 19:01:41 2015 +0300 description: Handled EINTR from write() and pwrite() syscalls. This is in addition to 6fce16b1fc10. di

[nginx] Adjusted file->sys_offset after the write() syscall.

2015-11-17 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/8f6d753c1953 branches: changeset: 6298:8f6d753c1953 user: Valentin Bartenev <vb...@nginx.com> date: Tue Nov 17 19:01:41 2015 +0300 description: Adjusted file->sys_offset after the write() syscall. This fixes suboptimal behavi

[nginx] SSL: only select HTTP/2 using NPN if "http2" is enabled.

2015-11-05 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/909b5b191f25 branches: changeset: 6289:909b5b191f25 user: Valentin Bartenev <vb...@nginx.com> date: Thu Nov 05 15:01:09 2015 +0300 description: SSL: only select HTTP/2 using NPN if "http2" is enabled. OpenSSL doesn't check i

[nginx] HTTP/2: backed out 16905ecbb49e (ticket #822).

2015-11-05 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/0f4b7800e681 branches: changeset: 6288:0f4b7800e681 user: Valentin Bartenev <vb...@nginx.com> date: Thu Nov 05 15:01:01 2015 +0300 description: HTTP/2: backed out 16905ecbb49e (ticket #822). It caused inconsistency between setting &quo

[nginx] HTTP/2: fixed spelling.

2015-10-27 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/66ee1c5cb6aa branches: changeset: 6284:66ee1c5cb6aa user: Valentin Bartenev <vb...@nginx.com> date: Tue Oct 27 23:16:35 2015 +0300 description: HTTP/2: fixed spelling. diffstat: src/http/v2/ngx_http_v2.c | 4 ++-- 1 files chan

[nginx] Version bump.

2015-10-27 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/86b5f146b121 branches: changeset: 6283:86b5f146b121 user: Valentin Bartenev <vb...@nginx.com> date: Tue Oct 27 23:16:29 2015 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 del

[nginx] HTTP/2: simplified checking the END_STREAM flag.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/16905ecbb49e branches: changeset: 6280:16905ecbb49e user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 26 17:46:28 2015 +0300 description: HTTP/2: simplified checking the END_STREAM flag. No functional changes. diffstat: src/h

[nginx] HTTP/2: fixed the NGX_HTTP_V2_MAX_FIELD macro.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b78df0822168 branches: changeset: 6278:b78df0822168 user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 26 17:46:13 2015 +0300 description: HTTP/2: fixed the NGX_HTTP_V2_MAX_FIELD macro. diffstat: src/http/v2/ngx_http_v2.h | 3

[nginx] HTTP/2: improved the ngx_http_v2_integer_octets(v) macro.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/c72eaf694d99 branches: changeset: 6279:c72eaf694d99 user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 26 17:46:16 2015 +0300 description: HTTP/2: improved the ngx_http_v2_integer_octets(v) macro. Previously, it didn't work well for

[nginx] HTTP/2: simplified producing of the Last-Modified header.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/39fa0b7e3a67 branches: changeset: 6275:39fa0b7e3a67 user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 26 17:43:08 2015 +0300 description: HTTP/2: simplified producing of the Last-Modified header. diffstat: src/h

[nginx] HTTP/2: fixed header block size calculation.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b2de4a56b860 branches: changeset: 6274:b2de4a56b860 user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 26 17:43:08 2015 +0300 description: HTTP/2: fixed header block size calculation. diffstat: src/http/v2/ngx_http_v2_filter_mo

[nginx] HTTP/2: fix indirect reprioritization.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b6a665bf858a branches: changeset: 6272:b6a665bf858a user: Piotr Sikora date: Thu Oct 01 20:25:55 2015 -0700 description: HTTP/2: fix indirect reprioritization. Previously, streams that were indirectly reprioritized

[nginx] HTTP/2: fix handling of connection errors.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/60f916da7294 branches: changeset: 6273:60f916da7294 user: Piotr Sikora date: Thu Oct 01 20:25:55 2015 -0700 description: HTTP/2: fix handling of connection errors. Previously, nginx worker would crash because of a

[nginx] HTTP/2: reject self-dependent streams.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/22ee99422329 branches: changeset: 6271:22ee99422329 user: Piotr Sikora date: Thu Oct 01 20:25:55 2015 -0700 description: HTTP/2: reject self-dependent streams. Per RFC7540, a stream cannot depend on itself. Previously,

[nginx] HTTP/2: introduced NGX_HTTP_V2_ENCODE_* macros.

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/0efc16d55adb branches: changeset: 6276:0efc16d55adb user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 26 17:43:08 2015 +0300 description: HTTP/2: introduced NGX_HTTP_V2_ENCODE_* macros. No functional changes. diffstat: src/h

[nginx] HTTP/2: fixed splitting of response headers on CONTINUAT...

2015-10-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b930e598a199 branches: changeset: 6277:b930e598a199 user: Valentin Bartenev <vb...@nginx.com> date: Mon Sep 28 02:32:44 2015 +0300 description: HTTP/2: fixed splitting of response headers on CONTINUATION frames. Previous code has been

[nginx] HTTP/2: improved HPACK integer parsing code readability.

2015-10-20 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/adaac65899c8 branches: changeset: 6267:adaac65899c8 user: Ruslan Ermilov date: Tue Oct 20 21:26:38 2015 +0300 description: HTTP/2: improved HPACK integer parsing code readability. No functional changes. diffstat:

[nginx] HTTP/2: improved error handling while parsing integers.

2015-10-20 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ee16fb0db905 branches: changeset: 6268:ee16fb0db905 user: Valentin Bartenev <vb...@nginx.com> date: Tue Oct 20 21:28:38 2015 +0300 description: HTTP/2: improved error handling while parsing integers. The case when an integer is out of

[nginx] HTTP/2: fixed parsing of literal header fields without i...

2015-10-19 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/0e37389c0bd5 branches: changeset: 6260:0e37389c0bd5 user: Valentin Bartenev <vb...@nginx.com> date: Mon Oct 19 16:16:47 2015 +0300 description: HTTP/2: fixed parsing of literal header fields without indexing. diffstat: src/http/v2/ngx_h

[nginx] HTTP/2: fixed $server_protocol value (ticket #800).

2015-09-28 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9dfc4ba140f9 branches: changeset: 6256:9dfc4ba140f9 user: Valentin Bartenev <vb...@nginx.com> date: Mon Sep 28 20:02:05 2015 +0300 description: HTTP/2: fixed $server_protocol value (ticket #800). diffstat: src/http/v2/ngx_http_v2.c | 2

[nginx] HTTP/2: fixed HPACK header field parsing.

2015-09-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/f5380c244cd7 branches: changeset: 6248:f5380c244cd7 user: Valentin Bartenev <vb...@nginx.com> date: Tue Sep 22 01:40:04 2015 +0300 description: HTTP/2: fixed HPACK header field parsing. diffstat: src/http/v2/ngx_http_v2.c | 5 + 1

[nginx] HTTP/2: fixed header block parsing with CONTINUATION fra...

2015-09-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/081a073e5164 branches: changeset: 6249:081a073e5164 user: Valentin Bartenev <vb...@nginx.com> date: Tue Sep 22 01:40:04 2015 +0300 description: HTTP/2: fixed header block parsing with CONTINUATION frames (#792). It appears that the CONTIN

[nginx] Fixed building --with-debug, broken by 6fce16b1fc10.

2015-09-02 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/387696b36c29 branches: changeset: 6241:387696b36c29 user: Valentin Bartenev <vb...@nginx.com> date: Wed Sep 02 19:45:40 2015 +0300 description: Fixed building --with-debug, broken by 6fce16b1fc10. diffstat: src/os/unix/ngx_files.c | 2

[nginx] Added protection against r->main->count overflow by subr...

2015-08-31 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/8c6e71722aff branches: changeset: 6238:8c6e71722aff user: Valentin Bartenev <vb...@nginx.com> date: Mon Aug 31 23:25:16 2015 +0300 description: Added protection against r->main->count overflow by subrequests. This overflow has bec

[nginx] Limit recursive subrequests instead of simultaneous.

2015-08-23 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/06e850859a26 branches: changeset: 6237:06e850859a26 user: Valentin Bartenev vb...@nginx.com date: Sun Aug 23 21:03:32 2015 +0300 description: Limit recursive subrequests instead of simultaneous. diffstat: src/http/ngx_http_core_module.c | 6

[nginx] Core: idle connections now closed only once on exiting.

2015-08-11 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/5e6142609e48 branches: changeset: 6220:5e6142609e48 user: Valentin Bartenev vb...@nginx.com date: Tue Aug 11 16:28:55 2015 +0300 description: Core: idle connections now closed only once on exiting. Iterating through all connections takes a lot

[nginx] Stream: fixed possible integer overflow in rate limiting.

2015-07-02 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/114d1f8cdcab branches: changeset: 6204:114d1f8cdcab user: Valentin Bartenev vb...@nginx.com date: Thu Jul 02 17:20:29 2015 +0300 description: Stream: fixed possible integer overflow in rate limiting. diffstat: src/stream

[nginx] Configure: added gcc5 to the list of known GCC versions.

2015-06-10 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/c041f1e0655f branches: changeset: 6178:c041f1e0655f user: Valentin Bartenev vb...@nginx.com date: Wed Jun 10 19:18:20 2015 +0300 description: Configure: added gcc5 to the list of known GCC versions. diffstat: auto/cc/gcc | 2 +- 1 files

<    1   2   3   4   >