Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-09-06 | Style fixes. | Igor Sysoev | 1 | -17/+31 | |
2017-09-05 | Fixing request id logging. | Max Romanov | 1 | -1/+1 | |
2017-09-05 | Fixing racing condition on app port release/request. | Max Romanov | 1 | -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-05 | Double connection close attempt fix. | Max Romanov | 1 | -2/+11 | |
2017-09-01 | Added SERVER_ADDR parameter for Python and PHP modules. | Igor Sysoev | 1 | -0/+7 | |
2017-08-31 | Multiplexing different requests in single app port. | Max Romanov | 1 | -0/+5 | |
2017-08-31 | Default value 1 for number of workers. | Max Romanov | 1 | -0/+2 | |
2017-08-30 | Send remote address to go application. | Max Romanov | 1 | -0/+1 | |
2017-08-29 | Fixed debug message broken in e8da77a2c293. | Max Romanov | 1 | -4/+3 | |
2017-08-29 | The master process has been renamed to the main process. | Igor Sysoev | 1 | -13/+13 | |
2017-08-26 | Introduced nxt_socket_defer_accept(). | Igor Sysoev | 1 | -6/+1 | |
2017-08-17 | The new module configuration interface. | Igor Sysoev | 1 | -6/+271 | |
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-16 | Object mapping interface extended with more string types. | Valentin Bartenev | 1 | -6/+6 | |
2017-08-11 | Controller: more HTTP headers and detailed JSON parsing errors. | Valentin Bartenev | 1 | -1/+1 | |
2017-08-11 | Request body read state implemented. | Max Romanov | 1 | -51/+191 | |
With specific timeout and buffer size settings. | |||||
2017-08-02 | Listening socket creation and binding operations are passed | Igor Sysoev | 1 | -63/+192 | |
to the master process. | |||||
2017-08-02 | Added basic port error handler. | Max Romanov | 1 | -1/+2 | |
2017-08-02 | Implicit port read buffer completion. | Max Romanov | 1 | -8/+4 | |
To disable implicit completion, handler should reset msg->buf field. | |||||
2017-08-02 | Using port rpc in controller->router configuration update. | Max Romanov | 1 | -32/+5 | |
2017-08-02 | Using port rpc in router->master start worker request. | Max Romanov | 1 | -151/+97 | |
2017-08-02 | Port RPC interface introduced. | Max Romanov | 1 | -0/+3 | |
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-02 | Added bit flags to type parameter of nxt_port_socket_write(). | Max Romanov | 1 | -2/+3 | |
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-07-25 | Assign current request id to prevent port memory release. | Max Romanov | 1 | -0/+1 | |
2017-07-25 | Using engine task to avoid racing condition. | Max Romanov | 1 | -1/+6 | |
2017-07-25 | Fixed building on Solaris by Sun C. | Max Romanov | 1 | -2/+3 | |
2017-07-19 | Listening sockets remaining from the previous configuration | Igor Sysoev | 1 | -0/+1 | |
were not updated with new parameters. | |||||
2017-07-18 | Added application name in process title. | Igor Sysoev | 1 | -1/+6 | |
2017-07-18 | Request-app link introduced to prevent mp destroy for penging requests. | Max Romanov | 1 | -122/+296 | |
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-18 | Using correct task for engine post. | Max Romanov | 1 | -8/+15 | |
2017-07-18 | Work queue thread assertions. Reset thread after fork. | Max Romanov | 1 | -0/+2 | |
2017-07-18 | Mem pool cleanup introduced. | Max Romanov | 1 | -17/+16 | |
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 | Port allocation and destroy changed. Worker process stop introduced. | Max Romanov | 1 | -65/+185 | |
2017-07-16 | Router configuration retention count fixed. | Igor Sysoev | 1 | -1/+1 | |
2017-07-16 | Router: joint must be added to engine's joint list in the | Igor Sysoev | 1 | -2/+4 | |
engine thread. | |||||
2017-07-14 | Router: joint must be checked before memory pool destruction. | Igor Sysoev | 1 | -1/+5 | |
2017-07-14 | Router: listening socket configuration retention count fixed. | Igor Sysoev | 1 | -1/+6 | |
2017-07-14 | Router: using joint job queues instead of arrays to pass | Igor Sysoev | 1 | -88/+35 | |
listening socket handlers to worker engines. | |||||
2017-07-14 | Router: using joint jobs to pass listening socket handlers to | Igor Sysoev | 1 | -75/+65 | |
worker engines. | |||||
2017-07-13 | Router: restoring listening sockets of the previous configuration. | Igor Sysoev | 1 | -0/+6 | |
2017-07-12 | Closing new listening sockets on configuration failure. | Igor Sysoev | 1 | -10/+35 | |
2017-07-12 | Single allocation for app conf and name. | Max Romanov | 1 | -10/+15 | |
2017-07-12 | New process port exchange changed. READY message type introduced. | Max Romanov | 1 | -131/+531 | |
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 | Controller: proper reconfiguration requests handling. | Valentin Bartenev | 1 | -0/+2 | |
Now controller serializes all reconfiguration requests and waits for result from router. | |||||
2017-07-11 | Sending a result of configuration applying back to the controller. | Igor Sysoev | 1 | -99/+226 | |
2017-07-10 | Introducing thread-safe nxt_random(). | Igor Sysoev | 1 | -1/+1 | |
2017-07-10 | Configuration: nxt_conf_map_object() improvements. | Valentin Bartenev | 1 | -20/+8 | |
2017-07-07 | Router: a fix in the previous changeset. | Igor Sysoev | 1 | -1/+1 | |
2017-07-07 | Router: processing application configuration. | Igor Sysoev | 1 | -35/+235 | |
2017-07-07 | Router: connection destroy sequence fixed. | Max Romanov | 1 | -3/+9 | |
2017-07-07 | Memory pool thread safety checks in DEBUG build and usage fixes. | Max Romanov | 1 | -0/+2 | |