summaryrefslogtreecommitdiffhomepage
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-08-02Added bit flags to type parameter of nxt_port_socket_write().Max Romanov9-66/+56
NXT_PORT_MSG_LAST - mark message as last; NXT_PORT_MSG_CLOSE_FD - close fd right after send; Type constants altered to include last flag for single buffer messages. Last sign is critical for coming port RPC layer. Handlers unregistered on last message. Create sync buffer is not convenient, extra parameter is better.
2017-08-02Using old-style packed attribute specification for compatibility.Max Romanov1-4/+4
2017-07-25Assign current request id to prevent port memory release.Max Romanov1-0/+1
2017-07-25Using engine task to avoid racing condition.Max Romanov1-1/+6
2017-07-25Fixed building on Solaris by Sun C.Max Romanov5-11/+9
2017-07-21Fixed building without debug.Valentin Bartenev1-4/+2
2017-07-19Fixed a bug introduced in the changeset 9585902ff351.Igor Sysoev1-1/+1
2017-07-19Listening sockets remaining from the previous configurationIgor Sysoev1-0/+1
were not updated with new parameters.
2017-07-19The master process title has been renamed to "main" process.Igor Sysoev1-3/+7
The command line is enclosed in brackets.
2017-07-19Removed "process" word from process title.Igor Sysoev1-4/+3
2017-07-18Added application name in process title.Igor Sysoev3-14/+39
2017-07-18Configuration: improved declaration of short strings.Valentin Bartenev1-10/+14
2017-07-18Configuration: reduced memory consumption of long strings.Valentin Bartenev2-26/+35
2017-07-18Configuration: reduced memory consumption.Valentin Bartenev1-4/+4
2017-07-18Fixed building by Clang.Igor Sysoev2-2/+2
2017-07-18More accurate "packed" attribute declaration.Valentin Bartenev1-2/+11
2017-07-18Removed NXT_PACKED from port structures.Valentin Bartenev1-2/+2
That was added only to silence Valgrind, but it results in unaligned access (which breaks Unit on ARM architecture).
2017-07-18Request-app link introduced to prevent mp destroy for penging requests.Max Romanov4-125/+302
nxt_req_conn_link_t still used for lookup connection by request id. New nxt_req_app_link_t (ra) allocated from conn->mem_pool using mp_retain(). ra stored in app->requests if there is no free worker to process request.
2017-07-18Using correct task for engine post.Max Romanov1-8/+15
2017-07-18Work queue thread assertions. Reset thread after fork.Max Romanov6-3/+54
2017-07-18Mem pool cleanup introduced.Max Romanov9-36/+101
Used for connection mem pool cleanup, which can be used by buffers. Used for port mem pool to safely destroy linked process.
2017-07-18Port allocation and destroy changed. Worker process stop introduced.Max Romanov12-162/+298
2017-07-18Python: typo fixed in string processing shortcut.Max Romanov1-2/+2
2017-07-16Fixed building by Clang.Igor Sysoev1-3/+0
2017-07-16Router configuration retention count fixed.Igor Sysoev1-1/+1
2017-07-16Router: joint must be added to engine's joint list in theIgor Sysoev1-2/+4
engine thread.
2017-07-14Thread pools: various fixes.Igor Sysoev1-3/+3
2017-07-14Router: joint must be checked before memory pool destruction.Igor Sysoev1-1/+5
2017-07-14Router: listening socket configuration retention count fixed.Igor Sysoev1-1/+6
2017-07-14Router: using joint job queues instead of arrays to passIgor Sysoev2-91/+36
listening socket handlers to worker engines.
2017-07-14Router: using joint jobs to pass listening socket handlers toIgor Sysoev2-78/+75
worker engines.
2017-07-14Fixed the previous commit.Valentin Bartenev1-5/+11
2017-07-14Null-terminated user and group.Valentin Bartenev1-8/+19
2017-07-13Using correct task for connection initialization.Igor Sysoev1-2/+2
2017-07-13Router: restoring listening sockets of the previous configuration.Igor Sysoev1-0/+6
2017-07-12Closing new listening sockets on configuration failure.Igor Sysoev1-10/+35
2017-07-12Fixed style and building with NXT_DEBUG_MEMORY after 3578a7b7ace4.Valentin Bartenev1-22/+14
2017-07-12Array elements reallocation fixed.Max Romanov2-1/+15
2017-07-12Memory pool debug enabled with NXT_DEBUG_ALLOC define.Max Romanov2-28/+82
2017-07-12Single allocation for app conf and name.Max Romanov1-10/+15
2017-07-12Go: worker initialization. READY message to master.Max Romanov8-97/+140
2017-07-12PHP SAPI: dynamic worker initialization.Max Romanov1-60/+87
2017-07-12New process port exchange changed. READY message type introduced.Max Romanov23-385/+1226
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready.
2017-07-12Controller: proper reconfiguration requests handling.Valentin Bartenev6-44/+153
Now controller serializes all reconfiguration requests and waits for result from router.
2017-07-11Sending a result of configuration applying back to the controller.Igor Sysoev2-103/+230
2017-07-10Introducing thread-safe nxt_random().Igor Sysoev9-32/+12
2017-07-10Configuration: improved validation.Valentin Bartenev1-25/+59
2017-07-10Configuration: nxt_conf_map_object() improvements.Valentin Bartenev3-35/+18
2017-07-10Controller: passing full configuration to router.Valentin Bartenev1-170/+6
2017-07-07Router: a fix in the previous changeset.Igor Sysoev1-1/+1