summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2018-04-08Controller: fixed a memory leak when PUT operation failed.Valentin Bartenev1-0/+2
Thanks to 洪志道 (Hong Zhi Dao).
2018-04-06Go: Forced WriteHeader after application request processing.Max Romanov1-0/+4
Application should create response for every request. If not, Unit package will do it.
2018-04-05Tests: added Python test with not iterable object.Andrey Zelenkov4-0/+20
2018-04-05Handling error return from application 'run()' function.Max Romanov2-4/+14
Server error response generated or connection closed.
2018-04-05Stopping timed out application process.Max Romanov2-9/+89
2018-04-05Fixed NXT_INT64_T_HEXLEN.Valentin Bartenev1-2/+2
This closes #89 issue on GitHub. Thanks to hongzhidao.
2018-04-05Style.Valentin Bartenev9-27/+30
2018-04-04Changed version processing for modules.Alexander Borisov11-20/+68
2018-04-04Style: capitalized letters in hexadecimal literals.Valentin Bartenev24-633/+633
2018-04-04Tests: fixed unwanted comment in a11b80dedc6b.Andrey Zelenkov1-2/+2
2018-04-03Ruby: added 'enc/trans/transdb' module for converting encodings.Alexander Borisov1-0/+3
This closes #92 issue on GitHub.
2018-04-03HTTP: using r->mem_pool retention counter for response buffers.Igor Sysoev9-50/+154
2018-04-02Tests: Perl script with syntax error.Andrey Zelenkov2-0/+15
2018-04-02Tests: change alert skip in test_listeners_empty after RPC fixes.Andrey Zelenkov1-1/+1
2018-04-02Ruby: correctly getting version from RbConfig::CONFIG.sshaw1-1/+1
This closes #90 PR on GitHub.
2018-04-02Version bump.Valentin Bartenev1-2/+2
2018-04-02Tests: more Python tests.Andrey Zelenkov17-69/+215
2018-04-02Tests: added Python test with iterator context.Andrey Zelenkov2-0/+46
2018-04-02Generated Dockerfile for unit-ruby.Andrei Belov1-0/+89
2018-04-02Added Ruby packaging support.Andrei Belov11-3/+187
2018-04-02Tests: use "%Z" directive while parsing Date header.Andrey Zelenkov4-7/+19
2018-03-29nxt_lvlhsh_each() refactoring and nxt_lvlhsh_each_init().Igor Sysoev5-24/+34
2018-03-29Using nxt_lvlhsh_peek() for port hashes.Igor Sysoev3-19/+7
2018-03-29Using nxt_lvlhsh_peek() and nxt_lvlhsh_retrieve().Igor Sysoev3-41/+6
2018-03-29nxt_lvlhsh_retrieve().Igor Sysoev3-22/+136
2018-03-29nxt_lvlhsh_peek().Igor Sysoev3-2/+101
2018-03-29Removed unused macros and functions.Igor Sysoev3-38/+0
2018-03-28nxt_port_buf_completion() and nxt_sendbuf_completion().Igor Sysoev4-67/+67
nxt_sendbuf_completion() has been renamed to nxt_port_buf_completion() and moved to src/nxt_port_socket.c. nxt_sendbuf_completion0() has been renamed to nxt_sendbuf_completion().
2018-03-28Using more expressive name for field.Igor Sysoev2-19/+20
2018-03-28Using type for nxt_msec_diff().Igor Sysoev1-4/+5
2018-03-28Aligned macosx-version-min flag for test and build environments.Igor Sysoev1-1/+1
The flag has been misaligned in the changeset 4979fe09d9cd.
2018-03-22Added tag 0.7 for changeset d2fcec5b0fa3Valentin Bartenev1-0/+1
2018-03-22Generated Dockerfiles for Unit 0.7.0.7Valentin Bartenev8-8/+8
2018-03-22Added version 0.7 CHANGES.Valentin Bartenev2-0/+82
2018-03-21Tests: Ruby module.Andrey Zelenkov33-15/+565
2018-03-21Added Ruby support.Alexander Borisov11-1/+1534
2018-03-21Triggering RPC error for all handlers on port close.Max Romanov3-0/+41
This is required to avoid crashes and memory leaks on Unit exit.
2018-03-21Registered RPC handlers affects port use counters.Max Romanov1-0/+8
Service process port gets closed and released by runtime on process exit, but there can be active RPC handlers, which uses port structure.
2018-03-19Tests: more Perl tests.Andrey Zelenkov2-2/+37
2018-03-19Perl: improvements to support PSGI specification.Alexander Borisov1-16/+15
2018-03-16PHP: fixed segfault on initialization.Valentin Bartenev1-12/+9
PHP SAPI can call log handler while initializing. Particularly, that happens if there's a problem in loading some extension specified in php.ini file. On this stage server context is empty, so now nxt_thread_log_error() is used.
2018-03-16Tests: HTTP header field and value tests.Andrey Zelenkov2-0/+130
2018-03-15HTTP parser: excluding leading and trailing tabs from field values.Valentin Bartenev1-2/+5
As required by RFC 7230.
2018-03-15HTTP parser: allowing tabs in field values as per RFC 7230.Valentin Bartenev2-13/+45
2018-03-15HTTP parser: restricting allowed characters in fields values.Valentin Bartenev2-1/+20
According to RFC 7230 only printable 7-bit ASCII characters are allowed in field values.
2018-03-15HTTP parser: fixed parsing of field values ending with space.Valentin Bartenev2-8/+16
This closes #82 issue on GitHub.
2018-03-15Python: safety checks for request processing context.Valentin Bartenev1-2/+14
An application can store request related functions and mistakenly call them outside of request processing. Previously this resulted in segmentation fault due to unset nxt_python_run_ctx. Now an exception will be raised.
2018-03-15Python: fixed crash if start_response() is called inside iteration.Valentin Bartenev1-4/+4
The start_response() uses nxt_python_run_ctx, but it was unset right after the application call.
2018-03-15Skipping idle state when port already closed.Max Romanov1-1/+1
2018-03-14Ignoring response for already terminated request.Max Romanov1-0/+3
Request can be terminated because of invalid response headers and content should be ignored in this case.