summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
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 Bartenev2-2/+26
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-14Restored arc4random unit test after 59fc46dd5e1d.Ruslan Ermilov2-18/+0
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
2017-07-07Router: processing application configuration.Igor Sysoev3-35/+267
2017-07-07Configuration: basic schema validation for applications.Valentin Bartenev1-14/+122
2017-07-07Router: connection destroy sequence fixed.Max Romanov2-3/+11
2017-07-07Controller: relaxed JSON parser.Valentin Bartenev1-80/+72
Now it allows commas after the last elements in objects and arrays, as it's a common Igor's mistake.
2017-07-07Taken counter initialized for new pages.Max Romanov1-0/+1
Fixed crash in nxt_mp_get() when pages re-used and 'taken' contains initial 'map' value '0xFFFFFFFF'.
2017-07-07Memory pool thread safety checks in DEBUG build and usage fixes.Max Romanov6-16/+100
2017-07-07Work queue thread safety checks for DEBUG build.Max Romanov3-7/+44
2017-07-07Python initialization moved from master to worker application.Max Romanov1-94/+46
2017-07-07Process stop notification from master to all other processes.Max Romanov11-22/+113
New port message type introduced NXT_PORT_MSG_REMOVE_PID. Default handler removes process description from nxt_runtime_t with all ports, incoming and outgoing mmaps etc.
2017-07-07Cosmetic changes to remove some annoying valgrind messages.Max Romanov3-2/+12
2017-07-07Using engine's task instead of listen's task.Max Romanov1-0/+4