summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2019-08-22Added version 1.10.0 CHANGES.Valentin Bartenev2-0/+112
2019-08-22Tests: Node.js websockets tests tuned.Andrey Zelenkov2-5/+16
2019-08-20Node.js: introducing websocket support.Max Romanov15-175/+2373
2019-08-20Introducing websocket support in router and libunit.Max Romanov29-442/+3536
2019-08-22Tests: Node.js websockets.Andrey Zelenkov5-0/+1841
2019-08-22Tests: "--unsafe" option introduced.Andrey Zelenkov1-0/+8
2019-08-21Tests: reverted rerun for Java tests in 5e429a7f133c.Andrey Zelenkov1-3/+1
Each testcase should also recompile to be recompiled. So backed out for now.
2019-08-16Changing the sequence of body send execution.Max Romanov3-11/+11
Request state ready_handler required for further websocket events processing. It is not required for regular response transferring.
2019-08-16Improving response header fields processing.Max Romanov3-27/+46
Fields are filtered one by one before being added to fields list. This avoids adding and then skipping connection-specific fields.
2019-08-16Fixing multi-thread port write racing conditions.Max Romanov4-159/+165
2019-08-14Tests: print decoded strings in detailed mode, if possible.Andrey Zelenkov1-2/+10
2019-08-14Renaming supplemental request structures in router.Max Romanov2-349/+420
- nxt_req_app_link_t -> nxt_request_app_link_t - nxt_req_conn_link_t -> nxt_request_rpc_data_t Corresponding abbreviated field names also changed: - ra -> req_app_link - rc -> req_rpc_data
2019-08-14Tests: fixed port reusing to avoid access issues.Andrey Zelenkov2-2/+2
2019-08-14Java: implementing multipart message support.Max Romanov5-15/+192
This closes #265 issue on GitHub.
2019-08-14Tests: goftm used for Go applications.Andrey Zelenkov8-78/+78
2019-08-14Tests: added tests for deleting listeners and applications objects.Andrey Zelenkov2-0/+53
2019-08-08Tests: fixed modules version parsing.Andrey Zelenkov1-1/+1
2019-08-07Tests: Java multipart test.Andrey Zelenkov2-0/+132
2019-08-06Tests: rerun tests for each module version.Andrey Zelenkov6-6/+40
Rerun supported for Python, PHP, Perl, Ruby, and Java modules.
2019-08-06Router: allowed empty configurations.Valentin Bartenev1-191/+189
Now it's possible to delete "listeners" and "applications" objects. This closes #187 issue on GitHub.
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