Home
last modified time | relevance | path

Searched hist:51 (Results 1 – 25 of 46) sorted by path

12

/unit/docs/
H A Dchanges.xmldiff 2209:8a3994540aa8 Wed Sep 28 14:51:00 UTC 2022 Zhidao HONG <z.hong@f5.com> Ruby: added support for rack V3.

Ruby applications would fail to start if they were using rack v3

2022/09/28 15:48:46 [alert] 0#80912 [unit] Ruby: Failed to parse rack script
2022/09/28 15:48:46 [notice] 80911#80911 app process 80912 exited with code 1

This was due to a change in the rack API

Rack V2

def self.load_file(path, opts = Server::Options.new)
...
cfgfile.sub!(/^__END__\n.*\Z/m, '')
app = new_from_string cfgfile, path

return app, options
end

Rack V3

def self.load_file(path)
...

return new_from_string(config, path)
end

This patch handles _both_ the above APIs by correctly handling the cases
where we do and don't get an array returned from
nxt_ruby_rack_parse_script().

Closes: <https://github.com/nginx/unit/issues/755>
Tested-by: Andrew Clayton <a.clayton@nginx.com>
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
[ Andrew: Patch by Zhidao, commit message by me with input from Zhidao ]
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
/unit/pkg/deb/
H A DMakefilediff 1192:41f45b524826 Thu Sep 19 21:51:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Packaging: bump packages DEFAULT_RELEASE.

I overlooked that 7d54dfd17098 is partial, and didnt revert MODULE_RELEASE_*
for the modules. However, Debian builds succeeded since MODULE_RELEASE_* are
not used to generate versions in debian/changelog, resulting in broken
dependencies between modules (jsc_common and jsc*).

The easiest fix is to bump DEFAULT_RELEASE again.
/unit/pkg/deb/debian/
H A Drules.indiff 1765:8ea20616cf04 Sun Dec 27 21:51:00 UTC 2020 Andrei Belov <defan@nginx.com> Packages: fixed building for Ubuntu 16.04 "xenial".

Changes introduced in a27532e3a17b effectively broke building of the unit
package due to missed dh_installsystemd script in older debhelper 9.x.

Once Ubuntu 16.04 reach EOL, the following actions should be made:
- this commit should be reverted;
- minimal debhelper version should be increased to 11.
H A Dunit.init1765:8ea20616cf04 Sun Dec 27 21:51:00 UTC 2020 Andrei Belov <defan@nginx.com> Packages: fixed building for Ubuntu 16.04 "xenial".

Changes introduced in a27532e3a17b effectively broke building of the unit
package due to missed dh_installsystemd script in older debhelper 9.x.

Once Ubuntu 16.04 reach EOL, the following actions should be made:
- this commit should be reverted;
- minimal debhelper version should be increased to 11.
/unit/pkg/docker/
H A DMakefilediff 1192:41f45b524826 Thu Sep 19 21:51:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Packaging: bump packages DEFAULT_RELEASE.

I overlooked that 7d54dfd17098 is partial, and didnt revert MODULE_RELEASE_*
for the modules. However, Debian builds succeeded since MODULE_RELEASE_* are
not used to generate versions in debian/changelog, resulting in broken
dependencies between modules (jsc_common and jsc*).

The easiest fix is to bump DEFAULT_RELEASE again.
diff 534:51e5b0a89e82 Thu Feb 08 16:38:00 UTC 2018 Andrei Belov <defan@nginx.com> Docker: typo fixed.
/unit/pkg/rpm/
H A DMakefilediff 1192:41f45b524826 Thu Sep 19 21:51:00 UTC 2019 Konstantin Pavlov <thresh@nginx.com> Packaging: bump packages DEFAULT_RELEASE.

I overlooked that 7d54dfd17098 is partial, and didnt revert MODULE_RELEASE_*
for the modules. However, Debian builds succeeded since MODULE_RELEASE_* are
not used to generate versions in debian/changelog, resulting in broken
dependencies between modules (jsc_common and jsc*).

The easiest fix is to bump DEFAULT_RELEASE again.
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.servicediff 659:339de1593e55 Tue Apr 24 15:51:00 UTC 2018 Nick Shadrin <nick@nginx.com> Fixed typo in RPM packages.
/unit/src/nodejs/unit-http/
H A Dhttp_server.jsdiff 828:b9f7635e6be2 Wed Oct 31 12:51:00 UTC 2018 Alexander Borisov <alexander.borisov@nginx.com> Node.js: added async request execution.
H A Dunit.cppdiff 828:b9f7635e6be2 Wed Oct 31 12:51:00 UTC 2018 Alexander Borisov <alexander.borisov@nginx.com> Node.js: added async request execution.
H A Dunit.hdiff 828:b9f7635e6be2 Wed Oct 31 12:51:00 UTC 2018 Alexander Borisov <alexander.borisov@nginx.com> Node.js: added async request execution.
/unit/src/
H A Dnxt_app_log.cdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_application.cdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_application.hdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_clang.hdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_conf.cdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_conf.hdiff 51:a30e79c0b8e4 Tue May 30 14:12:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Controller: support for partial PUT and DELETE operations.
H A Dnxt_conf_validation.cdiff 1988:574e6e17fc19 Fri Nov 05 02:51:00 UTC 2021 Zhidao HONG <z.hong@f5.com> Configuration: improved matching pattern error messages.
diff 1530:4e37131e3818 Tue Jul 28 13:51:00 UTC 2020 Axel Duch <axel.duch@nginx.com> Configuration: fixed buffer over-read in pattern validation.

There was an undefined behavior in the validation function, caused by testing
one character after the string if a wildcard was at the end.
diff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_controller.cdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
diff 51:a30e79c0b8e4 Tue May 30 14:12:00 UTC 2017 Valentin Bartenev <vbart@nginx.com> Controller: support for partial PUT and DELETE operations.
H A Dnxt_errno.cdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_h1proto.cdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_http.hdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_http_error.cdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_http_parse.cdiff 623:d9631fc41049 Tue Apr 10 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> HTTP parser: saving partial method.

This is useful for log purposes.
diff 622:8ba4abc08034 Tue Apr 10 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> HTTP parser: saving unsupported version.

This is useful for log purposes.
diff 621:944d059f7a4b Tue Apr 10 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> HTTP parser: correct "target" for partial or invalid request line.
H A Dnxt_http_request.cdiff 942:424c1fdef545 Mon Feb 18 13:51:00 UTC 2019 Valentin Bartenev <vbart@nginx.com> Rejecting requests with duplicate "Content-Length".
diff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.
H A Dnxt_listen_socket.cdiff 703:2d536dde84d2 Mon Jun 25 13:51:00 UTC 2018 Valentin Bartenev <vbart@nginx.com> Introduced nxt_length() macro.

12