summaryrefslogtreecommitdiffhomepage
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
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
2017-07-25Assign current request id to prevent port memory release.Max Romanov1-0/+1
2017-07-25Using engine task to avoid racing condition.Max Romanov1-1/+6
2017-07-25Fixed building on Solaris by Sun C.Max Romanov5-11/+9
2017-07-21Fixed building without debug.Valentin Bartenev1-4/+2
2017-07-19Fixed a bug introduced in the changeset 9585902ff351.Igor Sysoev1-1/+1
2017-07-19Listening sockets remaining from the previous configurationIgor Sysoev1-0/+1
were not updated with new parameters.
2017-07-19The master process title has been renamed to "main" process.Igor Sysoev1-3/+7
The command line is enclosed in brackets.
2017-07-19Removed "process" word from process title.Igor Sysoev1-4/+3
2017-07-18Added application name in process title.Igor Sysoev3-14/+39
2017-07-18Configuration: improved declaration of short strings.Valentin Bartenev1-10/+14
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 Bartenev1-2/+11
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.