summaryrefslogtreecommitdiffhomepage
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-08-30Controller: waiting for router before start to accept connections.Valentin Bartenev3-31/+53
Previously, reconfiguration might fail right after the daemon start if the router process wasn't ready yet.
2017-08-30Controller: correct handling of missing router port.Valentin Bartenev1-11/+41
There's no router port if the router process is just crashed or hasn't started yet.
2017-08-30Lib unit tests have been renamed to tests.Igor Sysoev3-14/+6
2017-08-29The process type enum exposed to go module.Max Romanov4-14/+27
2017-08-29Fixed debug message broken in e8da77a2c293.Max Romanov1-4/+3
2017-08-29The master process has been renamed to the main process.Igor Sysoev15-121/+121
2017-08-29Improved English.Igor Sysoev1-3/+3
2017-08-28Improved reconfiguration requests serialization.Valentin Bartenev1-81/+49
Previously, only applying of updated configuration was serialized, while the changes themselves could be done in parallel on the same configuration. That resulted in inconsistent behaviour.
2017-08-28Fixed nxt_job_file_read_data().Valentin Bartenev1-1/+1
Obviously it should read data into the free region of buffer. The "free" pointer is respectively shifted in the code below.
2017-08-26Added configure and command line option --help.Igor Sysoev1-0/+44
2017-08-26Added configure and command line option --control.Igor Sysoev4-39/+41
2017-08-26Added configure and command line option --modules.Igor Sysoev3-2/+28
2017-08-26Added configure option --user=USER and --group=GROUP.Igor Sysoev2-11/+31
2017-08-26Added configure option --pid=FILE.Igor Sysoev2-18/+4
A pid file name can be relative. The default pid file name is "nginext.pid".
2017-08-26Added configure options --prefix=PATH and --log=FILE.Igor Sysoev2-15/+9
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-26Introduced nxt_socket_defer_accept().Igor Sysoev4-13/+25
2017-08-26Removed unused function.Igor Sysoev2-70/+0
2017-08-25Fixed typedef nxt_port_mmap_msg_t redefinition after 1b394e999c7c.Sergey Kandaurov1-1/+0
Redefinition of typedef is a C11 feature. On older compilers that default to C99, such as clang 3.4.1 supplied with FreeBSD 10, this caused -Wtypedef-redefinition warnings.
2017-08-24Fixed building by GCC after 924c70e5fd1f.Valentin Bartenev1-1/+1
2017-08-24Removed configure option --no-threads.Igor Sysoev18-269/+8
2017-08-24Checking invalid command line options.Igor Sysoev1-1/+8
2017-08-24Added command line option --version.Igor Sysoev3-6/+19
2017-08-24Removed command line option --workers.Igor Sysoev2-24/+0
2017-08-24Renamed command line option --no-daemonize to --no-daemon.Igor Sysoev1-1/+1
2017-08-17The new module configuration interface.Igor Sysoev17-401/+858
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-16Introduced nxt_conf_get_array_element().Valentin Bartenev2-0/+21
2017-08-16Object mapping interface extended with more string types.Valentin Bartenev4-15/+52
2017-08-16Renamed nxt_str_copy() to nxt_str_cstrz().Valentin Bartenev2-3/+3
2017-08-16Corrected path to nxt_socket.h in comments.Ruslan Ermilov3-5/+5
2017-08-15Fixed building on ppc.Valentin Bartenev1-1/+1
2017-08-13Fixed building by GCC after 7d1017bd0f6c.Valentin Bartenev1-1/+1
2017-08-11Controller: more HTTP headers and detailed JSON parsing errors.Valentin Bartenev5-158/+576
2017-08-11Fixed parsing of JSON encoded UTF-16 surrogate pairs.Valentin Bartenev1-16/+13
2017-08-11Request body read state implemented.Max Romanov15-254/+610
With specific timeout and buffer size settings.
2017-08-11Sync flag introduced for port type.Max Romanov2-4/+12
To avoid transfer mmap_msg before new mmap message.
2017-08-11RPC: peer pid special value -1 may be used if pid is unknown.Max Romanov1-36/+43
2017-08-11Tiny mmap buffers completion fixed.Max Romanov3-4/+5
Small mmap buffers transferred in 'plain' mode and should be freed by sender.
2017-08-08Fixed JSON escape sequence parsing.Valentin Bartenev1-2/+4
2017-08-04Fixed building without debug after c1ae75b4e17c and 6281674ecf4f.Valentin Bartenev2-11/+4
2017-08-04Fixed building by GCC.Igor Sysoev1-1/+1
2017-08-02Listening socket creation and binding operations are passedIgor Sysoev5-63/+406
to the master process.
2017-08-02Added basic port error handler.Max Romanov8-40/+81
2017-08-02Runtime processes protected with mutex.Max Romanov8-68/+106
2017-08-02Freed mmap memory filled with 0xA5.Max Romanov1-0/+6
2017-08-02Implicit port read buffer completion.Max Romanov4-21/+24
To disable implicit completion, handler should reset msg->buf field.
2017-08-02Using port rpc in controller->router configuration update.Max Romanov4-46/+30
2017-08-02Using port rpc in router->master start worker request.Max Romanov6-177/+148
2017-08-02Port RPC interface introduced.Max Romanov8-0/+368
Usage: 1. Register handlers in incoming port with nxt_port_rpc_register_handler(). 2. Use return value as a stream identifier for next nxt_port_socket_write().
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