summary refs log tree commit diff stats
path: root/lib/pure/selectors.nim
Commit message (Collapse)AuthorAgeFilesLines
* Clean up selectors documentation a bitdef2015-02-241-4/+9
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* made a test greenAraq2015-02-121-1/+1
|
* Handle EPOLLHUP to avoid chaos/runaways when using certain file descriptors.Elie Zedeck2015-01-211-1/+1
| | | | A concrete example is pipe file descriptors: they generate EPOLLHUP instead of a EPOLLIN (then 0 bytes read). The loop will run wild if this event is not handled.
* Fix: Only handle EPOLLERR as an error eventdef2015-01-131-2/+0
| | | | | When an EPOLLRDHUP is received with epoll_ctl, there can still be data to be read. So we shouldn't immediately close the socket and abort.
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* Handle interrupt on epoll_wait graciously (allows strace to work)def2015-01-041-1/+5
|
* Close async socket on error (instead of looping on epoll_wait with 100% CPU)def2015-01-041-1/+4
|
* 'nimfix' improvements; FdSet is TFdSet againAraq2014-09-081-3/+3
|
* big renameAraq2014-08-271-78/+82
|
* Many async optimisations.Dominik Picheta2014-07-121-1/+1
| | | | | | | | | * Selectors implementation will now attempt to immediately execute an IO operation instead of waiting for a ready notification. * Removed recursion in asynchttpserver. * Improved buffered implementation of recvLine in asyncnet. * Optimised ``respond`` in asynchttpserver removing a possible "Delayed ACK" situation.
* Update selectors.nimVarriount2014-05-251-1/+1
|
* Update selectors.nimVarriount2014-05-251-4/+33
| | | Fixed selectors.nim on macosx
* Fix issue #1134Clay Sweetser2014-05-241-3/+6
| | | | Adds the necessary imports for selectors under MacOSX
* Fixes #1197.Dominik Picheta2014-05-141-8/+28
|
* Fixes docgen.Dominik Picheta2014-04-151-1/+1
|
* Add checks for invalid socket when creating sockets.Dominik Picheta2014-04-151-0/+1
|
* Fixes selectors module on Mac OS X.Dominik Picheta2014-04-061-0/+1
|
* Selectors module now uses select on operating systems other than Linux.Dominik Picheta2014-04-061-23/+9
|
* Select implementation in selectors module compiles again.Dominik Picheta2014-04-061-3/+3
|
* File descriptors are now removed from fds list explicitly in close().Dominik Picheta2014-03-141-19/+17
| | | | Fixes tasyncawait on linux.
* tasyncawait now works on Linux.Dominik Picheta2014-03-111-27/+38
| | | | | | Reworked detection of a file descriptor being closed with epoll (in the case of sockets it is when the remote host disconnects). Ensured that events are only updated when they change.
* Fixes to asyncio2 on Linux.Dominik Picheta2014-03-091-8/+18
|
* Implemented selector support for asyncio2.Dominik Picheta2014-02-221-177/+178
|
* Epoll now works.Dominik Picheta2013-10-311-26/+47
|
* Epoll wrapper + selectors module.Dominik Picheta2013-10-311-0/+228