[nginx] Mail: removed surplus ngx_close_connection() call.

2013-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/2220de0521ca branches: changeset: 5214:2220de0521ca user: Filipe Da Silva date: Thu May 09 10:54:28 2013 +0200 description: Mail: removed surplus ngx_close_connection() call. It is already called for a peer connection a few lines above. diffst

[nginx] Core: strengthen configuration syntax checker.

2013-05-23 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ea41bba49e8a branches: changeset: 5227:ea41bba49e8a user: Valentin Bartenev date: Thu May 23 20:30:27 2013 +0400 description: Core: strengthen configuration syntax checker. It is now a syntax error if tokens passed to a custom configuration

[nginx] SPDY: use proper macros for value length and headers cou...

2013-06-04 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/5776804fff04 branches: changeset: 5242:5776804fff04 user: Valentin Bartenev date: Wed Jun 05 02:13:52 2013 +0400 description: SPDY: use proper macros for value length and headers counter. Currently these macros are synonyms, but this may

[nginx] Status: the "last_in_chain" flag must be set.

2013-06-05 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ee739104d164 branches: changeset: 5243:ee739104d164 user: Valentin Bartenev date: Wed Jun 05 16:22:40 2013 +0400 description: Status: the "last_in_chain" flag must be set. The module always produces only one and obviously the last

[nginx] SPDY: pass through the full status when available.

2013-06-10 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/725fb71ab1a6 branches: changeset: 5249:725fb71ab1a6 user: Jim Radford date: Fri Jun 07 13:16:00 2013 -0700 description: SPDY: pass through the full status when available. Avoid stripping the status text when proxying for compatibility with http

[nginx] SPDY: fixed code style, no functional changes.

2013-06-13 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/4ef49081ef4c branches: changeset: 5251:4ef49081ef4c user: Valentin Bartenev date: Thu Jun 13 16:28:42 2013 +0400 description: SPDY: fixed code style, no functional changes. diffstat: src/http/ngx_http_spdy_filter_module.c | 3 ++- 1 files

[nginx] Events: honor NGX_USE_GREEDY_EVENT when kqueue support i...

2013-07-12 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/13c006f0c40e branches: changeset: 5267:13c006f0c40e user: Valentin Bartenev date: Sat Jul 13 03:24:30 2013 +0400 description: Events: honor NGX_USE_GREEDY_EVENT when kqueue support is enabled. Currently this flag is needed for epoll and rtsig

[nginx] SPDY: fixed segfault with "client_body_in_file_only" ena...

2013-07-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/7542b72fe4b1 branches: changeset: 5281:7542b72fe4b1 user: Valentin Bartenev date: Wed Jul 24 22:24:25 2013 +0400 description: SPDY: fixed segfault with "client_body_in_file_only" enabled. It is possible to send FLAG_FIN in additi

[nginx] MIME: use "application/javascript" for .js files.

2013-07-31 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ae3fd1ca62e0 branches: changeset: 5311:ae3fd1ca62e0 user: Valentin Bartenev date: Wed Jul 31 23:40:46 2013 +0400 description: MIME: use "application/javascript" for .js files. Though there are several MIME types commonly used for

[nginx] Image filter: use "application/json" MIME type for JSON ...

2013-08-05 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/31932b5464f0 branches: changeset: 5315:31932b5464f0 user: Valentin Bartenev date: Mon Aug 05 14:30:03 2013 +0400 description: Image filter: use "application/json" MIME type for JSON output. As it is defined by RFC 4627, and allows f

[nginx] Fixed memory leaks in the root and auth_basic_user_file ...

2013-08-06 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/12dd27b74117 branches: changeset: 5316:12dd27b74117 user: Valentin Bartenev date: Tue Aug 06 19:58:40 2013 +0400 description: Fixed memory leaks in the root and auth_basic_user_file directives. If a relative path is set by variables, then the

[nginx] Replaced ngx_conf_full_name() with ngx_get_full_name().

2013-08-06 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/f1a91825730a branches: changeset: 5317:f1a91825730a user: Valentin Bartenev date: Tue Aug 06 19:58:40 2013 +0400 description: Replaced ngx_conf_full_name() with ngx_get_full_name(). The ngx_get_full_name() function takes more readable

[nginx] API change: removed the ngx_conf_full_name() function.

2013-08-06 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/7094bd12c1ff branches: changeset: 5318:7094bd12c1ff user: Valentin Bartenev date: Tue Aug 06 19:58:40 2013 +0400 description: API change: removed the ngx_conf_full_name() function. The ngx_get_full_name() should be used instead. diffstat

[nginx] Unbreak building on Linux without sendfile64() support.

2013-08-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/bdb3588681c9 branches: changeset: 5322:bdb3588681c9 user: Valentin Bartenev date: Thu Aug 15 19:14:33 2013 +0400 description: Unbreak building on Linux without sendfile64() support. It was broken in 8e446a2daf48 when the NGX_SENDFILE_LIMIT

[nginx] SPDY: fixed corruption of headers with names longer than...

2013-08-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/2be1a9ce9d8e branches: changeset: 5323:2be1a9ce9d8e user: Valentin Bartenev date: Thu Aug 15 19:14:58 2013 +0400 description: SPDY: fixed corruption of headers with names longer than 255. It is a bad idea to put zero byte in position where the

[nginx] SPDY: do not reject headers with empty value (ticket #396).

2013-08-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/8ef1722143dc branches: changeset: 5324:8ef1722143dc user: Valentin Bartenev date: Thu Aug 15 19:16:09 2013 +0400 description: SPDY: do not reject headers with empty value (ticket #396). A quote from SPDY draft 2 specification: "The leng

[nginx] SPDY: alert about activated fake events instead of delet...

2013-08-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/abf7813b927e branches: changeset: 5325:abf7813b927e user: Valentin Bartenev date: Thu Aug 15 19:16:12 2013 +0400 description: SPDY: alert about activated fake events instead of deleting them. They refer to the same socket descriptor as our

[nginx] Assume the HTTP/1.0 version by default.

2013-09-01 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/62be77b0608f branches: changeset: 5354:62be77b0608f user: Valentin Bartenev date: Mon Sep 02 03:45:14 2013 +0400 description: Assume the HTTP/1.0 version by default. It is believed to be better than fallback to HTTP/0.9, because most of the

[nginx] Disable symlinks: use O_PATH to open path components.

2013-09-01 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/acd51b0f6fd4 branches: changeset: 5356:acd51b0f6fd4 user: Valentin Bartenev date: Mon Sep 02 08:07:59 2013 +0400 description: Disable symlinks: use O_PATH to open path components. It was introduced in Linux 2.6.39, glibc 2.14 and allows to

[nginx] Added the NGX_EBADF define.

2013-09-01 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/32847478c2c1 branches: changeset: 5355:32847478c2c1 user: Valentin Bartenev date: Mon Sep 02 08:07:44 2013 +0400 description: Added the NGX_EBADF define. diffstat: src/event/modules/ngx_select_module.c | 2 +- src/os/unix/ngx_errno.h

[nginx] Disable symlinks: removed recursive call of ngx_file_o_p...

2013-09-02 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/659464c695b7 branches: changeset: 5357:659464c695b7 user: Valentin Bartenev date: Mon Sep 02 20:06:03 2013 +0400 description: Disable symlinks: removed recursive call of ngx_file_o_path_info(). It is surplus. diffstat: src/core

[nginx] Return reason phrase for 414.

2013-09-04 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/907f01a2a7c0 branches: changeset: 5369:907f01a2a7c0 user: Valentin Bartenev date: Tue Sep 03 21:07:19 2013 +0400 description: Return reason phrase for 414. After 62be77b0608f nginx can return this code. diffstat: src/http

[nginx] Fixed handling of the ready flag with kqueue.

2013-09-05 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ee78c7705a8e branches: changeset: 5370:ee78c7705a8e user: Valentin Bartenev date: Thu Sep 05 16:53:02 2013 +0400 description: Fixed handling of the ready flag with kqueue. There is nothing to do more when recv() has returned 0, so we should

[nginx] Events: removed unused flags from the ngx_event_s struct...

2013-09-05 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b95e70ae6bcd branches: changeset: 5371:b95e70ae6bcd user: Valentin Bartenev date: Thu Sep 05 16:53:02 2013 +0400 description: Events: removed unused flags from the ngx_event_s structure. They are not used since 708f8bb772ec (pre 0.0.1

[nginx] Events: support for EPOLLRDHUP (ticket #320).

2013-09-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/36b58ddb566d branches: changeset: 5372:36b58ddb566d user: Valentin Bartenev date: Fri Jul 12 14:51:07 2013 +0400 description: Events: support for EPOLLRDHUP (ticket #320). Since Linux 2.6.17, epoll is able to report about peer half-closed

[nginx] Upstream: use EPOLLRDHUP to check broken connections (ti...

2013-09-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/46bdbca10dfc branches: changeset: 5373:46bdbca10dfc user: Valentin Bartenev date: Mon Sep 16 18:33:39 2013 +0400 description: Upstream: use EPOLLRDHUP to check broken connections (ticket #320). This allows to detect client connection close

[nginx] Use EPOLLRDHUP in ngx_http_test_reading() (ticket #320).

2013-09-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ef3d094bb6d3 branches: changeset: 5374:ef3d094bb6d3 user: Valentin Bartenev date: Mon Sep 16 18:33:39 2013 +0400 description: Use EPOLLRDHUP in ngx_http_test_reading() (ticket #320). This allows to detect client connection close with pending

[nginx] Improved check for duplicate path names in ngx_add_path().

2013-09-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/cec155f07c84 branches: changeset: 5377:cec155f07c84 user: Valentin Bartenev date: Mon Sep 16 18:49:23 2013 +0400 description: Improved check for duplicate path names in ngx_add_path(). The same path names with different "data" cont

[nginx] Removed surplus initializations from ngx_conf_set_path_s...

2013-09-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/dd9cb4edf499 branches: changeset: 5376:dd9cb4edf499 user: Valentin Bartenev date: Mon Sep 16 18:49:22 2013 +0400 description: Removed surplus initializations from ngx_conf_set_path_slot(). An instance of ngx_path_t is already zeroed by

[nginx] Use ngx_pcalloc() in ngx_conf_merge_path_value().

2013-09-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/7d8770196436 branches: changeset: 5375:7d8770196436 user: Valentin Bartenev date: Mon Sep 16 18:49:10 2013 +0400 description: Use ngx_pcalloc() in ngx_conf_merge_path_value(). It initializes the "data" pointer of ngx_path_t th

[nginx] SPDY: set empty write handler during connection finaliza...

2013-09-30 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/db85dacfa013 branches: changeset: 5404:db85dacfa013 user: Valentin Bartenev date: Tue Oct 01 00:12:30 2013 +0400 description: SPDY: set empty write handler during connection finalization. While ngx_http_spdy_write_handler() should not make any

[nginx] SPDY: fixed connection leak while waiting for request he...

2013-09-30 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/7e062646da6f branches: changeset: 5403:7e062646da6f user: Valentin Bartenev date: Tue Oct 01 00:04:00 2013 +0400 description: SPDY: fixed connection leak while waiting for request headers. If an error occurs in a SPDY connection, the c->er

[nginx] SPDY: ignore priority when queuing blocked frames.

2013-09-30 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/620808518349 branches: changeset: 5405:620808518349 user: Valentin Bartenev date: Tue Oct 01 00:14:37 2013 +0400 description: SPDY: ignore priority when queuing blocked frames. With this change all such frames will be added in front of the

[nginx] SPDY: fixed connection leak while waiting for request body.

2013-09-30 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/4d0c70541784 branches: changeset: 5402:4d0c70541784 user: Valentin Bartenev date: Tue Oct 01 00:00:57 2013 +0400 description: SPDY: fixed connection leak while waiting for request body. If an error occurs in a SPDY connection, the c->er

[nginx] SPDY: fixed request hang with the auth request module.

2013-11-11 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/cbb9a6c7493c branches: changeset: 5440:cbb9a6c7493c user: Valentin Bartenev date: Mon Nov 11 18:49:35 2013 +0400 description: SPDY: fixed request hang with the auth request module. We should just call post_handler() when subrequest wants to

[nginx] SPDY: drop the "delayed" flag when finalizing connection.

2013-12-10 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/a279d2a33dbf branches: changeset: 5465:a279d2a33dbf user: Valentin Bartenev date: Tue Dec 10 20:27:33 2013 +0400 description: SPDY: drop the "delayed" flag when finalizing connection. This flag in SPDY fake write events serve

[nginx] Use ngx_chain_get_free_buf() in pipe input filters.

2013-12-12 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/e7b3b9855be8 branches: changeset: 5466:e7b3b9855be8 user: Valentin Bartenev date: Wed Dec 11 21:30:38 2013 +0400 description: Use ngx_chain_get_free_buf() in pipe input filters. No functional changes. diffstat: src/event/ngx_event_pipe.c

[nginx] Version bump.

2013-12-18 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/a1c65fa499e2 branches: changeset: 5482:a1c65fa499e2 user: Valentin Bartenev date: Wed Dec 18 18:37:48 2013 +0400 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] SPDY: use predefined constant for size of the Stream-ID ...

2013-12-18 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/86b563036d5a branches: changeset: 5483:86b563036d5a user: Valentin Bartenev date: Wed Dec 18 18:39:29 2013 +0400 description: SPDY: use predefined constant for size of the Stream-ID field. No functional changes. diffstat: src/http

[nginx] SPDY: fixed possible request hang.

2013-12-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/916cb6d28f6a branches: changeset: 5493:916cb6d28f6a user: Valentin Bartenev date: Thu Dec 26 17:03:16 2013 +0400 description: SPDY: fixed possible request hang. Processing events from upstream connection can result in sending queued frames

[nginx] SPDY: refactored loop in ngx_http_spdy_body_filter().

2013-12-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/27f9d5f68c1c branches: changeset: 5494:27f9d5f68c1c user: Valentin Bartenev date: Thu Dec 26 17:03:16 2013 +0400 description: SPDY: refactored loop in ngx_http_spdy_body_filter(). No functional changes. diffstat: src/http

[nginx] SPDY: a bit smarter ngx_http_spdy_filter_get_data_frame().

2013-12-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/97f6cd787766 branches: changeset: 5495:97f6cd787766 user: Valentin Bartenev date: Thu Dec 26 17:03:16 2013 +0400 description: SPDY: a bit smarter ngx_http_spdy_filter_get_data_frame(). There is no need to pass FLAG_FIN as a separate argument

[nginx] Style: removed surplus semicolons.

2013-12-27 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9d056f10fb99 branches: changeset: 5496:9d056f10fb99 user: Valentin Bartenev date: Fri Dec 27 18:47:42 2013 +0400 description: Style: removed surplus semicolons. diffstat: src/http/modules/ngx_http_mp4_module.c | 2 +- src/http/modules

[nginx] SPDY: fixed format specifiers in logging.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/a30bba3c72e8 branches: changeset: 5507:a30bba3c72e8 user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: fixed format specifiers in logging. diffstat: src/http/ngx_http_spdy.c | 12 ++-- 1 files changed, 6

[nginx] Year 2014.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/64af0f7c4dcd branches: changeset: 5506:64af0f7c4dcd user: Valentin Bartenev date: Tue Jan 14 16:24:02 2014 +0400 description: Year 2014. diffstat: docs/text/LICENSE | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (12 lines

[nginx] SPDY: better name for queued frames counter.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9053fdcea4b7 branches: changeset: 5508:9053fdcea4b7 user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: better name for queued frames counter. No functional changes. diffstat: src/http/ngx_http_spdy.c

[nginx] SPDY: elimination of r->blocked counter usage for queuin...

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/3ff29c30effb branches: changeset: 5510:3ff29c30effb user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: elimination of r->blocked counter usage for queuing frames. It was used to prevent destroying of request obj

[nginx] SPDY: fixed possible premature close of stream.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9fffc0c46e5c branches: changeset: 5512:9fffc0c46e5c user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: fixed possible premature close of stream. The "delayed" flag always should be set if there are uns

[nginx] SPDY: implemented buffers chain splitting.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b7ee1bae0ffa branches: changeset: 5514:b7ee1bae0ffa user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: implemented buffers chain splitting. It fixes "chain too big in spdy filter" alerts, and adds full s

[nginx] SPDY: better name for flag that indicates incomplete fra...

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/877a7bd72070 branches: changeset: 5509:877a7bd72070 user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: better name for flag that indicates incomplete frame state. No functional changes. diffstat: src/http

[nginx] SPDY: body filter was replaced by c->send_chain() function.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/311803b21504 branches: changeset: 5513:311803b21504 user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: body filter was replaced by c->send_chain() function. It allows to use ngx_http_write_filter() and all its r

[nginx] SPDY: refactored ngx_http_spdy_body_filter().

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/dfb52d25cefb branches: changeset: 5511:dfb52d25cefb user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: refactored ngx_http_spdy_body_filter(). A local pointer to fake connection is introduced to slightly reduce

[nginx] SPDY: added the "spdy_chunk_size" directive.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/e5fb14e85040 branches: changeset: 5515:e5fb14e85040 user: Valentin Bartenev date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: added the "spdy_chunk_size" directive. diffstat: src/http/ngx_http_spdy_filter_module.c | 10 +++-

[nginx] SPDY: fixed build, broken by b7ee1bae0ffa.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/439d05a037a3 branches: changeset: 5516:439d05a037a3 user: Valentin Bartenev date: Wed Jan 15 01:44:52 2014 +0400 description: SPDY: fixed build, broken by b7ee1bae0ffa. False positive warning about the "cl" variable may be uninitiali

[nginx] SPDY: fixed off_t/size_t type conversions on 32 bits pla...

2014-01-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9d1479234f3c branches: changeset: 5517:9d1479234f3c user: Valentin Bartenev date: Wed Jan 15 13:23:31 2014 +0400 description: SPDY: fixed off_t/size_t type conversions on 32 bits platforms. Parameters of ngx_http_spdy_filter_get_shadow() are

[nginx] SPDY: fixed possible uninitialized memory access.

2014-01-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ec9e9da4c1fb branches: changeset: 5518:ec9e9da4c1fb user: Valentin Bartenev date: Wed Jan 15 17:16:38 2014 +0400 description: SPDY: fixed possible uninitialized memory access. The frame->stream pointer should always be initialized for cont

[nginx] SPDY: the SETTINGS frame should be allocated from sc->pool.

2014-01-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/22c249dac7c1 branches: changeset: 5519:22c249dac7c1 user: Valentin Bartenev date: Wed Jan 15 17:16:38 2014 +0400 description: SPDY: the SETTINGS frame should be allocated from sc->pool. There is no reason to allocate it from connection p

[nginx] SPDY: send output queue after processing of read event.

2014-01-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/a336cbc3dd44 branches: changeset: 5520:a336cbc3dd44 user: Valentin Bartenev date: Wed Jan 15 17:16:38 2014 +0400 description: SPDY: send output queue after processing of read event. During the processing of input some control frames can be

[nginx] SPDY: use frame->next pointer to chain free frames.

2014-01-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/d5de6c25b759 branches: changeset: 5528:d5de6c25b759 user: Valentin Bartenev date: Wed Jan 22 04:58:19 2014 +0400 description: SPDY: use frame->next pointer to chain free frames. There is no need in separate "free" pointer and l

[nginx] SPDY: proper handling of all RST_STREAM statuses.

2014-01-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/f3f7b72ca6e9 branches: changeset: 5527:f3f7b72ca6e9 user: Valentin Bartenev date: Wed Jan 22 04:58:19 2014 +0400 description: SPDY: proper handling of all RST_STREAM statuses. Previously, only stream CANCEL and INTERNAL_ERROR were handled

[nginx] SPDY: removed state to check first SETTINGS frame.

2014-01-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/2c6f82c0cec2 branches: changeset: 5526:2c6f82c0cec2 user: Valentin Bartenev date: Wed Jan 22 04:58:19 2014 +0400 description: SPDY: removed state to check first SETTINGS frame. That code was based on misunderstanding of spdy specification

[nginx] SPDY: better name for frame entries counter.

2014-01-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/206c56e23a96 branches: changeset: 5525:206c56e23a96 user: Valentin Bartenev date: Wed Jan 22 04:58:19 2014 +0400 description: SPDY: better name for frame entries counter. The "headers" is not a good term, since it is used not onl

[nginx] SPDY: fixed possible segfault.

2014-01-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/03c198bb2acf branches: changeset: 5524:03c198bb2acf user: Valentin Bartenev date: Wed Jan 22 04:58:19 2014 +0400 description: SPDY: fixed possible segfault. While processing a DATA frame, the link to related stream is stored in spdy connection

[nginx] SPDY: store the length of frame instead of its whole size.

2014-01-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/e4adaa47af65 branches: changeset: 5529:e4adaa47af65 user: Valentin Bartenev date: Wed Jan 22 04:58:19 2014 +0400 description: SPDY: store the length of frame instead of its whole size. The "length" value better correspond

[nginx] SPDY: use ngx_queue_t to queue streams for post processing.

2014-01-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/827e53c136b0 branches: changeset: 5530:827e53c136b0 user: Valentin Bartenev date: Mon Jan 20 20:56:49 2014 +0400 description: SPDY: use ngx_queue_t to queue streams for post processing. It simplifies the code and allows easy reuse the same

[nginx] Typo fixed.

2014-01-23 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/a387ce36744a branches: changeset: 5538:a387ce36744a user: Tatsuhiko Kubo date: Thu Jan 23 22:09:59 2014 +0900 description: Typo fixed. diffstat: src/http/modules/ngx_http_range_filter_module.c | 2 +- 1 files changed, 1 insertions(+), 1 dele

[nginx] SSL: support ALPN (IETF's successor to NPN).

2014-01-29 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/01e2a5bcdd8f branches: changeset: 5545:01e2a5bcdd8f user: Piotr Sikora date: Tue Jan 28 15:33:49 2014 -0800 description: SSL: support ALPN (IETF's successor to NPN). Signed-off-by: Piotr Sikora diffstat: src/http/modules/ngx_http_ssl_module

[nginx] SPDY: protocol implementation switched to spdy/3.1.

2014-01-31 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/39d7eef2e332 branches: changeset: 5549:39d7eef2e332 user: Valentin Bartenev date: Fri Jan 31 19:17:26 2014 +0400 description: SPDY: protocol implementation switched to spdy/3.1. diffstat: src/http/ngx_http_spdy.c | 743

[nginx] SPDY: fixed parsing of the priority field.

2014-02-04 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/60c4179f76ad branches: changeset: 5553:60c4179f76ad user: Shigeki Ohtsu date: Tue Feb 04 14:06:23 2014 +0900 description: SPDY: fixed parsing of the priority field. The size of the priority field is increased by one bit in spdy/3, and now it's

[nginx] SPDY: fixed reversed priority order in window waiting qu...

2014-02-12 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/2bc609a4b516 branches: changeset: 5576:2bc609a4b516 user: Valentin Bartenev date: Wed Feb 12 21:02:29 2014 +0400 description: SPDY: fixed reversed priority order in window waiting queue. diffstat: src/http/ngx_http_spdy.h | 3

[nginx] Gzip static: fixed NGX_CONF_FLAG misuse.

2014-03-03 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ceecde39853f branches: changeset: 5587:ceecde39853f user: Valentin Bartenev date: Mon Mar 03 17:17:25 2014 +0400 description: Gzip static: fixed NGX_CONF_FLAG misuse. diffstat: src/http/modules/ngx_http_gzip_static_module.c | 2 +- 1 files

[nginx] SPDY: detect premature end of frame while start parsing ...

2014-03-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/372cc6e532a6 branches: changeset: 5625:372cc6e532a6 user: Valentin Bartenev date: Wed Mar 26 17:43:39 2014 +0400 description: SPDY: detect premature end of frame while start parsing headers. diffstat: src/http/ngx_http_spdy.c | 9

[nginx] SPDY: better detect if headers block has wrong entries c...

2014-03-26 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/2411d4b5be2c branches: changeset: 5626:2411d4b5be2c user: Valentin Bartenev date: Wed Mar 26 18:01:11 2014 +0400 description: SPDY: better detect if headers block has wrong entries count. Previously, only one case was checked: if there's

[nginx] SPDY: fixed the DATA frame length handling in case of so...

2014-03-28 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/d74889fbf06d branches: changeset: 5627:d74889fbf06d user: Valentin Bartenev date: Fri Mar 28 20:05:07 2014 +0400 description: SPDY: fixed the DATA frame length handling in case of some errors. There are a few cases in

[nginx] SPDY: detect premature closing of stream.

2014-03-28 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/a24f88eff684 branches: changeset: 5628:a24f88eff684 user: Valentin Bartenev date: Fri Mar 28 20:22:57 2014 +0400 description: SPDY: detect premature closing of stream. The SPDY/3.1 specification requires that the server must respond with a 400

[nginx] SPDY: refactored ngx_http_spdy_state_read_data().

2014-04-07 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/d2ac5cf4056d branches: changeset: 5642:d2ac5cf4056d user: Valentin Bartenev date: Mon Apr 07 19:27:56 2014 +0400 description: SPDY: refactored ngx_http_spdy_state_read_data(). There's no more need in a separate indicator of frame complet

[nginx] SPDY: consistently handle control frames with unknown type.

2014-04-07 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/436f3605195a branches: changeset: 5643:436f3605195a user: Valentin Bartenev date: Mon Apr 07 19:27:56 2014 +0400 description: SPDY: consistently handle control frames with unknown type. The SPDY draft 2 specification requires that if an

[nginx] SPDY: better detect premature closing of stream.

2014-04-07 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/0aeb6f63d242 branches: changeset: 5641:0aeb6f63d242 user: Valentin Bartenev date: Mon Apr 07 19:27:56 2014 +0400 description: SPDY: better detect premature closing of stream. Following a24f88eff684, now the case when the FIN flag is set in

[nginx] SPDY: avoid creating flush frames.

2014-04-08 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b948f9c73111 branches: changeset: 5644:b948f9c73111 user: Valentin Bartenev date: Mon Apr 07 23:35:33 2014 +0400 description: SPDY: avoid creating flush frames. Previously, an empty frame object was created for an output chain that contains

[nginx] Version bump.

2014-04-08 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/10915ad539b4 branches: changeset: 5648:10915ad539b4 user: Valentin Bartenev date: Tue Apr 08 20:11:31 2014 +0400 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] SPDY: fixed arguments supplied for an error message.

2014-04-08 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/e1dcb983d6b3 branches: changeset: 5649:e1dcb983d6b3 user: Valentin Bartenev date: Tue Apr 08 20:12:30 2014 +0400 description: SPDY: fixed arguments supplied for an error message. diffstat: src/http/ngx_http_spdy.c | 2 +- 1 files changed, 1

[nginx] SPDY: moved a variable initialization near to its check.

2014-04-10 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/363395795384 branches: changeset: 5650:363395795384 user: Valentin Bartenev date: Wed Apr 09 18:15:32 2014 +0400 description: SPDY: moved a variable initialization near to its check. This should prevent attempts of using pointer before it was

[nginx] SPDY: fixed typo in log message.

2014-04-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b6240baead00 branches: changeset: 5652:b6240baead00 user: Valentin Bartenev date: Wed Apr 16 11:40:42 2014 +0400 description: SPDY: fixed typo in log message. diffstat: src/http/ngx_http_spdy.c | 2 +- 1 files changed, 1 insertions(+), 1

[nginx] Fixed missing "static" in declaration of ngx_http_gzip_q...

2014-04-16 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b51bd021808b branches: changeset: 5651:b51bd021808b user: Valentin Bartenev date: Wed Apr 16 11:40:38 2014 +0400 description: Fixed missing "static" in declaration of ngx_http_gzip_quantity(). diffstat: src/http/ngx_http_core_mod

[nginx] SPDY: Stream-ID restrictions according to specification.

2014-04-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/de93bbe2d8cd branches: changeset: 5664:de93bbe2d8cd user: Valentin Bartenev date: Mon Apr 21 18:59:53 2014 +0400 description: SPDY: Stream-ID restrictions according to specification. diffstat: src/http/ngx_http_spdy.c | 23

[nginx] SPDY: avoid sending RST_STREAM on WINDOW_UPDATE with unk...

2014-04-21 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/46d0795a846c branches: changeset: 5665:46d0795a846c user: Valentin Bartenev date: Mon Apr 21 19:21:17 2014 +0400 description: SPDY: avoid sending RST_STREAM on WINDOW_UPDATE with unknown SID. There's a race condition between closing a s

[nginx] Proxy: fixed possible uninitialized memory access.

2014-04-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/fbfdf8017748 branches: changeset: 5676:fbfdf8017748 user: Valentin Bartenev date: Mon Nov 18 03:06:45 2013 +0400 description: Proxy: fixed possible uninitialized memory access. The ngx_http_proxy_rewrite_cookie() function expects the value of

[nginx] Version bump.

2014-04-24 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/1710bf72243e branches: changeset: 5675:1710bf72243e user: Valentin Bartenev date: Thu Apr 24 20:50:10 2014 +0400 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] SPDY: fixed one case of improper memory allocation error...

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/5cf537731218 branches: changeset: 5686:5cf537731218 user: Valentin Bartenev date: Wed Apr 30 02:16:21 2014 +0400 description: SPDY: fixed one case of improper memory allocation error handling. Now ngx_http_spdy_construct_request_line() doesn&#

[nginx] SPDY: removed ngx_http_spdy_state_headers_error().

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/5d55f03b1e12 branches: changeset: 5689:5d55f03b1e12 user: Valentin Bartenev date: Wed Apr 30 20:34:20 2014 +0400 description: SPDY: removed ngx_http_spdy_state_headers_error(). The function just calls ngx_http_spdy_state_headers_skip() most of

[nginx] SPDY: improved error handling of header block decompress...

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/fb56f5d612a0 branches: changeset: 5690:fb56f5d612a0 user: Valentin Bartenev date: Wed Apr 30 20:34:20 2014 +0400 description: SPDY: improved error handling of header block decompression. Now cases when decompression failed due to internal

[nginx] SPDY: ngx_http_spdy_state_headers() error handling cleanup.

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/31349361558e branches: changeset: 5691:31349361558e user: Valentin Bartenev date: Wed Apr 30 20:34:20 2014 +0400 description: SPDY: ngx_http_spdy_state_headers() error handling cleanup. - Specification-friendly handling of invalid header

[nginx] SPDY: improved logging.

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/701d6e17e42c branches: changeset: 5693:701d6e17e42c user: Valentin Bartenev date: Wed Apr 30 20:34:20 2014 +0400 description: SPDY: improved logging. diffstat: src/http/ngx_http_spdy.c | 210

[nginx] SPDY: prevented creation of RST_STREAM in protocol error...

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/86232c95623d branches: changeset: 5688:86232c95623d user: Valentin Bartenev date: Thu May 15 19:18:26 2014 +0400 description: SPDY: prevented creation of RST_STREAM in protocol error state. Previously, the frame wasn't sent anyway (and

[nginx] SPDY: refactored ngx_http_spdy_state_headers().

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/9a95eb9f448b branches: changeset: 5694:9a95eb9f448b user: Valentin Bartenev date: Wed Apr 30 20:34:20 2014 +0400 description: SPDY: refactored ngx_http_spdy_state_headers(). This change is similar to d2ac5cf4056d. Special flag of completeness

[nginx] SPDY: improved ngx_http_spdy_state_protocol_error().

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/6642690698f1 branches: changeset: 5687:6642690698f1 user: Valentin Bartenev date: Wed Apr 30 20:33:58 2014 +0400 description: SPDY: improved ngx_http_spdy_state_protocol_error(). Now ngx_http_spdy_state_protocol_error() is able to close stream

[nginx] SPDY: added protection from overrun of the receive buffer.

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/19a14a484707 branches: changeset: 5696:19a14a484707 user: Valentin Bartenev date: Wed Apr 30 20:34:20 2014 +0400 description: SPDY: added protection from overrun of the receive buffer. diffstat: src/http/ngx_http_spdy.c | 8 1

[nginx] SPDY: added a debug point to the state buffer overflow p...

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/231588611230 branches: changeset: 5695:231588611230 user: Valentin Bartenev date: Wed Apr 30 20:34:20 2014 +0400 description: SPDY: added a debug point to the state buffer overflow protection. diffstat: src/http/ngx_http_spdy.c | 1 + 1

[nginx] SPDY: set log action for PROXY protocol only while parsi...

2014-05-15 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/ed5fb7d22d46 branches: changeset: 5692:ed5fb7d22d46 user: Valentin Bartenev date: Thu May 15 19:22:06 2014 +0400 description: SPDY: set log action for PROXY protocol only while parsing it. Handling of PROXY protocol for SPDY connection is

[nginx] SPDY: fixed operator precedence in uint16/uint32 write m...

2014-05-30 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/34d460c5d186 branches: changeset: 5716:34d460c5d186 user: Valentin Bartenev date: Thu May 29 21:15:19 2014 +0400 description: SPDY: fixed operator precedence in uint16/uint32 write macros. Since the type cast has precedence higher than the bit

  1   2   3   4   5   >