summaryrefslogtreecommitdiffhomepage
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-04-11Introducing connection state io_read_handler.Igor Sysoev3-40/+33
2018-04-11Keepalive processing optimization.Igor Sysoev1-46/+9
2018-04-11Fixed pipelined request processing, broken by 9e16499b63f0.Valentin Bartenev1-1/+1
2018-04-10Added "408 Request Timeout" error response.Igor Sysoev1-5/+27
2018-04-10Refactored HTTP header parsing.Igor Sysoev1-40/+54
2018-04-10Splitting HTTP processing in more granulate connection states.Igor Sysoev2-114/+226
2018-04-10HTTP parser: saving partial method.Valentin Bartenev1-0/+4
This is useful for log purposes.
2018-04-10HTTP parser: saving unsupported version.Valentin Bartenev1-0/+1
This is useful for log purposes.
2018-04-10HTTP parser: correct "target" for partial or invalid request line.Valentin Bartenev1-0/+4
2018-04-09Processing of partially parsed HTTP header.Valentin Bartenev1-13/+31
This is useful for log purposes.
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-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 Borisov7-14/+16
2018-04-04Style: capitalized letters in hexadecimal literals.Valentin Bartenev24-633/+633
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-02Version bump.Valentin Bartenev1-2/+2
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-21Added Ruby support.Alexander Borisov8-1/+1356
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-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-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.
2018-03-13Capitalization in the "Server" field.Valentin Bartenev2-3/+3
2018-03-13Releasing application on configuration failure.Max Romanov1-0/+15
2018-03-07Socket configuration should retain application.Max Romanov1-0/+8
This retains application during reconfiguration if an incoming connection was already established before the reconfiguration, but no request was yet created for the connection and thus no application was yet assigned to the request.
2018-03-06Added support for shm_open(SHM_ANON) extension.Sergey Kandaurov2-0/+24
2018-03-05Reduced number of critical log levels.Valentin Bartenev47-534/+403
2018-02-20Removed unwanted assertions.Max Romanov5-22/+42
2018-02-14Fixed race condition while discovering modules.Valentin Bartenev2-20/+51
Previously, the discovery process might exit before the main process received a list of available modules.