summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-10-04Removing mem_pool from port_hash interface.Max Romanov1-1/+0
Memory pool is not used by port_hash and it was a mistake to pass it into 'add' and 'remove' functions. port_hash enrties are allocated from heap.
2017-09-15Introducing named port message handlers to avoid misprints.Max Romanov1-1/+1
2017-08-30Controller: waiting for router before start to accept connections.Valentin Bartenev1-0/+4
Previously, reconfiguration might fail right after the daemon start if the router process wasn't ready yet.
2017-08-29The process type enum exposed to go module.Max Romanov1-12/+0
2017-08-29The master process has been renamed to the main process.Igor Sysoev1-1/+1
2017-08-17The new module configuration interface.Igor Sysoev1-0/+1
Configuration and building example: ./configure ./configure python ./configure php ./configure go make all or ./configure make nginext ./configure python make python ./configure php make php ./configure go make go Modules configuration options and building examples: ./configure python --module=python2 --config=python2.7-config make python2 ./configure php --module=php7 --config=php7.0-config --lib-path=/usr/local/php7.0 make php7 ./configure go --go=go1.6 --go-path=${HOME}/go1.6 make go1.6
2017-08-02Runtime processes protected with mutex.Max Romanov1-0/+1
2017-07-18Mem pool cleanup introduced.Max Romanov1-1/+3
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 Romanov1-5/+1
2017-07-12New process port exchange changed. READY message type introduced.Max Romanov1-11/+17
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready.
2017-07-07Memory pool thread safety checks in DEBUG build and usage fixes.Max Romanov1-0/+2
2017-06-23Incoming and outgoing port_mmap arrays are protected with mutexes.Max Romanov1-2/+4
2017-06-23Added basic HTTP request processing in router.Max Romanov1-0/+12
- request to connection mapping in engine; - requests queue in connection; - engine port creation; - connected ports hash for each process; - engine port data messages processing (app responses);
2017-06-23nxt_process_create() changed to add process to runtime before callbacks.Max Romanov1-1/+1
2017-06-20Using new memory pool implementation.Igor Sysoev1-1/+1
2017-05-12Using shared memory to send data via nxt_port.Max Romanov1-1/+23
Usage: b = nxt_port_mmap_get_buf(task, port, size); b->mem.free = nxt_cpymem(b->mem.free, data, size); nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA, -1, 0, b);
2017-03-09Processes refactoring.Igor Sysoev1-48/+64
The cycle has been renamed to the runtime.
2017-01-17Initial version.Igor Sysoev1-0/+87