Permalink
Commits on Dec 3, 2009
  1. timer_watcher_spec: ensure interval has passed before running

    Otherwise Rev::Loop.run_once may not have fired
    Eric Wong committed Dec 3, 2009
Commits on Nov 28, 2009
  1. Bump iobuffer dependency

    Tony Arcieri committed Nov 28, 2009
  2. Bump date and iobuffer dependency

    Tony Arcieri committed Nov 28, 2009
  3. Update CHANGES with Eric's patches

    Tony Arcieri committed Nov 28, 2009
Commits on Nov 27, 2009
  1. async_watcher: do not trigger on spurious wakeups

    Also included is a convoluted test case that is able to reliably
    reproduce the failure on both a UP and SMP Linux 2.6 machines
    without this change.
    Eric Wong committed Nov 27, 2009
  2. Make Rev::Loop#run_once less intrusive with 1.8 threads

    Instead of blocking for 10ms when other threads are present,
    run in non-blocking mode if we're not the only thread in the
    process.  This change does not negatively impact 1.9.
    Eric Wong committed Nov 27, 2009
  3. make Rev::Loop#run_nonblock signal-safe for 1.8

    Even though this method is currently not used anywhere, it may
    be useful in the next change(s) I make to make Rev + Threads
    run better under 1.8
    Eric Wong committed Nov 27, 2009
Commits on Oct 19, 2009
  1. fix on_timer event_callback for TimerWatcher

    There was a timer_watcher event_callback defined for the
    IOWatcher class in the timer_watcher.rb file.  I assume this is
    a copy-and-paste error and a grep of the source shows no
    "timer_watcher" methods ever being dispatched.  So change this
    to allow the "on_timer" method to be overidden when given a
    block.
    
    Also added a spec to show it works.
    Eric Wong committed Oct 19, 2009
Commits on Oct 15, 2009
  1. Bump version to 0.3.2

    Tony Arcieri committed Oct 15, 2009
  2. Bump gemspec to 0.3.1

    Tony Arcieri committed Oct 15, 2009
Commits on Oct 14, 2009
  1. Configurable intervals for Rev::StatWatchers

    Tony Arcieri committed Oct 14, 2009
  2. Update version information

    Tony Arcieri committed Oct 14, 2009
Commits on Oct 5, 2009
  1. Add 0.3.1 section to changes

    Tony Arcieri committed Oct 5, 2009
  2. listener: ignore ECONNABORTED on accept()

    ECONNABORTED can happen if a client resets/closes the socket
    before the accept() has been called by the receiver.  These are
    less common in most modern servers with accept filters, but
    still possible.  Since these errors are harmless like EAGAIN,
    avoid propagating them up the stack.
    Eric Wong committed Oct 5, 2009
  3. listener: remove warning about spuriously readable sockets

    Non-blocking accept() calls to a listen socket shared between
    multiple processes is prone to (harmless) EAGAIN errors.  This
    is because kernels can wakeup all sleeping processes sharing
    that listen socket to accept() and only one of the thundering
    herd of will be successful in accept()-ing the client.
    Eric Wong committed Oct 5, 2009
Commits on Aug 29, 2009
  1. Update CHANGES

    Tony Arcieri committed Aug 29, 2009
  2. Merge commit 'yhbt/master'

    Tony Arcieri committed Aug 29, 2009
Commits on Aug 28, 2009
Commits on Aug 27, 2009
  1. Rev::Server-based classes can build off ::*Server objects

    Since Rev::Listener got this feature, Rev::Server-based classes
    should get it as well.
    
    This also gives Rev::Server-based classes the #fileno method for
    getting the underlying file descriptor so it can be shown more
    easily for use with *Server.for_fd.
    
    Signed-off-by: Eric Wong <normalperson@yhbt.net>
    Eric Wong committed Aug 27, 2009
  2. Rev::UNIXServer: use path instead of the first argument

    I'm fairly certain the +path+ argument was intended to be used
    for binding the UNIXServer.  I don't think this was used by
    anything before (and not in any specs) so the bug got hit.
    
    Signed-off-by: Eric Wong <normalperson@yhbt.net>
    Eric Wong committed Aug 27, 2009
Commits on Aug 23, 2009
  1. Merge branch 'master' into eric/master

    Tony Arcieri committed Aug 23, 2009
  2. Reference IO::Buffer from the toplevel namespace

    Tony Arcieri committed Aug 23, 2009
  3. Implement Rev::StatWatcher

    Tony Arcieri committed Aug 23, 2009
  4. Ugh, adding <code> in README screws up the formatting

    Tony Arcieri committed Aug 23, 2009
  5. Try adding <code> back in README

    Tony Arcieri committed Aug 23, 2009
  6. Ugh I hate Textile

    Tony Arcieri committed Aug 23, 2009
  7. Try removing <code> in README I guess?

    Tony Arcieri committed Aug 23, 2009
  8. Apparently <pre> is supposed to come before <code>

    Tony Arcieri committed Aug 23, 2009
  9. Add <pre> tags to code

    Tony Arcieri committed Aug 23, 2009
  10. Switch README format to Textile

    Tony Arcieri committed Aug 23, 2009
  11. Change outstanding uses of Rev::Buffer to IO::Buffer

    Tony Arcieri committed Aug 23, 2009
  12. Upgrade to libev 3.8

    Tony Arcieri committed Aug 23, 2009