Permalink
Commits on Nov 30, 2016
  1. Merge pull request #15 from salpalvv/master

    fixing mispelling and made some editing for readability
    committed on GitHub Nov 30, 2016
Commits on Nov 29, 2016
  1. fixing mispelling but also pushing another build as the cargo ssl iss…

    …ue for nightly seems to have been resolved
    
    adding readability for using env_logger
    
    ssl issues with nightly is breaking build on travis
    salpalvv committed Nov 29, 2016
  2. Merge pull request #14 from salpalvv/master

    .ok().expect() isn't necessary as you can call .expect() directly on …
    committed on GitHub Nov 29, 2016
Commits on Sep 2, 2016
  1. Update to mio 0.6.0

    committed Sep 2, 2016
Commits on Aug 29, 2016
  1. Fix breaking changes in mio 0.6.0-dev

    Tracking the lastest changes from mio master branch.
    committed Aug 29, 2016
Commits on Aug 21, 2016
  1. Remove dependency on mio's EventLoop object

    The mio API is changing and will no longer have event loop. This patch
    updates Server to take the role of the event loop. The Server struct no
    longer implements Handler and has a new function called `run` that will
    act as an event loop.
    
    Support for timers and channels are missing. However, mob was not using
    either of those. Support can/will be added in a future patch.
    committed Aug 21, 2016
Commits on Aug 20, 2016
  1. Update to work with mio 0.6.0

    - import slab and definte Slab type
    - change internal code to deal with removal of bytes dependency
    committed Aug 20, 2016
  2. Update dependencies

    Preparing to get mob working with the new mio API and I want to get a
    stable baseline to start from.
    committed Aug 20, 2016
Commits on Jul 18, 2016
  1. Merge pull request #13 from pjvds/patch-1

    fix type in log line
    committed on GitHub Jul 18, 2016
  2. fix type in log line

    This corrects the info log line that logs the event loop is starting.
    pjvds committed on GitHub Jul 18, 2016
Commits on Apr 17, 2016
  1. Merge pull request #12 from hjr3/fix-regex-dep

    Update regex dependency to fix compiler error
    committed Apr 17, 2016
  2. Update regex dependency to fix compiler error

    Fixes #11
    committed Apr 17, 2016
Commits on Dec 9, 2015
  1. Upgrade to mio 0.5

    committed Dec 9, 2015
Commits on Oct 22, 2015
  1. Remove connection from slab if rereg fails

    Missing a corner case where a reregistration could fail and we would
    leave the connection in the slab for an extra tick. The connection was
    properly marked as reset, but we should remove it during `tick()` to
    avoid confusion.
    committed Oct 22, 2015
  2. Merge pull request #9 from hjr3/idle-bool

    Do not reregister function unless it is idle
    committed Oct 22, 2015
  3. Do not reregister function unless it is idle

    committed Oct 22, 2015
Commits on Oct 19, 2015
  1. Merge pull request #5 from hjr3/rc_messages

    Use Rc instead of cloning messages into send queue
    committed Oct 19, 2015
  2. Use Rc instead of cloning messages into send queue

    - stop using try_write_buf, which was forcing a mutable reference. Now
      the message to send can be reference counted with no need for copy on
      write semantics.
    committed Oct 19, 2015
  3. Merge pull request #4 from tairrzayev/cleaner-sockaddr-parsing

    Less verbose SocketAddr string parsing
    committed Oct 19, 2015
Commits on Oct 18, 2015
  1. Merge pull request #3 from hjr3/protocol

    Implement simple read/write protocol
    committed Oct 18, 2015
  2. Server socket is no longer oneshot

    Disabled the oneshot poll option for the server socket. Now the accept
    function will drain all events right away. The added benefit is that
    there is no reregister step either.
    committed Sep 30, 2015
  3. Implement simple read/write protocol

    - messages are now prefixed with the message length
    - connection reregister only happens during tick callback
    - update mio. no longer depend on bytes crate
    - clean up handling of reset connections
    committed with Jul 24, 2015
Commits on Sep 3, 2015
  1. Update to mio 0.4.3

    committed Sep 3, 2015
Commits on Aug 24, 2015
  1. Use ByteBuf::resume instead of ::flip

    - Use of ::flip was clearing the buffer
    - added some more trace logging
    - added example docker command
    committed Aug 24, 2015
Commits on Aug 22, 2015
  1. Merge pull request #2 from hjr3/slab-free-bug

    Do not try to remove a connection the slab twice
    committed Aug 22, 2015
  2. Do not try to remove a connection the slab twice

    A single event loop tick may contain multiple events for a token. If the
    connection is reset on the first event, subsequent events will still try
    to access that token/connection during the event loop tick. The strategy
    now is to mark a connection as reset and remove them only when the event
    loop tick is finished.
    
    See carllerche/mio#219 for more details.
    
    Fixes #1
    committed Aug 22, 2015
Commits on Jul 23, 2015
  1. Add Travis-CI badge

    committed Jul 23, 2015
  2. Add .travis.yml

    committed Jul 23, 2015
  3. Add README

    committed Jul 23, 2015
  4. Split code into smaller files

    committed Jul 23, 2015
Commits on Jul 22, 2015
  1. Reorder the source

    committed Jul 22, 2015
  2. Better error handling

    Fix some cases where errors were not be handled properly. Changed some
    of the flow after talking with dcb and looking at raft code.
    committed Jul 22, 2015