Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2017-07-07 | Process stop notification from master to all other processes. | Max Romanov | 1 | -0/+1 | |
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 | Using engine's task instead of listen's task. | Max Romanov | 1 | -0/+4 | |
2017-07-07 | Redirecting buffer completion handler to specific engine. | Max Romanov | 1 | -11/+30 | |
There is a case in router where we use port in router connection thread. Buffers are allocated within connection memory pool which can be used only in this router thread. sendmsg() can be postponed into main router thread and completion handler will compare current engine and post itself to correct engine. | |||||
2017-07-06 | Router: read configuration from port. | Max Romanov | 1 | -18/+50 | |
Controller: stub to send configuration from POST body "as is" to router. | |||||
2017-07-05 | An assertion on listening socket close. | Igor Sysoev | 1 | -2/+5 | |
2017-07-05 | By default a number of router worker threads is set to a number | Igor Sysoev | 1 | -0/+4 | |
of CPUs. | |||||
2017-07-05 | Router: processing JSON configuration. | Igor Sysoev | 1 | -119/+327 | |
2017-07-05 | Python WSGI: SERVER_NAME, SERVER_PORT fixed, REMOTE_ADDR introduced. | Max Romanov | 1 | -0/+3 | |
Shortcut: do not iterate over String (or Bytes) return object. Call 'close()' for return object (if present). | |||||
2017-06-28 | Setting listen socket fields lost in changeset 10688b89aa16. | Igor Sysoev | 1 | -0/+2 | |
2017-06-26 | Double buf completion call on connection timeout fixed. | Max Romanov | 1 | -5/+1 | |
2017-06-23 | Added basic HTTP request processing in router. | Max Romanov | 1 | -29/+349 | |
- request to connection mapping in engine; - requests queue in connection; - engine port creation; - connected ports hash for each process; - engine port data messages processing (app responses); | |||||
2017-06-20 | Using new memory pool implementation. | Igor Sysoev | 1 | -46/+32 | |
2017-06-19 | Memory pools refactoring. | Igor Sysoev | 1 | -2/+3 | |