[nginx] Mp4: fix seeks after the last key frame.

2014-01-29 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/847c308917af branches: changeset: 5542:847c308917af user: Roman Arutyunyan date: Wed Jan 29 13:30:36 2014 +0400 description: Mp4: fix seeks after the last key frame. Mp4 module does not allow seeks after the last key frame. Since stss atom

[nginx] Mp4: skip tracks shorter than seek position (ticket #414).

2014-01-29 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/5730c0193842 branches: changeset: 5543:5730c0193842 user: Roman Arutyunyan date: Wed Jan 29 13:33:45 2014 +0400 description: Mp4: skip tracks shorter than seek position (ticket #414). Mp4 module does not check movie and track durations when

[nginx] Mp4: fix seeks to standalone last chunk.

2014-01-29 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/2f586f1684fa branches: changeset: 5544:2f586f1684fa user: Roman Arutyunyan date: Wed Jan 29 13:44:15 2014 +0400 description: Mp4: fix seeks to standalone last chunk. If seek position is within the last track chunk and that chunk is standalone

[nginx] Mp4: remove useless leading stsc entry in result mp4.

2014-02-14 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/e280ece17020 branches: changeset: 5578:e280ece17020 user: Roman Arutyunyan date: Fri Feb 14 15:14:48 2014 +0400 description: Mp4: remove useless leading stsc entry in result mp4. The fix removes useless stsc entry in result mp4. If

[nginx] Version bump.

2014-03-04 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/375a861d946b branches: changeset: 5598:375a861d946b user: Roman Arutyunyan date: Tue Mar 04 23:38:31 2014 +0400 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] MIME: added video/mp2t and application/vnd.apple.mpegurl...

2014-03-04 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/68e41f0cb207 branches: changeset: 5599:68e41f0cb207 user: Roman Arutyunyan date: Tue Mar 04 23:40:35 2014 +0400 description: MIME: added video/mp2t and application/vnd.apple.mpegurl types. Both types are used by HLS. The values are taken from

[nginx] Added server-side support for PROXY protocol v1 (ticket ...

2014-03-17 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/3a72b1805c52 branches: changeset: 5605:3a72b1805c52 user: Roman Arutyunyan date: Mon Mar 17 17:41:24 2014 +0400 description: Added server-side support for PROXY protocol v1 (ticket #355). Client address specified in the PROXY protocol header

[nginx] Mp4: moved atom cropping code out of update functions.

2014-03-20 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/517b5b599e3f branches: changeset: 5619:517b5b599e3f user: Roman Arutyunyan date: Thu Mar 20 16:05:18 2014 +0400 description: Mp4: moved atom cropping code out of update functions. It can now be reused for implementing mp4 end. diffstat: src

[nginx] Mp4: added "end" argument support.

2014-03-20 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/0a567878254b branches: changeset: 5620:0a567878254b user: Roman Arutyunyan date: Thu Mar 20 16:05:19 2014 +0400 description: Mp4: added "end" argument support. diffstat: src/http/modules/ngx_http_mp4_modul

[nginx] Mp4: fixed seeking to a track end.

2014-03-31 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/c7bbc5fcf27c branches: changeset: 5629:c7bbc5fcf27c user: Roman Arutyunyan date: Mon Mar 31 19:52:17 2014 +0400 description: Mp4: fixed seeking to a track end. When "start" value is equal to a track duration the request fails with &q

[nginx] Mp4: improved logging after adding "end" support.

2014-03-31 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/02584b335727 branches: changeset: 5630:02584b335727 user: Roman Arutyunyan date: Mon Mar 31 20:05:53 2014 +0400 description: Mp4: improved logging after adding "end" support. Despite introducing start and end crop operations ex

[nginx] Mp4: allow end values bigger than track duration.

2014-04-01 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/0c0dd1aacdf5 branches: changeset: 5638:0c0dd1aacdf5 user: Roman Arutyunyan date: Tue Apr 01 20:53:18 2014 +0400 description: Mp4: allow end values bigger than track duration. If start time is within the track but end time is out of it, error

Re: Maybe Comment Bug

2014-05-13 Thread Roman Arutyunyan
Hello, Obviously, "no_mdat" is true if moov resides before mdat. On May 14, 2014, at 6:59 AM, liubin wrote: > Hi: > As i new to mp4 file format,i confused about the comment. > "send original file if moov atom resides before mdat atom and client > requests integral file” > Sho

Re: mp4_module doubt

2014-05-17 Thread Roman Arutyunyan
Hello, The mp4 module does not align start time to key frames. If you specify unaligned start time you'll get video stream starting with a non-key frame. Most players just ignore video data until the first key frame. On May 17, 2014, at 5:55 PM, liubin wrote: > Hello: > I have a question

Re: mp4_module doubt

2014-05-18 Thread Roman Arutyunyan
Hello, No plans for this feature yet. What is your exact use case? What is the software you have problems with? On May 18, 2014, at 4:22 PM, liubin wrote: > Hello, > Thanks for your reply.And is it necessary to optimize it? >> Date: Sat, 17 May 2014 20:26:36 +0400 &g

Re: mp4_module doubt

2014-05-19 Thread Roman Arutyunyan
eset patch # User Roman Arutyunyan # Date 1400496445 -14400 # Mon May 19 14:47:25 2014 +0400 # Node ID fccafb910a3361e3e2d6ca8afd6edfb576444997 # Parent 3a48775f1535fe37cd9c034d92c5a5e9ae208c1e Mp4: align start to video key frame. The new directive mp4_align_start adjusts start time to make the

Re: [PATCH] HTTP upstream: added possibility to specify variables for the ip_hash directive

2014-05-22 Thread Roman Arutyunyan
On 22 May 2014, at 11:32, Alexey K. wrote: > # HG changeset patch > # User Alexey K. > # Date 1400743228 -21600 > # Thu May 22 13:20:28 2014 +0600 > # Node ID cbfb9bc7dc93c10baaa80571665ca1231afdafe9 > # Parent d5b8ee9f2201e1d9fa7ac41da9a4a8d939cd42b1 > HTTP upstream: added possibility to

[nginx] Upstream: fix tries check in ip_hash.

2014-05-23 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/a2bf26774cd3 branches: changeset: 5706:a2bf26774cd3 user: Roman Arutyunyan date: Fri May 23 13:47:05 2014 +0400 description: Upstream: fix tries check in ip_hash. Make two checks for maximum number of tries consistent. The other one checks

[nginx] Upstream: generic hash module.

2014-06-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/efc84a5723b3 branches: changeset: 5717:efc84a5723b3 user: Roman Arutyunyan date: Mon Jun 02 16:16:22 2014 +0400 description: Upstream: generic hash module. diffstat: auto/modules |5 + auto/options

Re: Regarding using of nginx http load balancer

2014-08-05 Thread Roman Arutyunyan
On 05 Aug 2014, at 12:58, Pankaj Kaushik wrote: > Hey Piotr, > > > > On Tue, Aug 5, 2014 at 2:21 PM, Piotr Sikora wrote: > > What's wrong with "hash" [1]? > > [1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash > > > > As mentioned in the syntax at above link:- > > Syn

Re: Regarding using of nginx http load balancer

2014-08-05 Thread Roman Arutyunyan
On 05 Aug 2014, at 15:11, Pankaj Kaushik wrote: > Hey Roman, > > I do not actually get the idea how to use map in below scenario. > > Suppose i have two form of uri as mentioned below:- > > URI 1 : http://abc.10.23.32.22:2000/testFile > > URI 2 : http://10.20.32.23:2000/def/testFile > > So

Re: if-range issue

2014-08-13 Thread Roman Arutyunyan
Hello, Etag value must be a quoted string. Please add double quotes to ETag and If-Range arguments and try again. RFC7232 / Section 2.3 ETag = entity-tag entity-tag = [ weak ] opaque-tag weak = %x57.2F ; "W/", case-sensitive opaque-tag = DQUOTE *etagc DQUOTE

[nginx] Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom().

2014-08-19 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/6d468b45f40e branches: changeset: 5807:6d468b45f40e user: Roman Arutyunyan date: Tue Aug 19 14:13:39 2014 +0400 description: Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom(). Reported by Gang Li. diffstat: src/http/modu

Re: [PATCH] Mp4: use trak->smhd_size in ngx_http_mp4_read_smhd_atom()

2014-08-19 Thread Roman Arutyunyan
Committed, thanks. On 16 Aug 2014, at 18:00, portl4t...@gmail.com wrote: > # HG changeset patch > # User Gang Li > # Date 1408195574 -28800 > # Sat Aug 16 21:26:14 2014 +0800 > # Node ID 083b9aeb29bce7b18171cd6df5bcd5f34b9e2f1b > # Parent 79553cb7774753f9c40a6fa6744b0e0611e41908 > Mp4: use

[nginx] Upstream: suppressed the file cache slab allocator error...

2014-09-05 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/063f7e75f9ef branches: changeset: 5822:063f7e75f9ef user: Roman Arutyunyan date: Fri Sep 05 18:14:59 2014 +0400 description: Upstream: suppressed the file cache slab allocator error messages. The messages "ngx_slab_alloc() failed: no memo

[nginx] Upstream: included backup peers into peer.tries.

2014-09-12 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/575175ebf4b4 branches: changeset: 5831:575175ebf4b4 user: Roman Arutyunyan date: Fri Sep 12 18:50:46 2014 +0400 description: Upstream: included backup peers into peer.tries. Since peer.tries is never reset it can now be limited if required

[nginx] Upstream: limited next_upstream time and tries (ticket #...

2014-09-12 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/d09b689911ac branches: changeset: 5832:d09b689911ac user: Roman Arutyunyan date: Fri Sep 12 18:50:47 2014 +0400 description: Upstream: limited next_upstream time and tries (ticket #544). The new directives {proxy,fastcgi,scgi,uwsgi,memcached

[nginx] Upstream: fixed file buffers reinit in ngx_http_upstream...

2014-09-18 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/106a8bfa4f42 branches: changeset: 5848:106a8bfa4f42 user: Roman Arutyunyan date: Thu Sep 18 16:37:16 2014 +0400 description: Upstream: fixed file buffers reinit in ngx_http_upstream_reinit(). Previously, a file buffer start position was reset

[nginx] FastCGI: fixed start pointers in request buffers.

2014-09-18 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/52b4984d2b3c branches: changeset: 5847:52b4984d2b3c user: Roman Arutyunyan date: Thu Sep 18 16:37:14 2014 +0400 description: FastCGI: fixed start pointers in request buffers. The start pointers are used in ngx_http_upstream_reinit() to reinit

Re: [PATCH] Upstream: add $upstream_cache_age variable

2014-10-03 Thread Roman Arutyunyan
On 03 Oct 2014, at 01:22, Piotr Sikora wrote: > # HG changeset patch > # User Piotr Sikora > # Date 1412284916 25200 > # Thu Oct 02 14:21:56 2014 -0700 > # Node ID 488aa8f86041dbe99a8f8ebbb3df533b9ce3e19e > # Parent a215d9021f137b9e2d4f69c37c7f992a2bef12c6 > Upstream: add $upstream_cache_

Re: [PATCH] Upstream: add $upstream_cache_age variable

2014-10-06 Thread Roman Arutyunyan
On 03 Oct 2014, at 21:24, Piotr Sikora wrote: > # HG changeset patch > # User Piotr Sikora > # Date 1412356980 25200 > # Fri Oct 03 10:23:00 2014 -0700 > # Node ID f343adae412afce435a18384b0aad052405a393b > # Parent 6bbad2e732458bf53771e80c63a654b3d7f61963 > Upstream: add $upstream_cache_

[nginx] Upstream: proxy_force_ranges and friends.

2014-10-14 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/2aff40b3dea2 branches: changeset: 5874:2aff40b3dea2 user: Roman Arutyunyan date: Tue Oct 14 18:32:01 2014 +0400 description: Upstream: proxy_force_ranges and friends. The directives enable byte ranges for both cached and uncached responses

[nginx] Upstream: proxy_limit_rate and friends.

2014-10-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/973ee2276300 branches: changeset: 5883:973ee2276300 user: Roman Arutyunyan date: Tue Oct 28 12:29:59 2014 +0300 description: Upstream: proxy_limit_rate and friends. The directives limit the upstream read rate. For example, "proxy_limit

[nginx] Write filter: stored delay in a variable, no functional ...

2014-10-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/8486205d10db branches: changeset: 5884:8486205d10db user: Roman Arutyunyan date: Tue Oct 28 12:29:59 2014 +0300 description: Write filter: stored delay in a variable, no functional changes. The code is now similar to

[nginx] Core: added limit to recv_chain().

2014-10-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/ec81934727a1 branches: changeset: 5882:ec81934727a1 user: Roman Arutyunyan date: Tue Oct 28 12:29:58 2014 +0300 description: Core: added limit to recv_chain(). diffstat: src/event/ngx_event_openssl.c| 19 +++ src/event

[nginx] Upstream: limited next_upstream time and tries when reso...

2014-10-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/5a042519bfe7 branches: changeset: 5885:5a042519bfe7 user: Gu Feng date: Mon Oct 27 19:52:03 2014 +0800 description: Upstream: limited next_upstream time and tries when resolving DNS. When got multiple upstream IP addresses using DNS resolving,

Re: [PATCH] Upstream: limited next_upstream time and tries when resolving DNS

2014-10-28 Thread Roman Arutyunyan
On 27 Oct 2014, at 14:53, Gu Feng wrote: > # HG changeset patch > # User Gu Feng > # Date 1414410723 -28800 > # Mon Oct 27 19:52:03 2014 +0800 > # Node ID ccc3b86835da54273c333e7d6a00f68e0b0e6c27 > # Parent 973fded4f461f3a397779b3a1dc80881b1b34974 > Upstream: limited next_upstream time an

[nginx] Cache: proxy_cache_lock_age and friends.

2014-11-18 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/2f7e557eab5b branches: changeset: 5905:2f7e557eab5b user: Roman Arutyunyan date: Tue Nov 18 20:41:12 2014 +0300 description: Cache: proxy_cache_lock_age and friends. Once this age is reached, the cache lock is discarded and another request can

[nginx] Upstream: moved header initializations to separate funct...

2014-11-19 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/195561ef367f branches: changeset: 5907:195561ef367f user: Roman Arutyunyan date: Wed Nov 19 17:33:21 2014 +0300 description: Upstream: moved header initializations to separate functions. No functional changes. diffstat: src/http/modules

[nginx] Upstream: moved header lists to separate structures.

2014-11-19 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/f8e80f8c7fc7 branches: changeset: 5908:f8e80f8c7fc7 user: Roman Arutyunyan date: Wed Nov 19 17:33:22 2014 +0300 description: Upstream: moved header lists to separate structures. No functional changes. diffstat: src/http/modules

[nginx] Proxy: renamed and rearranged fields in proxy configurat...

2014-11-19 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/29fa5023bd6f branches: changeset: 5910:29fa5023bd6f user: Roman Arutyunyan date: Wed Nov 19 17:33:24 2014 +0300 description: Proxy: renamed and rearranged fields in proxy configuration. No functional changes. diffstat: src/http/modules

[nginx] Scgi: do not push redundant NULL element into conf->params.

2014-11-19 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/548f704c1907 branches: changeset: 5906:548f704c1907 user: Roman Arutyunyan date: Wed Nov 19 17:33:21 2014 +0300 description: Scgi: do not push redundant NULL element into conf->params. diffstat: src/http/modules/ngx_http_scgi_module.c |

[nginx] Upstream: different header lists for cached and uncached...

2014-11-19 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/8d0cf26ce071 branches: changeset: 5909:8d0cf26ce071 user: Roman Arutyunyan date: Wed Nov 19 17:33:23 2014 +0300 description: Upstream: different header lists for cached and uncached requests. The upstream modules remove and alter a number of

Re: [PATCH] Upstream: add use_temp_path=tmp to proxy_cache_path and friends

2015-01-06 Thread Roman Arutyunyan
On 06 Jan 2015, at 06:15, Piotr Sikora wrote: > # HG changeset patch > # User Piotr Sikora > # Date 1420514028 28800 > # Mon Jan 05 19:13:48 2015 -0800 > # Node ID e7596cd5b480c9cbabe583a8f47301e32fdf179a > # Parent e9effef98874c619326ec11e25b11333225cf797 > Upstream: add use_temp_path=tm

[nginx] Core: supported directory skipping in ngx_walk_tree().

2015-02-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/863d9de1e62b branches: changeset: 5967:863d9de1e62b user: Roman Arutyunyan date: Mon Feb 02 19:38:32 2015 +0300 description: Core: supported directory skipping in ngx_walk_tree(). If pre_tree_handler() returns NGX_DECLINED, the directory is

[nginx] Cache: added temp_path to file cache.

2015-02-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/99639bfdfa2a branches: changeset: 5968:99639bfdfa2a user: Roman Arutyunyan date: Mon Feb 02 19:38:35 2015 +0300 description: Cache: added temp_path to file cache. If use_temp_path is set to off, a subdirectory "temp" is created in

[nginx] Core: reverted prefix-based temp files (a9138c35120d).

2015-02-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/3281de8142f5 branches: changeset: 5969:3281de8142f5 user: Roman Arutyunyan date: Mon Feb 02 21:28:09 2015 +0300 description: Core: reverted prefix-based temp files (a9138c35120d). The use_temp_path http cache feature is now implemented using a

Re: [PATCH] Upstream: add use_temp_path=tmp to proxy_cache_path and friends

2015-02-02 Thread Roman Arutyunyan
iple file systems (via multiple cache paths, each with its > own "tmp") for the last 2 years. > > Best regards, > Piotr Sikora > > ___ > nginx-devel mailing list > nginx-devel@nginx.org >

[nginx] Core: fixed a race resulting in extra sem_post()'s.

2015-02-04 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/74edc0ccf27a branches: changeset: 5970:74edc0ccf27a user: Roman Arutyunyan date: Wed Feb 04 16:22:43 2015 +0300 description: Core: fixed a race resulting in extra sem_post()'s. The mtx->wait counter was not decremented if we were

[nginx] Core: make ngx_connection_local_sockaddr() always assign...

2015-02-17 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/69c4912066a4 branches: changeset: 5983:69c4912066a4 user: Roman Arutyunyan date: Tue Feb 17 14:26:44 2015 +0300 description: Core: make ngx_connection_local_sockaddr() always assign address. Previously, this function checked for connection

Re: [PATCH] Upstream hash: speedup consistent hash init

2015-02-18 Thread Roman Arutyunyan
, only the first is kept. In this change, all > are included. This is the intended behaviour. Consistent hash array is build over server entries, but not addresses resolved from them. Duplicate points are ignored since most likely they refer to multiple

[nginx] Upstream hash: speedup consistent hash init.

2015-03-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/435ee290c2e1 branches: changeset: 5991:435ee290c2e1 user: Roman Arutyunyan date: Mon Mar 02 18:41:29 2015 +0300 description: Upstream hash: speedup consistent hash init. Repeatedly calling ngx_http_upstream_add_chash_point() to create the

Re: [PATCH] Upstream hash: speedup consistent hash init

2015-03-02 Thread Roman Arutyunyan
Hello! On Thu, Feb 19, 2015 at 01:33:03PM +0800, Wai Keen Woon wrote: > On 2/18/2015 8:49 PM, Roman Arutyunyan wrote: > >>Note that in the original implementation, if there are points > >>with duplicate hash, only the first is kept. In this change, all > >>are inc

[nginx] Cache: do not inherit last_modified and etag from stale ...

2015-03-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/174512857ccf branches: changeset: 5992:174512857ccf user: Roman Arutyunyan date: Mon Mar 02 19:47:13 2015 +0300 description: Cache: do not inherit last_modified and etag from stale response. When replacing a stale cache entry, its

Re: cache revalidation bug

2015-03-02 Thread Roman Arutyunyan
.0¦0.000¦GET > /pica.jpg HTTP/1.1¦80¦HIT¦-¦-¦OK¦[backend.server]¦ > > > [Placed file back on backend server (copy), file has timestamp of current time > 404 expires, revalidation is done??, because times stamp of file is newer > then time the 404 was fetched/cached it actually fetches the file >

[nginx] SSL: reset ready flag if recv(MSG_PEEK) found no bytes i...

2015-03-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/5b549cc7f698 branches: changeset: 5993:5b549cc7f698 user: Roman Arutyunyan date: Mon Mar 02 21:15:46 2015 +0300 description: SSL: reset ready flag if recv(MSG_PEEK) found no bytes in socket. Previously, connection hung after calling

Re: SSL+ProxyProtocol: Fix connection hang when a header-only packet is received

2015-03-02 Thread Roman Arutyunyan
Hello James, On Sun, Mar 01, 2015 at 06:24:28PM -0800, James Hamlin wrote: > # HG changeset patch > # User James Hamlin > # Date 1425260813 28800 > # Sun Mar 01 17:46:53 2015 -0800 > # Branch fix-deferred-with-proxy-protocol > # Node ID 3835928c9e046bab0f6bc8d35d3ede468b6a07ce > # Parent 6a

[nginx] Proxy: fixed proxy_request_buffering and chunked with pr...

2015-03-26 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/24ccec3c4a87 branches: changeset: 6056:24ccec3c4a87 user: Maxim Dounin date: Thu Mar 26 02:31:30 2015 +0300 description: Proxy: fixed proxy_request_buffering and chunked with preread body. If any preread body bytes were sent in the first chain,

Re: [PATCH] memcached_force_ranges for memcached upstream

2015-04-21 Thread Roman Arutyunyan
Hello! On Tue, Apr 21, 2015 at 01:37:52PM +0200, Martin Mlynář wrote: > # HG changeset patch > # User Martin Mlynář > # Date 1429613281 -7200 > # Tue Apr 21 12:48:01 2015 +0200 > # Node ID 4cb149154501fc638596ab51031f8b3b64da2a7f > # Parent 1bdfceda86a99a4dc99934181d2f9e2632003ca8 > memcach

Re: [PATCH] memcached_force_ranges for memcached upstream

2015-04-21 Thread Roman Arutyunyan
Hello, On Tue, Apr 21, 2015 at 03:45:12PM +0200, Martin Mlynář wrote: > Hello, > > Dne 2015-04-21 15:39, Roman Arutyunyan napsal: > >Hello! > > > >On Tue, Apr 21, 2015 at 01:37:52PM +0200, Martin Mlynář wrote: > >># HG changeset patch > >># Us

Re: [PATCH] memcached_force_ranges for memcached upstream

2015-04-21 Thread Roman Arutyunyan
On Tue, Apr 21, 2015 at 04:29:32PM +0200, Martin Mlynář wrote: > Hello, > > Dne 2015-04-21 15:53, Roman Arutyunyan napsal: > >Hello, > > > >On Tue, Apr 21, 2015 at 03:45:12PM +0200, Martin Mlynář wrote: > >>Hello, > >> > >>Dne 2015-04-21 15:

[nginx] Memcached: enabled ranges.

2015-04-22 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/85f00678e54a branches: changeset: 6122:85f00678e54a user: Martin Mlyn?? date: Tue Apr 21 21:04:36 2015 +0200 description: Memcached: enabled ranges. diffstat: src/http/modules/ngx_http_memcached_module.c | 1 + 1 files changed, 1 insertions(

Re: [PATCH] Enable ranges for memcached upstream module

2015-04-22 Thread Roman Arutyunyan
conf->index = NGX_CONF_UNSET; > conf->gzip_flag = NGX_CONF_UNSET_UINT; > ___ > nginx-devel mailing list > nginx-devel@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-devel Committed, thanks. -- Roman Arutyunyan ___

[nginx] Stream: prevent repeated event notifications after eof.

2015-04-22 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/f1f222db290b branches: changeset: 6124:f1f222db290b user: Roman Arutyunyan date: Wed Apr 22 19:55:04 2015 +0300 description: Stream: prevent repeated event notifications after eof. When client or upstream connection is closed, level-triggered

[nginx] Merge proxy_protocol setting of listen directives.

2015-04-24 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/69ad3e77922b branches: changeset: 6128:69ad3e77922b user: Roman Arutyunyan date: Fri Apr 24 10:54:06 2015 +0300 description: Merge proxy_protocol setting of listen directives. It's now enough to specify proxy_protocol option in one l

[nginx] Upstream keepalive: reduced diffs to the plus version of...

2015-06-05 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/87d48f8793b6 branches: changeset: 6167:87d48f8793b6 user: Roman Arutyunyan date: Thu Jun 04 23:46:44 2015 +0300 description: Upstream keepalive: reduced diffs to the plus version of nginx. diffstat: src/http/modules

[nginx] Stream: client-side PROXY protocol.

2015-06-16 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/fa663739e115 branches: changeset: 6184:fa663739e115 user: Roman Arutyunyan date: Tue Jun 16 13:45:16 2015 +0300 description: Stream: client-side PROXY protocol. The new directive "proxy_protocol" toggles sending out PROXY protocol

[nginx] Core: renamed ngx_proxy_protocol_parse to ngx_proxy_prot...

2015-06-16 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/a420cb1c170b branches: changeset: 6185:a420cb1c170b user: Roman Arutyunyan date: Tue Jun 16 13:45:19 2015 +0300 description: Core: renamed ngx_proxy_protocol_parse to ngx_proxy_protocol_read. The new name is consistent with the

[nginx] Stream: upstream and downstream limit rates.

2015-06-23 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/24488e6db782 branches: changeset: 6201:24488e6db782 user: Roman Arutyunyan date: Tue Jun 23 20:17:48 2015 +0300 description: Stream: upstream and downstream limit rates. diffstat: src/stream/ngx_stream_proxy_module.c | 125

[nginx] Stream: common handler for upstream and downstream.

2015-06-23 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/abee77018d3a branches: changeset: 6200:abee77018d3a user: Roman Arutyunyan date: Tue Jun 23 20:17:47 2015 +0300 description: Stream: common handler for upstream and downstream. diffstat: src/stream/ngx_stream_proxy_module.c | 49

[nginx] Stream: upstream "connected" flag.

2015-06-25 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/6345822f0abb branches: changeset: 6202:6345822f0abb user: Roman Arutyunyan date: Thu Jun 25 12:36:52 2015 +0300 description: Stream: upstream "connected" flag. Once upstream is connected, the upstream buffer is allocated. Previ

[nginx] Stream: fixed MSVC compilation warning.

2015-07-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/fdfdcad62875 branches: changeset: 6203:fdfdcad62875 user: Roman Arutyunyan date: Thu Jul 02 17:15:32 2015 +0300 description: Stream: fixed MSVC compilation warning. Thanks to itpp2012. diffstat: src/stream/ngx_stream_proxy_module.c | 2

[nginx] Stream: renamed rate limiting directives.

2015-07-14 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/7a14a0d754ad branches: changeset: 6208:7a14a0d754ad user: Roman Arutyunyan date: Tue Jul 14 09:38:13 2015 -0700 description: Stream: renamed rate limiting directives. The directive proxy_downstream_limit_rate is now called proxy_upload_rate

[nginx] Stream: added proxy_buffer_size to set the size of data ...

2015-07-30 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/8ee6a08ea3eb branches: changeset: 6215:8ee6a08ea3eb user: Roman Arutyunyan date: Wed Jul 29 13:46:26 2015 -0700 description: Stream: added proxy_buffer_size to set the size of data buffers. Both download and upload buffers now have the same

[nginx] Style.

2015-07-30 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/543f10fe34d2 branches: changeset: 6216:543f10fe34d2 user: Roman Arutyunyan date: Wed Jul 29 14:36:36 2015 -0700 description: Style. diffstat: src/stream/ngx_stream_proxy_module.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions

[nginx] Stream: deprecated proxy_downstream_buffer, proxy_upstre...

2015-07-30 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/b544f8e0d921 branches: changeset: 6217:b544f8e0d921 user: Roman Arutyunyan date: Thu Jul 30 16:43:48 2015 -0700 description: Stream: deprecated proxy_downstream_buffer, proxy_upstream_buffer. The directive proxy_buffer_size should be used

Re: [PATCH] Set Content-Length to 0 when proxying requests with discarded body

2015-08-07 Thread Roman Arutyunyan
al_chunked = 1; > > _______ > nginx-devel mailing list > nginx-devel@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx-devel > -- Roman Arutyunyan ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

[nginx] Upstream: fixed cache send error handling.

2015-09-03 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/0e3a45ec2a3a branches: changeset: 6242:0e3a45ec2a3a user: Roman Arutyunyan date: Thu Sep 03 15:09:21 2015 +0300 description: Upstream: fixed cache send error handling. The value of NGX_ERROR, returned from filter handlers, was treated as a

[nginx] Sub filter: fixed initialization in http{} level (ticket...

2015-09-21 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/fbbb1c1ce1eb branches: changeset: 6247:fbbb1c1ce1eb user: Roman Arutyunyan date: Mon Sep 21 23:08:34 2015 +0300 description: Sub filter: fixed initialization in http{} level (ticket #791). If sub_filter directive was only specified at http

Slice module

2015-09-29 Thread Roman Arutyunyan
header Range $slice_range; proxy_cache_valid 200 206 1h; proxy_pass http://127.0.0.1:9000; } Known issues The module can lead to excessive memory and file handle usage. Thanks for testing. -- Best wishes, Roman Arutyunyan diff -r 0f313cf0a1ee auto/modules --- a/auto/modules Tue Sep 22

Re: Slice module

2015-10-05 Thread Roman Arutyunyan
Hello, > On 05 Oct 2015, at 22:22, Woon Wai Keen wrote: > > On 30/9/2015 12:00 AM, Roman Arutyunyan wrote: >> Known issues >> >> >> The module can lead to excessive memory and file handle usage. > Hi Roman, thanks for sharing. Under what circ

[nginx] Stream: delete proxy connection timer after SSL handshake.

2015-10-05 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/4b4aee40c508 branches: changeset: 6258:4b4aee40c508 user: Ruslan Ermilov date: Tue Oct 06 08:57:09 2015 +0300 description: Stream: delete proxy connection timer after SSL handshake. The timer remained active and could drop active SSL connection

Re: Error handling from filter modules

2015-10-16 Thread Roman Arutyunyan
bad response generated from the current > state of r with no indication an error occurred? Calling ngx_http_finalize_request() is the most correct way to return an error from a filter handler. It does some additional cleanup, which can make sense in certain cases. -- Roman Arutyunyan _

Re: Error handling from filter modules

2015-10-16 Thread Roman Arutyunyan
> On 16 Oct 2015, at 15:22, Maxim Dounin wrote: > > Hello! > > On Fri, Oct 16, 2015 at 03:16:23PM +0300, Roman Arutyunyan wrote: > >>> So the question is do filters have to manually call >>> ngx_http_finalize_request(r, NGX_HTTP_INTERNAL_SERVER_ERROR);

[nginx] Upstream: proxy_cache_convert_head directive.

2015-11-11 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/4d5ac1a31d44 branches: changeset: 6290:4d5ac1a31d44 user: Roman Arutyunyan date: Wed Nov 11 15:47:30 2015 +0300 description: Upstream: proxy_cache_convert_head directive. The directive toggles conversion of HEAD to GET for cacheable proxy

[nginx] Slice filter.

2015-12-07 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/29f35e60840b branches: changeset: 6317:29f35e60840b user: Roman Arutyunyan date: Mon Dec 07 16:30:48 2015 +0300 description: Slice filter. Splits a request into subrequests, each providing a specific range of response. The variable

[nginx] Upstream: fill r->headers_out.content_range from upstrea...

2015-12-07 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/f44de0d12143 branches: changeset: 6316:f44de0d12143 user: Roman Arutyunyan date: Mon Dec 07 16:30:47 2015 +0300 description: Upstream: fill r->headers_out.content_range from upstream response. diffstat: src/http/ngx_http_upstream.c |

[nginx] Slice filter: never run subrequests when main request is...

2015-12-08 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/bc9ea464e354 branches: changeset: 6321:bc9ea464e354 user: Roman Arutyunyan date: Tue Dec 08 17:39:56 2015 +0300 description: Slice filter: never run subrequests when main request is buffered. With main request buffered, it's possible, t

[nginx] Slice filter: terminate first slice with last_in_chain f...

2015-12-08 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/4f0f4f02c98f branches: changeset: 6322:4f0f4f02c98f user: Roman Arutyunyan date: Tue Dec 08 17:39:56 2015 +0300 description: Slice filter: terminate first slice with last_in_chain flag. This flag makes sub filter flush buffered data and

Re: [PATCH] Core: Configurable 'npoints' for ngx_http_upstream_hash

2015-12-08 Thread Roman Arutyunyan
gx_conf_log_error(NGX_LOG_EMERG, cf, 0, > + "invalid npoints parameter \"%V\"", > &value[3]); > +return NGX_CONF_ERROR; > +} > + > +} else { > +hcf->npoints = 160; > +} >

[nginx] Resolver: renamed UDP-specific structures, fields and va...

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/d35b4d590b2d branches: changeset: 6365:d35b4d590b2d user: Roman Arutyunyan date: Thu Jan 28 15:28:20 2016 +0300 description: Resolver: renamed UDP-specific structures, fields and variables. They will be used for TCP connections as well

[nginx] Version bump.

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/7fbeb0651e38 branches: changeset: 6363:7fbeb0651e38 user: Roman Arutyunyan date: Thu Jan 28 15:25:58 2016 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14

[nginx] Resolver: TCP support.

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/5a16d40c63de branches: changeset: 6367:5a16d40c63de user: Roman Arutyunyan date: Thu Jan 28 15:28:20 2016 +0300 description: Resolver: TCP support. Resend DNS query over TCP once UDP response came truncated. diffstat: src/core

[nginx] Resolver: removed unused field from ngx_resolver_ctx_t.

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/69977457e1a6 branches: changeset: 6364:69977457e1a6 user: Roman Arutyunyan date: Thu Jan 28 15:28:19 2016 +0300 description: Resolver: removed unused field from ngx_resolver_ctx_t. diffstat: src/core/ngx_resolver.h | 4 +--- 1 files changed

[nginx] Resolver: per-request DNS server balancer.

2016-01-28 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/2e5c027f2a98 branches: changeset: 6366:2e5c027f2a98 user: Roman Arutyunyan date: Thu Jan 28 15:28:20 2016 +0300 description: Resolver: per-request DNS server balancer. Previously, a global server balancer was used to assign the next DNS server

[nginx] Resolver: free TCP buffers on resolver cleanup.

2016-02-02 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/06459bc8b92f branches: changeset: 6369:06459bc8b92f user: Roman Arutyunyan date: Tue Feb 02 13:42:55 2016 +0300 description: Resolver: free TCP buffers on resolver cleanup. diffstat: src/core/ngx_resolver.c | 10 ++ 1 files changed

Re: [nginx] Resolver: style.

2016-02-02 Thread Roman Arutyunyan
ec 17 17:21:12 2015 +0300 > description: > Resolver: style. > > Renamed argument in ngx_resolver_process_a() for consistency. Эти патчи смотрел. -- Roman Arutyunyan ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

Re: [nginx] Resolver: style.

2016-02-02 Thread Roman Arutyunyan
On Tue, Feb 02, 2016 at 01:53:49PM +0300, Roman Arutyunyan wrote: > On Tue, Feb 02, 2016 at 10:48:09AM +, Ruslan Ermilov wrote: > > details: http://hg.nginx.org/nginx/rev/a6a5bacf6b74 > > branches: > > changeset: 6372:a6a5bacf6b74 > > user: Ruslan Ermilov &

[nginx] Stream: removed useless typedef.

2016-02-11 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/4eb1b5c6d9c6 branches: changeset: 6392:4eb1b5c6d9c6 user: Roman Arutyunyan date: Thu Feb 11 14:20:22 2016 +0300 description: Stream: removed useless typedef. diffstat: src/stream/ngx_stream_proxy_module.c | 3 --- 1 files changed, 0

[nginx] Stream: initialize variable right before using it.

2016-02-11 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/70e6e1f12dee branches: changeset: 6393:70e6e1f12dee user: Roman Arutyunyan date: Thu Feb 11 14:20:26 2016 +0300 description: Stream: initialize variable right before using it. diffstat: src/stream/ngx_stream_proxy_module.c | 4 ++-- 1 files

  1   2   3   4   5   6   7   8   >