Skip to content
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

Closed
wants to merge 135 commits into from
Closed

Conversation

sodabrew
Copy link
Member

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.

cabo and others added 30 commits June 27, 2010 05:30
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?
…atagram.

Note that EM.send_datagram does NEVER validate the given address.
ibc and others added 9 commits April 3, 2013 00:03
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.
…o (do not announce handskale completion). In that case invoke unbind() with error==EPROTO (protocol error).

- Improve gemspec.
- Version 1.1.7.
@sodabrew
Copy link
Member Author

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.

@brodock
Copy link

brodock commented Sep 16, 2015

just want to say thanks for all the work here and coordination involved on getting both projects together again!

@sodabrew sodabrew modified the milestones: v1.2.0, v1.2.1 Feb 25, 2016
@sodabrew
Copy link
Member Author

March 2016, eventmachine 1.2.0 is coming!

@sodabrew sodabrew closed this Feb 25, 2016
@ibc
Copy link
Contributor

ibc commented Feb 26, 2016

Great work!

@sodabrew
Copy link
Member Author

EventMachine 1.2.0 is released! https://rubygems.org/gems/eventmachine/versions/1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants