ldilley / rubircd

:speech_balloon: An IRC server written in Ruby
http://www.dilley.me/rubircd
GNU General Public License v3.0
22 stars 4 forks source link

Add epoll and kqueue support #12

Closed ldilley closed 9 years ago

ldilley commented 9 years ago

Add support for epoll and kqueue using EventMachine.

Note that SSL and TLS are not currently supported when using EventMachine with JRuby. EM was using stub code last I checked for this.

ldilley commented 9 years ago

EventMachine integration may be a while off... I see no way to access client sockets using EM (it seems to abstract things nicely) and all existing RubIRCd code makes heavy use of sockets for communication. This may require a re-write or code duplication.

ldilley commented 9 years ago

EventMachine will not be pursued for now due to its shortcomings (no socket access and no SSL/TLS support with JRuby.) Celluloid-IO was used instead which supports SSL/TLS with JRuby. This issue is closed as of 5c0c4f9184e54176aed3065328a4a4a6788240ea.