Permalink
Commits on May 31, 2014
  1. Merge pull request #516 from rb2k/master

    Fix the tick_loop example documentation layout.
    tmm1 committed May 31, 2014
Commits on May 11, 2014
  1. Merge pull request #497 from u338steven/patch-1

    Bug fix for windows: closesocket (Issue #447)
    tmm1 committed May 11, 2014
Commits on Apr 17, 2014
  1. Merge pull request #508 from hsbt/fix-ruby19

    Fixed build error on Ruby 1.9
    tmm1 committed Apr 17, 2014
  2. fixed build error on Ruby 1.9

    hsbt committed Apr 17, 2014
Commits on Mar 19, 2014
  1. Merge pull request #503 from hsbt/fix-fd_select

    Fix build error on Ruby 2.2.0
    tmm1 committed Mar 19, 2014
Commits on Mar 18, 2014
  1. it works

    hsbt committed Mar 18, 2014
Commits on Mar 4, 2014
  1. removed 'then'

    u338_steven committed Mar 4, 2014
Commits on Feb 21, 2014
  1. Bug fix for windows: closesocket

    u338_steven committed Feb 21, 2014
  2. Bug fix for windows: Build error

    u338_steven committed Feb 21, 2014
Commits on Jan 16, 2014
  1. Merge pull request #489 from ebroder/timer-leak

    Avoid leaking timers when doing DNS resolution
    tmm1 committed Jan 16, 2014
  2. Avoid leaking timers when doing DNS resolution

    Previously, EM would start a timer whenever it connected to a DNS
    server and never stop that timer.
    
    Instead, only start the timer when a request is sent (meaning that the
    timer isn't started when connecting to the DNS server if the result is
    answerable from /etc/hosts), and stop it when there are no further
    pending requests.
    
    Based on patches by Greg Brockman <gdb@stripe.com>
    evan-stripe committed Jan 16, 2014
Commits on Oct 10, 2013
  1. Merge pull request #470 from mrb/patch-1

    Add Code Climate badge to repo
    tmm1 committed Oct 10, 2013
  2. Add Code Climate badge to repo

    mrb committed Oct 10, 2013
Commits on Sep 30, 2013
  1. Merge pull request #468 from morandanieli/iterator_fixes

    Added concurrency validation to EM::Iterator
    tmm1 committed Sep 30, 2013
  2. Added unit tests for EM::Iterator

    Moran Danieli committed Sep 30, 2013
  3. Added concurrency validation

    Moran Danieli committed Sep 30, 2013
Commits on Sep 26, 2013
  1. Merge pull request #467 from brianmario/add-get-fd

    Add get_file_descriptor which returns the FD number of a signature
    tmm1 committed Sep 26, 2013
  2. Merge pull request #466 from benburkert/attach_server_signature

    Return the signature ID from EventMachine.attach_server.
    tmm1 committed Sep 26, 2013
  3. Merge pull request #465 from benburkert/attach_server

    Add EventMachine.attach_server & EventMachine.attach_socket_server
    tmm1 committed Sep 26, 2013
  4. Simplify the attach_server stuff to 1 method, hold a reference to the…

    … socket.
    
    Otherwise the FD could be closed by a GC.
    benburkert committed Sep 26, 2013
Commits on Sep 25, 2013
Commits on Sep 14, 2013
  1. update changelog

    tmm1 committed Sep 14, 2013
  2. Merge pull request #464 from eventmachine/pause-during-receive_data

    Immediate pause from receive_data
    tmm1 committed Sep 14, 2013
Commits on Sep 13, 2013
  1. Pause receive_data on-demand

    When receiving large amounts of incoming data, we loop over recv() up to
    10 times to drain the inbound buffers. This meant calling #pause from #receive_data
    would previously not take effect until the next reactor tick.
    tmm1 committed Sep 13, 2013
  2. add get_file_descriptor

    pc committed with brianmario Sep 13, 2013
Commits on Aug 8, 2013
  1. Merge pull request #455 from SamSaffron/master

    Correct reactor_running? to return false after a process forks
    tmm1 committed Aug 8, 2013
Commits on Jul 25, 2013
Commits on Jul 15, 2013
Commits on Jun 3, 2013
  1. Merge pull request #445 from ept/double-close

    Make ScheduleClose() idempotent
    tmm1 committed Jun 3, 2013
  2. Make ScheduleClose() idempotent

    I think this fixes issue #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.
    ept committed Jun 3, 2013
Commits on Apr 17, 2013
  1. Merge pull request #433 from johnsyweb/i686-apple-darwin11-llvm-gcc-4…

    ….2-fix
    
    ISO C++ forbids variable-size array ‘iov’
    tmm1 committed Apr 17, 2013