On Thu, Mar 29, 2018 at 08:51:08AM +0000, Antonio Nappa wrote: > Hi, > > I was wondering what happens with ngx_write_fd function and multiple > workers, I have made some tests and it doesn't look like they are > interfering with each other and writing in the middle of a line. However I > am not sure, that's the reason of my question. The file was opened with the > ngx_conf_opby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/fdd6a070d518 branches: changeset: 7248:fdd6a070d518 user: Ruslan Ermilov <ru@nginx.com> date: Thu Mar 22 18:13:33 2018 +0300 description: Improved code readability (closes #1512). diffstat: src/core/nginx.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines): diff -r b329c0ab1a48 -r fdd6a070d518 src/core/nginxby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/190591ab0d76 branches: changeset: 7241:190591ab0d76 user: Ruslan Ermilov <ru@nginx.com> date: Mon Mar 19 21:32:15 2018 +0300 description: HTTP/2: improved frame info debugging. diffstat: src/http/v2/ngx_http_v2.c | 7 +++++-- src/http/v2/ngx_http_v2_filter_module.c | 6 +++--- 2 files changed, 8 insertions(+), 5 deletionby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/400a3412b1e3 branches: changeset: 7239:400a3412b1e3 user: Ruslan Ermilov <ru@nginx.com> date: Mon Mar 19 16:28:23 2018 +0300 description: Fixed checking ngx_tcp_push() and ngx_tcp_nopush() return values. No functional changes. diffstat: src/http/ngx_http_upstream.c | 2 +- src/os/unix/ngx_freebsd_sendfile_chain.c | 2 +-by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/06cf0c4b8618 branches: changeset: 7238:06cf0c4b8618 user: Ruslan Ermilov <ru@nginx.com> date: Mon Mar 19 16:22:09 2018 +0300 description: Upstream: fixed comments after 13f8dec720b5. The fields "uri", "location", and "url" from ngx_http_upstream_conf_t moved to ngx_http_proxy_loc_conf_t and ngx_http_proxy_varby ru@nginx.com - Nginx Development
On Thu, Mar 08, 2018 at 08:42:06AM +0800, Junwang Zhao wrote: > I'm a little bit confused why the diffs are equal to each other, > ASAICS, the changed code removed the effect of 'flags'? > > Can you explain a little bit since I just began to read the code base :) "flags | ~NGX_HTTP_VAR_WEAK" would either evaluate to "all bits set" or "all bits set except NGX_by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/0b1eb40de6da branches: changeset: 7226:0b1eb40de6da user: Ruslan Ermilov <ru@nginx.com> date: Wed Mar 07 18:28:12 2018 +0300 description: Improved code readablity. No functional changes. diffstat: src/http/ngx_http_variables.c | 8 ++++++-- src/stream/ngx_stream_variables.c | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletby ru@nginx.com - Nginx Development
On Tue, Mar 06, 2018 at 10:38:21PM -0500, Sergey Sandler wrote: > Thank you, Valentin. > > There is something I am missing. Please see the start of the error.log > below, > > 2018/03/04 14:05:50 5144#9212: using the "select" event method > 2018/03/04 14:05:50 5144#9212: using the "select" event method > 2018/03/04 14:05:50 5144#9212: nginx/1.12.2 &gby ru@nginx.com - Nginx Mailing List - English
On Mon, Mar 05, 2018 at 11:11:08AM +0800, Haitao Lv wrote: [...] > > @@ -145,10 +152,6 @@ ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b) > > case sw_start: > > r->request_start = p; > > > > - if (ch == CR || ch == LF) { > > - break; > > - } > > - > > I think Nginx sby ru@nginx.com - Nginx Development
On Sun, Mar 04, 2018 at 10:36:43PM -0800, tokers wrote: > # HG changeset patch > # User Alex Zhang <zchao1995@gmail.com> > # Date 1520229178 -28800 > # Mon Mar 05 13:52:58 2018 +0800 > # Node ID 03ecef37a93d541e55802393636c101a4da14550 > # Parent 265c29b0b8b8c54b1c623268481ed85324ce3c79 > HTTP/2: used bitwise operation to replace division and modulo. > > Sigby ru@nginx.com - Nginx Development
On Tue, Feb 27, 2018 at 10:17:07AM +0300, Nick Lavlinsky - Method Lab wrote: > Здравствуйте! > > Начал тестировать http2_push сразу после релиза. Появилось 2 вопроса. > > 1. Есть ли возможность пушить ресурсы до ответа на основной запрос (так > делает уby ru@nginx.com - Nginx Mailing List - Russian
details: http://hg.nginx.org/nginx/rev/aa60f5799a4c branches: changeset: 7216:aa60f5799a4c user: Ruslan Ermilov <ru@nginx.com> date: Thu Feb 22 12:42:29 2018 +0300 description: HTTP/2: style. Unified the style of validity checks in ngx_http_v2_validate_header(). diffstat: src/http/v2/ngx_http_v2.c | 21 ++++----------------- 1 files changed, 4 insertions(+), 17 deletions(-by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/88aad69eccef branches: changeset: 7214:88aad69eccef user: Ruslan Ermilov <ru@nginx.com> date: Wed Feb 21 15:50:43 2018 +0300 description: Geo: optimized configuration parser. If the geo block parser has failed, doing more things is pointless. diffstat: src/http/modules/ngx_http_geo_module.c | 6 +++++- src/stream/ngx_stream_geo_moduleby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/c69c13f10502 branches: changeset: 7213:c69c13f10502 user: Ruslan Ermilov <ru@nginx.com> date: Wed Feb 21 15:50:42 2018 +0300 description: Geo: fixed memory allocation error handling (closes #1482). If during configuration parsing of the geo directive the memory allocation has failed, pool used to parse configuration inside the block, andby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/0237af43d409 branches: changeset: 7212:0237af43d409 user: Ruslan Ermilov <ru@nginx.com> date: Wed Feb 21 15:50:35 2018 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines): diff -r c91356fdd802 -r 0237af43d409 src/core/nginx.h --- a/src/core/nginx.h Tuby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/affeb6ef732c branches: changeset: 7208:affeb6ef732c user: Ruslan Ermilov <ru@nginx.com> date: Thu Feb 15 17:51:37 2018 +0300 description: HTTP/2: fixed ngx_http_v2_push_stream() allocation error handling. In particular, if a stream object allocation failed, and a client sent the PRIORITY frame for this stream, ngx_http_v2_set_dependency()by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/3d2b0b02bd3d branches: changeset: 7207:3d2b0b02bd3d user: Ruslan Ermilov <ru@nginx.com> date: Thu Feb 15 17:51:32 2018 +0300 description: HTTP/2: push additional request headers (closes #1478). The Accept-Encoding, Accept-Language, and User-Agent header fields are now copied from the original request to pushed requests. diffstat: auto/by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/33edea74bd58 branches: changeset: 7206:33edea74bd58 user: Ruslan Ermilov <ru@nginx.com> date: Thu Feb 15 17:51:26 2018 +0300 description: Expose more headers with NGX_HTTP_HEADERS. diffstat: src/http/ngx_http_request.c | 2 +- src/http/ngx_http_request.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diffs (24 lines): diffby ru@nginx.com - Nginx Development
On Wed, Feb 14, 2018 at 06:19:01PM -0500, George wrote: > thanks Ruslan for the update appreciate all your work and looking forward to > playing with HTTP/2 Push finally ! :) Start off right today: https://www.youtube.com/watch?v=wR1gF5Lhcq0 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginxby ru@nginx.com - Nginx Mailing List - English
On Tue, Feb 13, 2018 at 04:31:17PM +0300, Maxim Dounin wrote: > Hello! > > On Tue, Feb 13, 2018 at 12:21:36PM +0000, Alessandro Ghedini wrote: > > > On Fri, Feb 09, 2018 at 10:35:59AM +0300, Ruslan Ermilov wrote: > > > On Thu, Feb 08, 2018 at 07:48:25PM +0000, Alessandro Ghedini wrote: > > > > On Thu, Feb 08, 2018 at 10:00:27PM +0300, Maxim Dounin wrote: &gby ru@nginx.com - Nginx Development
On Sat, Feb 10, 2018 at 01:21:16PM -0500, George wrote: > Hi compiled Nginx 1.13.9 from master branch to try out HTTP/2 Server Push > but noticed the pushed assets loose their gzip compression and are served as > non-compressed assets ? Is that as intended ? I posted my findings at > https://community.centminmod.com/threads/hurray-http-2-server-push-for-nginx.11910/#post-59411 > &gby ru@nginx.com - Nginx Mailing List - English
On Tue, Feb 13, 2018 at 11:58:40AM +0000, Alessandro Ghedini wrote: > If it's of any help, I merged your patch and mine into one, which copies the > headers (excluding Accept) into PUSH_PROMISE and r->headers_in like my original > patch did, as well as HPACK encode them into PUSH_PROMISE instead of writing > them as literal strings, as your patch did. This fixes the problems I mentiby ru@nginx.com - Nginx Development
On Mon, Feb 12, 2018 at 12:35:13PM +0000, Alessandro Ghedini wrote: > # HG changeset patch > # User Alessandro Ghedini <alessandro@ghedini.me> > # Date 1518438578 0 > # Mon Feb 12 12:29:38 2018 +0000 > # Branch http2-push-header > # Node ID 4eb0c9e8da0bc52065578e4ee78df1833617ac35 > # Parent a49af443656f2b65ca5de9d8cad5594f44e18ff7 > HTTP/2: added support for seby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/8b0553239592 branches: changeset: 7203:8b0553239592 user: Ruslan Ermilov <ru@nginx.com> date: Fri Feb 09 23:20:08 2018 +0300 description: HTTP/2: fixed null pointer dereference with server push. r->headers_in.host can be NULL in ngx_http_v2_push_resource(). This happens when a request is terminated with 400 before the :authority or Hoby ru@nginx.com - Nginx Development
On Fri, Feb 09, 2018 at 11:38:36PM +0300, Slawa Olhovchenkov wrote: > On Fri, Feb 09, 2018 at 10:27:22PM +0300, Ruslan Ermilov wrote: > > > On Fri, Feb 09, 2018 at 04:35:05PM +0300, Slawa Olhovchenkov wrote: > > > On Fri, Feb 09, 2018 at 04:26:42PM +0300, Ruslan Ermilov wrote: > > > > > > > On Fri, Feb 09, 2018 at 04:11:16PM +0300, Slawa Olhovchenkov wroby ru@nginx.com - Nginx Mailing List - Russian
On Fri, Feb 09, 2018 at 05:37:49PM +0300, Slawa Olhovchenkov wrote: > On Fri, Feb 09, 2018 at 04:32:35PM +0200, Alex Vorona wrote: > > > Привет, > > > > 09.02.18 15:35, Slawa Olhovchenkov wrote: > > [...] > > > > > ну хочется указать accesslog. с кучей параметров (ну там путь, > > > буфереby ru@nginx.com - Nginx Mailing List - Russian
On Fri, Feb 09, 2018 at 04:35:05PM +0300, Slawa Olhovchenkov wrote: > On Fri, Feb 09, 2018 at 04:26:42PM +0300, Ruslan Ermilov wrote: > > > On Fri, Feb 09, 2018 at 04:11:16PM +0300, Slawa Olhovchenkov wrote: > > > On Fri, Feb 09, 2018 at 04:01:09PM +0300, Maxim Dounin wrote: > > > > > > > Hello! > > > > > > > > On Fri, Feb 09, 20by ru@nginx.com - Nginx Mailing List - Russian
On Fri, Feb 09, 2018 at 04:11:16PM +0300, Slawa Olhovchenkov wrote: > On Fri, Feb 09, 2018 at 04:01:09PM +0300, Maxim Dounin wrote: > > > Hello! > > > > On Fri, Feb 09, 2018 at 12:38:32PM +0300, CoDDoC wrote: > > > > [...] > > > > > access_log в нижестоящем контексте отменяет все вышестоящие? > >by ru@nginx.com - Nginx Mailing List - Russian
On Thu, Feb 08, 2018 at 07:48:25PM +0000, Alessandro Ghedini wrote: > On Thu, Feb 08, 2018 at 10:00:27PM +0300, Maxim Dounin wrote: > > On Thu, Feb 08, 2018 at 04:52:59PM +0000, Alessandro Ghedini wrote: > > > > > # HG changeset patch > > > # User Alessandro Ghedini <alessandro@ghedini.me> > > > # Date 1518108716 0 > > > # Thu Feb 08 1by ru@nginx.com - Nginx Development
On Thu, Feb 08, 2018 at 08:04:57PM +0000, Alessandro Ghedini wrote: > On Thu, Feb 08, 2018 at 10:18:54PM +0300, Maxim Dounin wrote: > > Hello! > > > > On Thu, Feb 08, 2018 at 05:07:49PM +0000, Alessandro Ghedini wrote: > > > > > On Thu, Feb 08, 2018 at 05:04:58PM +0000, Alessandro Ghedini wrote: > > > > # HG changeset patch > > > > # Usby ru@nginx.com - Nginx Development