summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_epoll_engine.c (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2020-04-15Disabled epoll error processing when socket events are inactive.Igor Sysoev1-0/+7
2019-11-14Fixed connect(2) errors processing on old Linuxes.Igor Sysoev1-4/+4
While connect(2) states that non-blocking connect should use EPOLLOUT: EINPROGRESS The socket is non-blocking and the connection cannot be completed immediately. It is possible to select(2) or poll(2) for completion by selecting the socket for writing. After select(2) indicates writability, use getsockopt(2) to read the SO_ERROR option at level SOL_SOCKET to determine whether connect() completed successfully (SO_ERROR is zero) or unsuccessfully (SO_ERROR is one of the usual error codes listed here, explaining the reason for the failure). On connect error, Linux 2.6.32 (CentOS 6) may return EPOLLRDHUP, EPOLLERR, EPOLLHUP, EPOLLIN, but not EPOLLOUT.
2019-03-11Style.Andrey Zelenkov1-1/+1
2018-10-23Backout of ba94959b1dec and improving epoll error handling.Igor Sysoev1-4/+28
2018-10-22Improved epoll failures handling.Igor Sysoev1-12/+11
epoll changes are committed to the kernel before epoll_wait() or on changes array overflow. In the latter case if there are errors epoll_wait() timeout was not set to zero. This commit is related to #173 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao).
2018-10-22Removed duplicate code in epoll.Igor Sysoev1-9/+0
This commit is related to #173 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao).
2018-09-20Added SSL/TLS support on connection level.Igor Sysoev1-13/+11
2018-09-17Fixed typo.Igor Sysoev1-1/+1
This closes #166 issue on GitHub. Thanks to 洪志道 (Hong Zhi Dao).
2018-04-04Style: capitalized letters in hexadecimal literals.Valentin Bartenev1-2/+2
2018-03-05Reduced number of critical log levels.Valentin Bartenev1-27/+21
2018-02-12signalfd() notification should be ignored if nothing was read.Igor Sysoev1-0/+1
2017-10-04Added Linux 4.5 EPOLLEXCLUSIVE support.Igor Sysoev1-2/+10
2017-09-14Fixed textual socket name lengths and Unix domain sockaddr length.Igor Sysoev1-12/+8
2017-09-08Fixed a memory leak.Andrei Vagin1-0/+1
This closes #2 RP on GitHub. From f13cca01b7aa489dcb6909513f2b781b36ac7fea
2017-06-14nxt_event_conn_... functions and structures have been renamedIgor Sysoev1-50/+47
to nxt_conn_...
2017-06-09Fixed building with epoll (broken in 92b4984ca3c1).Valentin Bartenev1-1/+1
2017-05-31Skeleton of router configuration and request processing.Igor Sysoev1-1/+1
2017-02-22I/O operations refactoring.Igor Sysoev1-9/+9
2017-02-07Event engines refactoring.Igor Sysoev1-277/+264
2017-01-31Event engine timers refactoring.Igor Sysoev1-1/+1
2017-01-30nxt_event_timer has been renamed to nxt_timer.Igor Sysoev1-1/+1
2017-01-27Work queues refactoring.Igor Sysoev1-16/+13
2017-01-23Introducing tasks.Igor Sysoev1-61/+68