Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-11-14 | Using event engine memory buffers in HTTP/1 layer. | Igor Sysoev | 1 | -1/+1 | |
2019-02-28 | Fixed timer and event race condition. | Igor Sysoev | 1 | -3/+4 | |
When idle timeout occurs at the same time as a request comes in, the timer handler closes connection while the read event triggers request processing, and this eventually leads to segmentation fault. | |||||
2018-11-13 | Checking error states in I/O handlers. | Igor Sysoev | 1 | -0/+4 | |
2018-10-22 | Re-engineered timers. | Valentin Bartenev | 1 | -2/+2 | |
To optimize rbtree operations, all changes are stored in array and later processed in batches. The previous implementation of this mechanics had a number of design flaws. Each change was saved in a new array entry; until the changes were applied, the timer remained in an intermediate state (NXT_TIMER_CHANGING). This intermediate state didn't allow to identify if time was going to be disabled or enabled. However, the nxt_conn_io_read() function relied on this information; as a result, in some cases the read timeout wasn't set. Also, the nxt_timer_delete() function did not reliably track whether a timer was added to the work queue. It checked the NXT_TIMER_ENQUEUED state of a timer, but this state could be reset to NXT_TIMER_DISABLED by a nxt_timer_disable() call or another nxt_timer_delete() call. Now, instead of keeping the whole history of the timer's changes, the new implementation updates the timer state immediately, and only one operation is added to the array to add or delete timer in the rbtree according to its final state. | |||||
2018-09-20 | Added SSL/TLS support on connection level. | Igor Sysoev | 1 | -18/+30 | |
2018-09-17 | Fixed non-auto-reset timers. | Igor Sysoev | 1 | -10/+5 | |
2018-07-30 | Fixed segfault on listening socket close. | Igor Sysoev | 1 | -0/+2 | |
Now keep-alive connection sends 408 response if listening socket was closed while reconfiguration. | |||||
2018-04-11 | Introducing connection state io_read_handler. | Igor Sysoev | 1 | -7/+4 | |
2017-06-14 | nxt_event_conn_... functions and structures have been renamed | Igor Sysoev | 1 | -21/+19 | |
to nxt_conn_... | |||||
2017-06-06 | C99 style declaration of connection states. | Igor Sysoev | 1 | -1/+1 | |
2017-02-22 | I/O operations refactoring. | Igor Sysoev | 1 | -63/+46 | |
2017-02-07 | Event engines refactoring. | Igor Sysoev | 1 | -5/+5 | |
2017-01-31 | Event engine timers refactoring. | Igor Sysoev | 1 | -2/+2 | |
2017-01-30 | nxt_event_timer has been renamed to nxt_timer. | Igor Sysoev | 1 | -3/+3 | |
2017-01-27 | Work queues refactoring. | Igor Sysoev | 1 | -4/+3 | |
2017-01-23 | Introducing tasks. | Igor Sysoev | 1 | -23/+25 | |