summaryrefslogtreecommitdiffhomepage
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-04-20Fixed segfault when two modules have the same type and version.Valentin Bartenev1-1/+1
The bug appeared in 217e48a3b091. This closes #104 issue on GitHub.
2018-04-20Fixed alerts about freeing non-freeable memory on connection close.Igor Sysoev1-1/+0
The nxt_conn_t object is allocated by nxt_zget() and should not be freed.
2018-04-20Prevention of freeing non-freeable memory pool block.Igor Sysoev1-17/+26
2018-04-20Go: fixed request.Read() behaviour for EOF.Max Romanov1-1/+6
This closes #108 issue on GitHub.
2018-04-19Router: fixed race condition while access log reopening.Valentin Bartenev1-2/+21
In order to reopen access log, the router process creates a memory pool and allocates a buffer to send RPC message for the main process. Previously, the memory pool was destroyed when RPC response handler was called. It appeared, that the buffer completion handler could be not triggered by that time and still remained in a queue. Now the memory pool is destroyed only after both events are happen.
2018-04-19Python: returning write() callable object from start_response().Alexander Borisov1-1/+47
According to PEP (3)333 the start_respose() function must return a write() callable. This closes #107 issue on GitHub.
2018-04-18Removed duplicating socket address parsing function.Valentin Bartenev1-279/+3
This also fixes #101 issue on GitHub. The function previously used to parse IPv6 address of control socket was broken. Now the working function is used instead.
2018-04-18Added missing cleanup when nxt_port_socket_write() failed.Valentin Bartenev1-13/+39
2018-04-17Added missing checks if nxt_port_rpc_register_handler() failed.Valentin Bartenev3-1/+9
This closes #97 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao).
2018-04-13Improved "unitd" command line help.Valentin Bartenev1-2/+5
2018-04-13Version bump.Valentin Bartenev1-2/+2
2018-04-12Version bump.Valentin Bartenev1-2/+2
2018-04-12Miscellaneous changes.Igor Sysoev1-9/+14
2018-04-12Disabling timer when request header has been entirely read.Igor Sysoev1-2/+8
2018-04-12Fixed idle timeout, broken in b3e55c647741.Igor Sysoev1-1/+1
2018-04-11Controller: added "/config" prefix for the configuration object.Valentin Bartenev1-0/+11
2018-04-11Access log reopening.Valentin Bartenev4-3/+127
2018-04-11Initial access log support.Valentin Bartenev8-28/+422
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.