From e038f1e9cc61e735645a3ac8605b055614327040 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Thu, 7 Feb 2019 17:42:31 +0300 Subject: Version bump. --- src/nxt_main.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nxt_main.h b/src/nxt_main.h index 71ee6599..760384ea 100644 --- a/src/nxt_main.h +++ b/src/nxt_main.h @@ -11,8 +11,8 @@ #include -#define NXT_VERSION "1.7" -#define NXT_VERNUM 10700 +#define NXT_VERSION "1.7.1" +#define NXT_VERNUM 10701 #define NXT_SERVER "Unit/" NXT_VERSION -- cgit From a22fd45248b6a247673d1fd9ab50c183987ab9b4 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 27 Dec 2018 11:06:43 +0300 Subject: Packages: URL fixed in examples to work with latest curl. --- pkg/deb/Makefile.go | 2 +- pkg/deb/Makefile.go110 | 2 +- pkg/deb/Makefile.go17 | 2 +- pkg/deb/Makefile.go18 | 2 +- pkg/deb/Makefile.go19 | 2 +- pkg/deb/Makefile.perl | 2 +- pkg/deb/Makefile.php | 2 +- pkg/deb/Makefile.python | 2 +- pkg/deb/Makefile.python27 | 2 +- pkg/deb/Makefile.python34 | 2 +- pkg/deb/Makefile.python35 | 2 +- pkg/deb/Makefile.python36 | 2 +- pkg/deb/Makefile.ruby | 2 +- pkg/rpm/Makefile.go | 2 +- pkg/rpm/Makefile.perl | 2 +- pkg/rpm/Makefile.php | 2 +- pkg/rpm/Makefile.python | 2 +- pkg/rpm/Makefile.python27 | 2 +- pkg/rpm/Makefile.python34 | 2 +- pkg/rpm/Makefile.python35 | 2 +- pkg/rpm/Makefile.python36 | 2 +- pkg/rpm/Makefile.ruby | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/pkg/deb/Makefile.go b/pkg/deb/Makefile.go index bbade7a3..3399f5ca 100644 --- a/pkg/deb/Makefile.go +++ b/pkg/deb/Makefile.go @@ -37,7 +37,7 @@ To check out the sample app, run these commands: GOPATH=/usr/share/gocode go build -o /tmp/go-app /usr/share/doc/unit-$(MODULE_SUFFIX_go)/examples/go-app/let-my-people.go sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_go)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8500/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.go110 b/pkg/deb/Makefile.go110 index 9fb3da9d..0e956d9f 100644 --- a/pkg/deb/Makefile.go110 +++ b/pkg/deb/Makefile.go110 @@ -37,7 +37,7 @@ To check out the sample app, run these commands: GOPATH=/usr/share/gocode /usr/lib/go-1.10/bin/go build -o /tmp/go1.10-app /usr/share/doc/unit-$(MODULE_SUFFIX_go110)/examples/go-app/let-my-people.go sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_go110)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8500/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.go17 b/pkg/deb/Makefile.go17 index 4c3cc73f..d014edd1 100644 --- a/pkg/deb/Makefile.go17 +++ b/pkg/deb/Makefile.go17 @@ -37,7 +37,7 @@ To check out the sample app, run these commands: GOPATH=/usr/share/gocode /usr/lib/go-1.7/bin/go build -o /tmp/go1.7-app /usr/share/doc/unit-$(MODULE_SUFFIX_go17)/examples/go-app/let-my-people.go sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_go17)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8500/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.go18 b/pkg/deb/Makefile.go18 index a9db87e0..597f4804 100644 --- a/pkg/deb/Makefile.go18 +++ b/pkg/deb/Makefile.go18 @@ -37,7 +37,7 @@ To check out the sample app, run these commands: GOPATH=/usr/share/gocode /usr/lib/go-1.8/bin/go build -o /tmp/go1.8-app /usr/share/doc/unit-$(MODULE_SUFFIX_go18)/examples/go-app/let-my-people.go sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_go18)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8500/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.go19 b/pkg/deb/Makefile.go19 index 43611560..60d4b239 100644 --- a/pkg/deb/Makefile.go19 +++ b/pkg/deb/Makefile.go19 @@ -37,7 +37,7 @@ To check out the sample app, run these commands: GOPATH=/usr/share/gocode /usr/lib/go-1.9/bin/go build -o /tmp/go1.9-app /usr/share/doc/unit-$(MODULE_SUFFIX_go19)/examples/go-app/let-my-people.go sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_go19)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8500/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.perl b/pkg/deb/Makefile.perl index 186b8e5a..7ac3ea11 100644 --- a/pkg/deb/Makefile.perl +++ b/pkg/deb/Makefile.perl @@ -35,7 +35,7 @@ To check out the sample app, run these commands: sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_perl)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8600/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.php b/pkg/deb/Makefile.php index 193670e7..d05d5ad5 100644 --- a/pkg/deb/Makefile.php +++ b/pkg/deb/Makefile.php @@ -42,7 +42,7 @@ To check out the sample app, run these commands: sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_php)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8300/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.python b/pkg/deb/Makefile.python index dec64b26..9bf02bac 100644 --- a/pkg/deb/Makefile.python +++ b/pkg/deb/Makefile.python @@ -35,7 +35,7 @@ To check out the sample app, run these commands: sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_python)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.python27 b/pkg/deb/Makefile.python27 index ae1ae4c0..cf4f49d9 100644 --- a/pkg/deb/Makefile.python27 +++ b/pkg/deb/Makefile.python27 @@ -35,7 +35,7 @@ To check out the sample app, run these commands: sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_python27)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.python34 b/pkg/deb/Makefile.python34 index 5e043ef4..03c496bd 100644 --- a/pkg/deb/Makefile.python34 +++ b/pkg/deb/Makefile.python34 @@ -35,7 +35,7 @@ To check out the sample app, run these commands: sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_python34)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.python35 b/pkg/deb/Makefile.python35 index 557690a9..514a4bf6 100644 --- a/pkg/deb/Makefile.python35 +++ b/pkg/deb/Makefile.python35 @@ -35,7 +35,7 @@ To check out the sample app, run these commands: sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_python35)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.python36 b/pkg/deb/Makefile.python36 index 07cbba90..4fd898c6 100644 --- a/pkg/deb/Makefile.python36 +++ b/pkg/deb/Makefile.python36 @@ -35,7 +35,7 @@ To check out the sample app, run these commands: sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_python36)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/deb/Makefile.ruby b/pkg/deb/Makefile.ruby index 1cb6baab..dd85cd38 100644 --- a/pkg/deb/Makefile.ruby +++ b/pkg/deb/Makefile.ruby @@ -37,7 +37,7 @@ To check out the sample app, run these commands: sudo service unit restart cd /usr/share/doc/unit-$(MODULE_SUFFIX_ruby)/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8700/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.go b/pkg/rpm/Makefile.go index d13e8d1a..f031c7ba 100644 --- a/pkg/rpm/Makefile.go +++ b/pkg/rpm/Makefile.go @@ -64,7 +64,7 @@ To check the sample app, run these commands: GOPATH=%{gopath} go build -o /tmp/go-app /usr/share/doc/unit-go/examples/go-app/let-my-people.go sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8500/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.perl b/pkg/rpm/Makefile.perl index 90259e9e..84c15260 100644 --- a/pkg/rpm/Makefile.perl +++ b/pkg/rpm/Makefile.perl @@ -51,7 +51,7 @@ To check out the sample app, run these commands: sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8600/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.php b/pkg/rpm/Makefile.php index b4f093b7..eedcce4e 100644 --- a/pkg/rpm/Makefile.php +++ b/pkg/rpm/Makefile.php @@ -46,7 +46,7 @@ To check out the sample app, run these commands: sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8300/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.python b/pkg/rpm/Makefile.python index 0b0eb7bd..bb408bb5 100644 --- a/pkg/rpm/Makefile.python +++ b/pkg/rpm/Makefile.python @@ -46,7 +46,7 @@ To check the sample app, run these commands: sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.python27 b/pkg/rpm/Makefile.python27 index 7d15bdd9..c6a2ec65 100644 --- a/pkg/rpm/Makefile.python27 +++ b/pkg/rpm/Makefile.python27 @@ -48,7 +48,7 @@ To check the sample app, run these commands: sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.python34 b/pkg/rpm/Makefile.python34 index 152007a2..1dc10f9c 100644 --- a/pkg/rpm/Makefile.python34 +++ b/pkg/rpm/Makefile.python34 @@ -46,7 +46,7 @@ To check the sample app, run these commands: sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.python35 b/pkg/rpm/Makefile.python35 index 3f075702..3e4e0a2e 100644 --- a/pkg/rpm/Makefile.python35 +++ b/pkg/rpm/Makefile.python35 @@ -41,7 +41,7 @@ To check the sample app, run these commands: sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.python36 b/pkg/rpm/Makefile.python36 index fd55840e..d674d8fe 100644 --- a/pkg/rpm/Makefile.python36 +++ b/pkg/rpm/Makefile.python36 @@ -46,7 +46,7 @@ To check the sample app, run these commands: sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8400/ Online documentation is available at https://unit.nginx.org diff --git a/pkg/rpm/Makefile.ruby b/pkg/rpm/Makefile.ruby index 5702fb44..92416338 100644 --- a/pkg/rpm/Makefile.ruby +++ b/pkg/rpm/Makefile.ruby @@ -55,7 +55,7 @@ To check the sample app, run these commands: sudo service unit start cd /usr/share/doc/%{name}/examples - sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock :/config + sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/control.unit.sock http://localhost/config curl http://localhost:8700/ Online documentation is available at https://unit.nginx.org -- cgit From 4ca0479c989ba4e15b6ec3a0ff0dc406f7ac05ef Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 27 Dec 2018 11:07:24 +0300 Subject: Packages: Ubuntu 18.10 "cosmic" support added. --- docs/Makefile | 2 +- docs/changes.xml | 13 ++++++ pkg/deb/Makefile | 12 ++++++ pkg/deb/Makefile.python37 | 46 ++++++++++++++++++++++ .../debian.module/unit.example-python3.7-config | 17 ++++++++ 5 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 pkg/deb/Makefile.python37 create mode 100644 pkg/deb/debian.module/unit.example-python3.7-config diff --git a/docs/Makefile b/docs/Makefile index 52ed1c65..1f0ba451 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -8,7 +8,7 @@ XSLS?= xslscript.pl PACKAGES= unit \ unit-php \ unit-python unit-python2.7 unit-python3.4 \ - unit-python3.5 unit-python3.6 \ + unit-python3.5 unit-python3.6 unit-python3.7 \ unit-go unit-go1.7 unit-go1.8 unit-go1.9 unit-go1.10 \ unit-perl \ unit-ruby diff --git a/docs/changes.xml b/docs/changes.xml index 7443795b..6a1f8a9b 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -5,6 +5,19 @@ + + + + +Initial release of Python 3.7 module for NGINX Unit. + + + + + + Date: Wed, 9 Jan 2019 18:03:48 +0300 Subject: Year 2019. --- NOTICE | 9 +++++---- pkg/deb/debian/copyright | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/NOTICE b/NOTICE index 613f1612..35f52459 100644 --- a/NOTICE +++ b/NOTICE @@ -1,10 +1,11 @@ NGINX Unit. - Copyright 2017-2018 NGINX, Inc. - Copyright 2017-2018 Igor Sysoev - Copyright 2017-2018 Valentin V. Bartenev - Copyright 2017-2018 Max Romanov + Copyright 2017-2019 NGINX, Inc. + Copyright 2017-2019 Igor Sysoev + Copyright 2017-2019 Valentin V. Bartenev + Copyright 2017-2019 Max Romanov + Copyright 2018-2019 Alexander Borisov Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/deb/debian/copyright b/pkg/deb/debian/copyright index b795c3a0..fe52d6aa 100644 --- a/pkg/deb/debian/copyright +++ b/pkg/deb/debian/copyright @@ -1,10 +1,11 @@ NGINX Unit. - Copyright 2017-2018 NGINX, Inc. - Copyright 2017-2018 Igor Sysoev - Copyright 2017-2018 Valentin V. Bartenev - Copyright 2017-2018 Max Romanov + Copyright 2017-2019 NGINX, Inc. + Copyright 2017-2019 Igor Sysoev + Copyright 2017-2019 Valentin V. Bartenev + Copyright 2017-2019 Max Romanov + Copyright 2018-2019 Alexander Borisov Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. -- cgit From 627b116c4db8d7b0b9cb4e15486bd2847d03ee8a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 18 Jan 2019 16:18:36 +0300 Subject: Testing correct value. --- src/nxt_http_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nxt_http_error.c b/src/nxt_http_error.c index 65f8ba38..99d27903 100644 --- a/src/nxt_http_error.c +++ b/src/nxt_http_error.c @@ -37,7 +37,7 @@ nxt_http_request_error(nxt_task_t *task, nxt_http_request_t *r, r->status = status; r->resp.fields = nxt_list_create(r->mem_pool, 8, sizeof(nxt_http_field_t)); - if (nxt_slow_path(r == NULL)) { + if (nxt_slow_path(r->resp.fields == NULL)) { goto fail; } -- cgit From 52c1895cd21c50a1a74b925c8dca1d0075d79970 Mon Sep 17 00:00:00 2001 From: Alexander Borisov Date: Mon, 21 Jan 2019 18:13:00 +0300 Subject: Go: fixed module installation, broken in ed8b1aaefdd1. Added the nxt_unit_version.h dependency. This closes #214 issue on GitHub. --- auto/modules/go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/modules/go b/auto/modules/go index 7abd1e73..e9b2321d 100644 --- a/auto/modules/go +++ b/auto/modules/go @@ -103,7 +103,7 @@ ${NXT_GO}: ${NXT_GO}-install: ${NXT_GO}-install-build -${NXT_GO}-install-src: +${NXT_GO}-install-src: ${NXT_BUILD_DIR}/nxt_unit_version.h install -d \$(DESTDIR)\$(NXT_GO_DST)/src/nginx/unit install -p -m644 ./src/*.h ./build/*.h ./src/go/unit/* \ ./src/nxt_unit.c ./src/nxt_lvlhsh.c ./src/nxt_murmur_hash.c \ -- cgit From 83dd67d2164bc3df61e8ede97467c0bbc31e395b Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Thu, 7 Feb 2019 17:40:27 +0300 Subject: Rejecting requests with invalid "Content-Length". --- src/nxt_http_request.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c index b80998cb..c8adb499 100644 --- a/src/nxt_http_request.c +++ b/src/nxt_http_request.c @@ -79,14 +79,20 @@ nxt_int_t nxt_http_request_content_length(void *ctx, nxt_http_field_t *field, uintptr_t data) { + nxt_off_t n; nxt_http_request_t *r; r = ctx; - r->content_length = field; - r->content_length_n = nxt_off_t_parse(field->value, field->value_length); - return NXT_OK; + n = nxt_off_t_parse(field->value, field->value_length); + + if (nxt_fast_path(n >= 0)) { + r->content_length_n = n; + return NXT_OK; + } + + return NXT_ERROR; } -- cgit From 9a9277b22770df4b0bab88cf0efbbca23eb4ef7d Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Thu, 7 Feb 2019 17:46:46 +0300 Subject: Added version 1.7.1 CHANGES. --- CHANGES | 11 +++++++++++ docs/changes.xml | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/CHANGES b/CHANGES index 674120ac..72a21c3f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,15 @@ +Changes with Unit 1.7.1 07 Feb 2019 + + *) Security: a heap memory buffer overflow might have been caused in the + router process by a specially crafted request, potentially resulting + in a segmentation fault or other unspecified behavior + (CVE-2019-7401). + + *) Bugfix: install of Go module failed without prior building of Unit + daemon; the bug had appeared in 1.7. + + Changes with Unit 1.7 20 Dec 2018 *) Change: now rpath is set in Ruby module only if the library was not diff --git a/docs/changes.xml b/docs/changes.xml index 6a1f8a9b..ea4298ba 100644 --- a/docs/changes.xml +++ b/docs/changes.xml @@ -5,6 +5,47 @@ + + + + +NGINX Unit updated to 1.7.1. + + + + + + + + + + +a heap memory buffer overflow might have been caused in the router process by +a specially crafted request, potentially resulting in a segmentation fault or +other unspecified behavior (CVE-2019-7401). + + + + + +install of Go module failed without prior building of Unit daemon; +the bug had appeared in 1.7. + + + + + + -- cgit From 6680fd5b8c427b44babf7748ddb3048c88b6e20f Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Thu, 7 Feb 2019 17:46:46 +0300 Subject: Generated Dockerfiles for Unit 1.7.1. --- pkg/docker/Dockerfile.full | 2 +- pkg/docker/Dockerfile.go1.7-dev | 2 +- pkg/docker/Dockerfile.go1.8-dev | 2 +- pkg/docker/Dockerfile.minimal | 2 +- pkg/docker/Dockerfile.perl5.24 | 2 +- pkg/docker/Dockerfile.php7.0 | 2 +- pkg/docker/Dockerfile.python2.7 | 2 +- pkg/docker/Dockerfile.python3.5 | 2 +- pkg/docker/Dockerfile.ruby2.3 | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkg/docker/Dockerfile.full b/pkg/docker/Dockerfile.full index c513bb1e..99b18fc1 100644 --- a/pkg/docker/Dockerfile.full +++ b/pkg/docker/Dockerfile.full @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ diff --git a/pkg/docker/Dockerfile.go1.7-dev b/pkg/docker/Dockerfile.go1.7-dev index 7c8b2af2..eb75e7b0 100644 --- a/pkg/docker/Dockerfile.go1.7-dev +++ b/pkg/docker/Dockerfile.go1.7-dev @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ diff --git a/pkg/docker/Dockerfile.go1.8-dev b/pkg/docker/Dockerfile.go1.8-dev index aecdeb41..c60853ac 100644 --- a/pkg/docker/Dockerfile.go1.8-dev +++ b/pkg/docker/Dockerfile.go1.8-dev @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ diff --git a/pkg/docker/Dockerfile.minimal b/pkg/docker/Dockerfile.minimal index 0c42a942..f944da7f 100644 --- a/pkg/docker/Dockerfile.minimal +++ b/pkg/docker/Dockerfile.minimal @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ diff --git a/pkg/docker/Dockerfile.perl5.24 b/pkg/docker/Dockerfile.perl5.24 index a7c8c9dc..ee3ba4bf 100644 --- a/pkg/docker/Dockerfile.perl5.24 +++ b/pkg/docker/Dockerfile.perl5.24 @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ diff --git a/pkg/docker/Dockerfile.php7.0 b/pkg/docker/Dockerfile.php7.0 index 48aa472a..4468dafd 100644 --- a/pkg/docker/Dockerfile.php7.0 +++ b/pkg/docker/Dockerfile.php7.0 @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ diff --git a/pkg/docker/Dockerfile.python2.7 b/pkg/docker/Dockerfile.python2.7 index fdd0bc7a..dec5d3cf 100644 --- a/pkg/docker/Dockerfile.python2.7 +++ b/pkg/docker/Dockerfile.python2.7 @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ diff --git a/pkg/docker/Dockerfile.python3.5 b/pkg/docker/Dockerfile.python3.5 index da6f825a..0d93fb07 100644 --- a/pkg/docker/Dockerfile.python3.5 +++ b/pkg/docker/Dockerfile.python3.5 @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ diff --git a/pkg/docker/Dockerfile.ruby2.3 b/pkg/docker/Dockerfile.ruby2.3 index 0672a8c1..ff9474cc 100644 --- a/pkg/docker/Dockerfile.ruby2.3 +++ b/pkg/docker/Dockerfile.ruby2.3 @@ -2,7 +2,7 @@ FROM debian:stretch-slim LABEL maintainer="NGINX Docker Maintainers " -ENV UNIT_VERSION 1.7-1~stretch +ENV UNIT_VERSION 1.7.1-1~stretch RUN set -x \ && apt-get update \ -- cgit From fc2af29bd3ae229c8830d0e73661b4ad490a07e0 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Thu, 7 Feb 2019 17:48:13 +0300 Subject: Added tag 1.7.1 for changeset 0f04ef991fbc --- .hgtags | 1 + 1 file changed, 1 insertion(+) diff --git a/.hgtags b/.hgtags index aaefc396..6420ce82 100644 --- a/.hgtags +++ b/.hgtags @@ -13,3 +13,4 @@ b3cf22b8a17e0e35ca80decb03ed2cceb662c3de 1.3 b3dee0cc5a4edd046345511769b5cfec49044f1c 1.5 d411e7fdee9e03036adb652f8d9f4c45a420bdd5 1.6 784b45adb0fe8bdd707510f59ed18309087e5c21 1.7 +0f04ef991fbc1dadbc590ab7fb229d4f3d6357bc 1.7.1 -- cgit