summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2017-09-06Style fixes.Igor Sysoev22-125/+186
2017-09-06Controller: validating user and group names.Igor Sysoev1-4/+67
2017-09-05Fixing request id logging.Max Romanov1-1/+1
2017-09-05Fixing racing condition on app port release/request.Max Romanov1-1/+21
Application free ports is a queue (double linked list) protected with mutex. After successfull request parsing, each router thread (1) tries to get port from this list. If this list is empty, (2) start worker request posted to main router thread. Another thread may release port between (1) and (2). This fix adds an attempt to get port from free ports list at the beginning of start worker action in main thread.
2017-09-05Double connection close attempt fix.Max Romanov2-4/+13
2017-09-05Using CSTRZ mapping type for go executable.Max Romanov3-10/+6
2017-09-05Introducing working_directory directive for applications.Max Romanov4-0/+36
2017-09-04Fixed permissions for Go sources.Andrei Belov1-1/+1
In particular, it resolves a number of errors and warnings reported by rpmlint(1).
2017-09-04Initialized task in utf8 unit test, fixes segfault in debug build.Sergey Kandaurov1-5/+8
2017-09-01Added SERVER_ADDR parameter for Python and PHP modules.Igor Sysoev4-0/+11
2017-08-31Fixed format specifier.Igor Sysoev1-1/+1
2017-08-31Setting build directory with variable instead of configure option.Igor Sysoev2-5/+1
2017-08-31Introducing install & uninstall Makefile targets.Max Romanov8-26/+111
2017-08-31Multiplexing different requests in single app port.Max Romanov1-0/+5
2017-08-31Default value 1 for number of workers.Max Romanov1-0/+2
2017-08-31Go: fixed splitting recipe line with newer gmake.Sergey Kandaurov1-2/+2
Use double quotes to quote a string with the backslash/newline pair. Newer gmake versions, such as GNU Make 4.1, do not remove the backslash from a string quoted with single quotes, which results in an extraneous backslash passed to the shell and, eventually, to the Go compiler.
2017-08-31PHP SAPI: typo fixed.Sergey Kandaurov1-1/+1
2017-08-31Changed modules names format.Igor Sysoev3-9/+9
2017-08-31nginext has been renamed to unit.Igor Sysoev35-54/+53
2017-08-31Introduced module compatibility vector.Igor Sysoev7-5/+50
2017-08-31Moving generating CGO header file to the make stage.Igor Sysoev1-12/+13
2017-08-30Avoid nxt_port_mmap_header_t redefinition warning.Max Romanov1-3/+1
2017-08-30Avoid nxt_go_process_t redefinition warning.Max Romanov3-3/+12
2017-08-30ListenAndServe changed to be compatible with http.ListenAndServe.Max Romanov3-6/+27
2017-08-30Send remote address to go application.Max Romanov2-0/+6
2017-08-30Fixed pid_file pattern misprint introduced in 231:6832cdee961e.Max Romanov1-1/+1
2017-08-30Adding a missing slash to the tail of path set by --modulesIgor Sysoev1-3/+12
command line option.
2017-08-30The discovery process did not quit if no modules were not found.Igor Sysoev1-41/+48
2017-08-30Controller: resending configuration to router after its restart.Valentin Bartenev1-66/+116
Now router crash can be survived with less damage.
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 Sysoev23-337/+326
2017-08-29The process type enum exposed to go module.Max Romanov6-15/+29
2017-08-29Fixed debug message broken in e8da77a2c293.Max Romanov1-4/+3
2017-08-29Using NXT_GO variable instead of explicit go.Max Romanov1-4/+4
2017-08-29Store and use NXT_LIBRT for go module.Max Romanov3-1/+4
2017-08-29Separation of module prerequisites for 'all' target in Makefile.Max Romanov3-6/+6
To avoid using sed -i.
2017-08-29The master process has been renamed to the main process.Igor Sysoev16-123/+123
2017-08-29Improved English.Igor Sysoev3-11/+11
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 configuration summary.Igor Sysoev2-0/+24
2017-08-26Added configure and command line option --help.Igor Sysoev8-42/+154
2017-08-26Added configure and command line option --control.Igor Sysoev6-39/+53
2017-08-26Added configure and command line option --modules.Igor Sysoev5-2/+41
2017-08-26Added configure option --user=USER and --group=GROUP.Igor Sysoev4-11/+40
2017-08-26Added configure option --pid=FILE.Igor Sysoev4-18/+12
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 Sysoev4-15/+28
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