-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eventmachine LE #570
Eventmachine LE #570
Conversation
EventMachine::attach_Server is for attaching an arbitrary server IO object or file descriptor to the event loop. Tries to fix eventmachine#93. Signed-off-by: Ramon Marco L. Navarro <ramonmaruko@gmail.com>
Conflicts: README.md ext/cmain.cpp ext/ed.cpp ext/ed.h ext/eventmachine.h ext/rubymain.cpp tests/test_epoll.rb
FIXME: Why is handing a wrong argument to initialize a silent error?
…AP_NET_ADMIN or uid 0.
…atagram. Note that EM.send_datagram does NEVER validate the given address.
Conflicts: tests/test_ipv6.rb
Added Travis icon
Removed custom Github page (non mantained, let's use just the README).
I think this fixes issue eventmachine#441. 8b613d0 changed the `select` timeout to zero in the case where NumCloseScheduled > 0. It seems that in certain circumstances (for example, if `close_connection` is called in a connection's `unbind`) NumCloseScheduled would get incremented twice, but only decremented once, thus never again reaching zero for the lifetime of the reactor. The user-observed effect was that one CPU core would be pegged at 100%, because the zero `select` timeout caused us to go around the select loop without any pause. Changing it so that it is safe to ScheduleClose() multiple times seems like the cleanest solution to the problem.
Make ScheduleClose() idempotent
…o (do not announce handskale completion). In that case invoke unbind() with error==EPROTO (protocol error). - Improve gemspec. - Version 1.1.7.
Well the goal date came and went, and in the mean time I've done a few EM 1.0.x releases incorporating many bug fixes and cleanups. Once I've cleared through all the things I can get into 1.0.x, I'll resume work towards 1.2.0 here. |
just want to say thanks for all the work here and coordination involved on getting both projects together again! |
March 2016, eventmachine 1.2.0 is coming! |
Great work! |
EventMachine 1.2.0 is released! https://rubygems.org/gems/eventmachine/versions/1.2.0 |
This PR will track a merge of ibc/eventmachine-le into mainline eventmachine.
A brief history: around EM 0.12.x, EM was lacking solid IPv6 support, so @cabo and @ibc began working on this in a fork. EM was heading towards its 1.0 release, and the fork was doing some experimental work at the time, so they kept separate gems.
Today: eventmachine 1.0.x is stable and in common use across the Ruby world. eventmachine-le 1.1.x is stable and used by a smaller group with IPv6 needs.
What's next: eventmachine will skip the 1.1.x version numbers, eventmachine 1.2.0 will include the work from eventmachine-le. Goal date is March 2015.