Igor Sysoev
58907888e5
Style fixes.
2017-09-06 02:30:55 +03:00
Igor Sysoev
738ca54ded
Changed modules names format.
2017-08-31 00:42:16 +03:00
Igor Sysoev
f0e9e3ace9
nginext has been renamed to unit.
2017-08-31 00:42:16 +03:00
Max Romanov
9791b09ce3
Fixed pid_file pattern misprint introduced in 231:6832cdee961e.
2017-08-30 11:50:16 -07:00
Igor Sysoev
a812579842
Adding a missing slash to the tail of path set by --modules
...
command line option.
2017-08-30 21:44:39 +03:00
Igor Sysoev
9d487df10d
The master process has been renamed to the main process.
2017-08-29 02:59:35 +03:00
Igor Sysoev
946867febe
Improved English.
2017-08-29 02:22:22 +03:00
Igor Sysoev
93f7104a65
Added configure and command line option --help.
2017-08-26 13:37:44 +03:00
Igor Sysoev
0d65c896cf
Added configure and command line option --control.
2017-08-26 13:37:44 +03:00
Igor Sysoev
7f5b57bfb9
Added configure and command line option --modules.
2017-08-26 13:37:44 +03:00
Igor Sysoev
9aaa7d8c20
Added configure option --user=USER and --group=GROUP.
2017-08-26 13:37:44 +03:00
Igor Sysoev
e64494ba2c
Added configure option --pid=FILE.
...
A pid file name can be relative.
The default pid file name is "nginext.pid".
2017-08-26 13:37:44 +03:00
Igor Sysoev
d3a6d7805f
Added configure options --prefix=PATH and --log=FILE.
...
A prefix is prepended to all relative names at configure stage.
There is no prefix by default.
A log file name can be relative.
The default log file name is "nginext.log".
2017-08-26 13:37:44 +03:00
Valentin Bartenev
2caa5cb845
Fixed building by GCC after 924c70e5fd1f.
2017-08-24 19:51:13 +03:00
Igor Sysoev
b84aa64dcb
Removed configure option --no-threads.
2017-08-24 17:43:32 +03:00
Igor Sysoev
8b4b52ae3b
Checking invalid command line options.
2017-08-24 17:43:31 +03:00
Igor Sysoev
1e53ff184c
Added command line option --version.
2017-08-24 17:29:57 +03:00
Igor Sysoev
259b90b9d7
Removed command line option --workers.
2017-08-24 17:29:53 +03:00
Igor Sysoev
6ef9fb7d97
Renamed command line option --no-daemonize to --no-daemon.
2017-08-24 17:29:43 +03:00
Igor Sysoev
949548da29
The new module configuration interface.
...
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-17 21:47:19 +03:00
Ruslan Ermilov
23d38a5794
Corrected path to nxt_socket.h in comments.
2017-08-16 14:16:14 +03:00
Max Romanov
f23f985899
Runtime processes protected with mutex.
2017-08-02 13:22:07 +03:00
Max Romanov
803855138c
Mem pool cleanup introduced.
...
Used for connection mem pool cleanup, which can be used by buffers.
Used for port mem pool to safely destroy linked process.
2017-07-18 00:21:16 +03:00
Max Romanov
eb675f2d78
Port allocation and destroy changed. Worker process stop introduced.
2017-07-18 00:21:14 +03:00
Max Romanov
b0c1e740cf
New process port exchange changed. READY message type introduced.
...
Application process start request DATA message from router to master.
Master notifies router via NEW_PORT message after worker process become ready.
2017-07-12 20:32:16 +03:00
Max Romanov
e58f4ef0d0
Memory pool thread safety checks in DEBUG build and usage fixes.
2017-07-07 16:01:34 +03:00
Max Romanov
74cda90e31
Process stop notification from master to all other processes.
...
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-07 16:01:34 +03:00
Igor Sysoev
ec5e540fd7
Fixed building with enabled IPv6 support.
2017-06-28 18:01:00 +03:00
Max Romanov
83088a0f4b
Incoming and outgoing port_mmap arrays are protected with mutexes.
2017-06-23 19:20:08 +03:00
Max Romanov
0fdcdde6c8
lvlhash for ports moved to separate files for future re-use.
2017-06-23 19:19:41 +03:00
Max Romanov
58e20da984
Runtime ports fix, add enumeration macros.
2017-06-23 19:19:41 +03:00
Valentin Bartenev
9593ce769a
Removed surplus type casting from nxt_memcmp() calls.
2017-06-21 22:45:20 +03:00
Igor Sysoev
f888a5310c
Using new memory pool implementation.
2017-06-20 19:49:17 +03:00
Igor Sysoev
7574c64992
nxt_event_conn_... functions and structures have been renamed
...
to nxt_conn_...
2017-06-14 15:18:52 +03:00
Igor Sysoev
71c906a512
The controller did not work because of changes in the previous
...
changeset.
2017-06-06 18:53:15 +03:00
Igor Sysoev
5bc011afad
Skeleton of router configuration and request processing.
2017-05-31 15:26:45 +03:00
Max Romanov
f7b4bdfd89
Using shared memory to send data via nxt_port.
...
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-05-12 20:32:41 +03:00
Igor Sysoev
e13cbdb439
Solaris compatibilty.
2017-03-14 19:52:57 +03:00
Igor Sysoev
6f2c9acd18
Processes refactoring.
...
The cycle has been renamed to the runtime.
2017-03-09 18:03:27 +03:00