summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2019-08-06Node.js: returning "this" from writeHead() to allow chaining.Valentin Bartenev11-20/+16
In Node.js version 11.10.0 and later, the writeHead() function returns "this".
2019-08-06nxt_h1proto_t definition was moved to h1proto implementation.Igor Sysoev2-19/+21
2019-08-06Refactored HTTP protocol callback table.Igor Sysoev4-83/+48
2019-08-01Tests: added delay before SIGQUIT in access_log partial tests.Andrey Zelenkov1-3/+9
This change is necessary to avoid race between client connection close and Unit close. Also "read_timeout" value decreased to speed up tests.
2019-07-24Added routing based on request scheme.Axel Duch7-20/+221
Scheme matches exact string “http” or “https”.
2019-07-23Tests: fixed test_java_conf_error to pass with "--modules=" option.Andrey Zelenkov1-0/+1
2019-07-17Perl: propagated compile options from perl build.Valentin Bartenev2-2/+2
Some Perl compile options affects ABI and not using them while compiling our module resulted in non-working build. Notably on 32-bit Debian 10, Perl is built with -D_FILE_OFFSET_BITS=64 and our module after being compiled without this option caused segmentation faults in unexpected places.
2019-07-17Perl: removed "--include=" configure option.Valentin Bartenev1-11/+5
It's surplus option because the perl executable returns the proper path. Also the Perl module configure script was cleaned up a bit. Note that NXT_PERL_LDOPTS already contains the library path.
2019-07-17Tests: more Java tests.Andrey Zelenkov2-0/+40
Added test with war file and error configuration test.
2019-07-17Tests: added PHP tests with "script" and "index" options.Andrey Zelenkov2-0/+42
2019-07-17Exiting application process in case of pre_init stage error.Max Romanov1-4/+1
2019-07-17Java: fixing realpath error message.Max Romanov1-1/+1
2019-07-16PHP: fixed script filename setting, broken after 2a71417d297f.Valentin Bartenev1-6/+8
2019-07-14Tests: simplified one route case configuration.Andrey Zelenkov1-661/+406
No functional changes.
2019-07-14Tests: TestApplicationTLS.openssl_conf() introduced.Andrey Zelenkov2-5/+14
2019-07-14Tests: check application configuration loading in TLS tests.Andrey Zelenkov1-1/+1
2019-07-14Tests: removed unnecessary initialization.Andrey Zelenkov1-2/+0
That could leads to the incorrect behaviour in test_tls_application_respawn.
2019-07-14Tests: removed unused import.Andrey Zelenkov1-1/+0
2019-07-09Packages: Debian 10 "buster" support added.Andrei Belov2-1/+13
2019-07-08Tests: made openssl certificates more strong to avoid errors.Andrey Zelenkov2-3/+3
2019-07-08Tests: added PATH_INFO variable test.Andrey Zelenkov2-1/+4
2019-07-05PHP: added PATH_INFO support.Max Romanov1-74/+96
2019-07-05PHP: improved response status code handling.Valentin Bartenev3-12/+46
There's no reason to parse "http_status_line"; the PHP interpreter already does this. If the line contains a valid status code, it's assigned to "http_response_code". This also fixes invalid status line handling, where the nxt_int_parse() function returned -1; it was cast to unsigned, yielding response code 65535.
2019-07-04Packages: log and pid paths made consistent.Andrei Belov5-7/+7
2019-07-02Tests: adjusted inactive interval in Java app for slow hosts.Andrey Zelenkov2-5/+19
2019-07-02Tests: removed misleading comments in test_routing.t.Andrey Zelenkov1-2/+2
2019-06-28PHP: removing excessive debug message.Max Romanov1-2/+0
2019-06-28Fixed application crash handling in router.Max Romanov1-4/+4
Before this fix, request in router may hang until timeout expired if application crashed during request processing.
2019-06-28Fixing allocation alignment for port fragments.Max Romanov1-1/+1
All allocated blocks for lvlhash required to be aligned because lower address bits used for various extra information. Using unaligned blocks may cause invalid memory aceess. This was issue found on buildbot running large configuration tests.
2019-06-28Java: adding Content-Type response header for static files.Max Romanov1-0/+1
2019-06-18Decreased level of some shutdown() and send() errors.Igor Sysoev1-2/+2
2019-06-17Node.js: packaging new nxt_napi.h.Max Romanov1-0/+1
File nxt_napi.h (introduced in 53533ba0097c) added into packaged files list. This closes #261 issue on GitHub.
2019-06-10Cookie-based routing should be case-sensitive.Igor Sysoev2-16/+25
2019-06-10Version bump.Valentin Bartenev1-2/+2
2019-06-07Packages: switched to Java 11 on Ubuntu 18.04.Andrei Belov1-1/+1
2019-06-04Packages: added Python 3.7 on Ubuntu 18.04.Andrei Belov1-0/+1
This closes #251 issue on GitHub.
2019-05-30Added tag 1.9.0 for changeset dda6319de785Valentin Bartenev1-0/+1
2019-05-30Generated Dockerfiles for Unit 1.9.0.1.9.0Valentin Bartenev9-9/+9
2019-05-30Added version 1.9 CHANGES.Valentin Bartenev2-0/+134
2019-05-30Tests: routing "cookies" tests.Andrey Zelenkov1-0/+482
2019-05-30Tests: routing "arguments" tests.Andrey Zelenkov1-0/+434
2019-05-30Tests: routing "headers" tests.Andrey Zelenkov1-0/+481
2019-05-30Tests: fixed tests without "Host" header.Andrey Zelenkov3-21/+26
2019-05-30Tests: adjusted skipping tests.Andrey Zelenkov12-83/+30
2019-05-30Tests: configure arrays with PUT tests.Andrey Zelenkov1-0/+22
2019-05-30Added routing based on cookies.Igor Sysoev2-1/+219
2019-05-30Added routing based on arguments.Igor Sysoev2-15/+209
2019-05-30Handling routing errors.Igor Sysoev3-42/+47
2019-05-30Added routing based on header fields.Igor Sysoev4-67/+409
2019-05-30Fixed segfault with empty routes array.Igor Sysoev1-9/+6