mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
Cross-platform JavaScript runtime environment
https://nodejs.org/
25d0e38048
The windows socket api uses handles, not fds. Libev caches the handle associated with an fd, and uses this handle when updating the (also cached) handle set that goes into select(). When an fd is closed and subsequently re-used before the event loop returns to libev, libev fails to detect properly that the handle changed. And even if it does, the cached handle of the closed socket is overwritten by the new handle, so by the time libev tries to update the select fdset it has forgotten which handle to remove from it. This is solved by a simple hook ev_fd_closed that makes it clear its caches before the fd is re-used. |
||
---|---|---|
benchmark | ||
cmake | ||
deps | ||
doc | ||
lib | ||
src | ||
test | ||
tools | ||
.gitignore | ||
AUTHORS | ||
ChangeLog | ||
CMakeLists.txt | ||
config.h.cmake | ||
configure | ||
CTestConfig.cmake | ||
LICENSE | ||
Makefile | ||
Makefile.cmake | ||
README | ||
README.cmake | ||
TODO | ||
TODO.win32 | ||
wscript |
Evented I/O for V8 javascript. To build: ./configure make make install To run the tests: make test To build the documentation: make doc To read the documentation: man doc/node.1 See http://nodejs.org/ for more information. For help and discussion subscribe to the mailing list by visiting http://groups.google.com/group/nodejs or by sending an email to nodejs+subscribe@googlegroups.com.