Hello community,

here is the log from the commit of package nginx for openSUSE:Factory checked 
in at 2018-05-07 14:54:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nginx (Old)
 and      /work/SRC/openSUSE:Factory/.nginx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nginx"

Mon May  7 14:54:05 2018 rev:23 rq:605071 version:1.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/nginx/nginx.changes      2018-04-11 
14:03:29.519548970 +0200
+++ /work/SRC/openSUSE:Factory/.nginx.new/nginx.changes 2018-05-07 
14:54:08.337177228 +0200
@@ -1,0 +2,10 @@
+Mon May  7 10:25:46 UTC 2018 - [email protected]
+
+- update to 1.14.0
+ * 1.14.x stable branch.
+
+- includes changes from 1.13.12
+ * bugfix connections with gRPC backends might be closed unexpectedly
+   when returning a large response. 
+
+-------------------------------------------------------------------

Old:
----
  nginx-1.13.11.tar.gz
  nginx-1.13.11.tar.gz.asc

New:
----
  nginx-1.14.0.tar.gz
  nginx-1.14.0.tar.gz.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nginx.spec ++++++
--- /var/tmp/diff_new_pack.GGXNVr/_old  2018-05-07 14:54:09.517140399 +0200
+++ /var/tmp/diff_new_pack.GGXNVr/_new  2018-05-07 14:54:09.517140399 +0200
@@ -70,7 +70,7 @@
 %define ngx_doc_dir    %{_datadir}/doc/packages/%{name}
 #
 Name:           nginx
-Version:        1.13.11
+Version:        1.14.0
 Release:        0
 %define ngx_fancyindex_version 0.4.2
 %define ngx_fancyindex_module_path ngx-fancyindex-%{ngx_fancyindex_version}

++++++ nginx-1.13.11.tar.gz -> nginx-1.14.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.13.11/CHANGES new/nginx-1.14.0/CHANGES
--- old/nginx-1.13.11/CHANGES   2018-04-03 16:38:20.000000000 +0200
+++ new/nginx-1.14.0/CHANGES    2018-04-17 17:22:42.000000000 +0200
@@ -1,4 +1,15 @@
 
+Changes with nginx 1.14.0                                        17 Apr 2018
+
+    *) 1.14.x stable branch.
+
+
+Changes with nginx 1.13.12                                       10 Apr 2018
+
+    *) Bugfix: connections with gRPC backends might be closed unexpectedly
+       when returning a large response.
+
+
 Changes with nginx 1.13.11                                       03 Apr 2018
 
     *) Feature: the "proxy_protocol" parameter of the "listen" directive now
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.13.11/CHANGES.ru new/nginx-1.14.0/CHANGES.ru
--- old/nginx-1.13.11/CHANGES.ru        2018-04-03 16:38:16.000000000 +0200
+++ new/nginx-1.14.0/CHANGES.ru 2018-04-17 17:22:40.000000000 +0200
@@ -1,4 +1,15 @@
 
+Изменения в nginx 1.14.0                                          17.04.2018
+
+    *) Стабильная ветка 1.14.x.
+
+
+Изменения в nginx 1.13.12                                         10.04.2018
+
+    *) Исправление: при возврате большого ответа соединения с gRPC-бэкендами
+       могли неожиданно закрываться.
+
+
 Изменения в nginx 1.13.11                                         03.04.2018
 
     *) Добавление: параметр proxy_protocol директивы listen теперь
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.13.11/src/core/nginx.h 
new/nginx-1.14.0/src/core/nginx.h
--- old/nginx-1.13.11/src/core/nginx.h  2018-04-03 16:38:10.000000000 +0200
+++ new/nginx-1.14.0/src/core/nginx.h   2018-04-17 17:22:36.000000000 +0200
@@ -9,8 +9,8 @@
 #define _NGINX_H_INCLUDED_
 
 
-#define nginx_version      1013011
-#define NGINX_VERSION      "1.13.11"
+#define nginx_version      1014000
+#define NGINX_VERSION      "1.14.0"
 #define NGINX_VER          "nginx/" NGINX_VERSION
 
 #ifdef NGX_BUILD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nginx-1.13.11/src/http/ngx_http_upstream.c 
new/nginx-1.14.0/src/http/ngx_http_upstream.c
--- old/nginx-1.13.11/src/http/ngx_http_upstream.c      2018-04-03 
16:38:11.000000000 +0200
+++ new/nginx-1.14.0/src/http/ngx_http_upstream.c       2018-04-17 
17:22:36.000000000 +0200
@@ -2013,8 +2013,6 @@
 
     /* rc == NGX_OK */
 
-    u->request_body_sent = 1;
-
     if (c->write->timer_set) {
         ngx_del_timer(c->write);
     }
@@ -2041,11 +2039,19 @@
         return;
     }
 
-    ngx_add_timer(c->read, u->conf->read_timeout);
+    if (!u->request_body_sent) {
+        u->request_body_sent = 1;
 
-    if (c->read->ready) {
-        ngx_http_upstream_process_header(r, u);
-        return;
+        if (u->header_sent) {
+            return;
+        }
+
+        ngx_add_timer(c->read, u->conf->read_timeout);
+
+        if (c->read->ready) {
+            ngx_http_upstream_process_header(r, u);
+            return;
+        }
     }
 }
 



Reply via email to