Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-11 | Request body read state implemented. | Max Romanov | 1 | -12/+22 | |
With specific timeout and buffer size settings. | |||||
2017-08-02 | Added basic port error handler. | Max Romanov | 1 | -11/+3 | |
2017-08-02 | Runtime processes protected with mutex. | Max Romanov | 1 | -1/+1 | |
2017-08-02 | Freed mmap memory filled with 0xA5. | Max Romanov | 1 | -0/+6 | |
2017-08-02 | Added bit flags to type parameter of nxt_port_socket_write(). | Max Romanov | 1 | -41/+1 | |
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-12 | New process port exchange changed. READY message type introduced. | Max Romanov | 1 | -12/+56 | |
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready. | |||||
2017-07-10 | Introducing thread-safe nxt_random(). | Igor Sysoev | 1 | -1/+1 | |
2017-07-07 | Memory pool thread safety checks in DEBUG build and usage fixes. | Max Romanov | 1 | -2/+8 | |
2017-07-07 | Redirecting buffer completion handler to specific engine. | Max Romanov | 1 | -13/+16 | |
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-06-23 | Incoming and outgoing port_mmap arrays are protected with mutexes. | Max Romanov | 1 | -0/+12 | |
2017-06-23 | Moved message size to nxt_port_recv_msg_t for convenience. | Max Romanov | 1 | -1/+3 | |
2017-06-23 | Store pointer to shared memory start in buf->parent. | Max Romanov | 1 | -231/+202 | |
nxt_port_mmap_t stored in arrays and it is unsafe to store pointer to array element. Shared memory structures and macros moved to separate header file to be used by GO package. | |||||
2017-06-23 | Store mem_pool in buf->data instead of port for consistency. | Max Romanov | 1 | -13/+33 | |
2017-06-23 | Shorter shared memory name generated. | Max Romanov | 1 | -2/+2 | |
2017-06-20 | Using new memory pool implementation. | Igor Sysoev | 1 | -3/+3 | |
2017-05-12 | Using shared memory to send data via nxt_port. | Max Romanov | 1 | -0/+700 | |
Usage: b = nxt_port_mmap_get_buf(task, port, size); b->mem.free = nxt_cpymem(b->mem.free, data, size); nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA, -1, 0, b); |