Skip to content
Commits on Feb 11, 2014
  1. @rmg

    Clean up package and repo for CI

    rmg committed
     - simplify test and coverage
     - update devDependencies
     - ignore CI generated files
    
    closes #4
Commits on Feb 8, 2014
  1. @bnoordhuis
Commits on Feb 7, 2014
  1. @bnoordhuis

    lib/client: conditionally unref reconnect timer

    bnoordhuis committed
    Commit ef477d1 fixed a hang on exit by unconditionally unref'ing the
    reconnect timer.  It worked but it's ultimately a cheap hack.
    
    As of the previous commit, uhura explicitly tracks whether the socket
    is ref'd or unref'd.  This commit extends that to the reconnect timer.
    
    I'm afraid there's no regression test.  Reliably testing for event loop
    stalls is pretty much impossible with mocha.
  2. @bnoordhuis

    lib/client: add ref() and unref() methods

    bnoordhuis committed
    When ref'd (the default), the Uhura object keeps the event loop alive.
    No-ops when the underlying socket object doesn't have ref() or unref()
    methods.  The ref/unref state persists across reconnects.
    
    Fixes strongloop/strong-agent#30.
  3. @bnoordhuis

    test: add createConnection regression test

    bnoordhuis committed
    Verify that the createConnection() callback gets called again on
    reconnect.
  4. @bnoordhuis

    test: don't use hard-coded tcp port numbers

    bnoordhuis committed
    Don't use hard-coded TCP port numbers, makes it impossible to run tests
    in parallel.  Bind to port 0, that makes the operating system assign it
    a random port number.
  5. @bnoordhuis

    lib/client: make createConnection callback-driven

    bnoordhuis committed
    Before this commit, the createConnection option to uhura.Client was
    expected to return a net.Socket-like object.  This commit makes it
    take a callback that can be invoked synchronously or asynchronously.
    
    Makes it possible to (for example) make a HTTP CONNECT request to a
    proxy first before passing on the connection to Uhura.
Commits on Feb 5, 2014
  1. @bnoordhuis

    lib/client: unref reconnect timer

    bnoordhuis committed
    Unref the reconnect timer so it doesn't keep the event loop alive.
    Fixes a stall at exit in strong-agent.
    
    No regression test, I'm afraid.  The particular condition of whether
    or not the event loop has cleaned out is pretty much impossible to
    test with mocha.
Commits on Jan 16, 2014
  1. @bnoordhuis

    lib: make connection type configurable

    bnoordhuis committed
    It's now possible for the caller to create the socket/server object that
    Uhura uses.  First step in making it possible to use SSL/TLS encryption.
Commits on Jan 12, 2014
  1. @bnoordhuis

    lib/client: fix stalls with large payloads

    bnoordhuis committed
    Replace call to net.Socket#destroy() with net.Socket#destroySoon();
    the former closes the connection immediately while the latter waits
    until any pending writes have been written.
    
    Point of action: calling send() + disconnect() before the 'connect'
    event has been emitted still doesn't work.
    
    Fixes #6.
Commits on Jan 3, 2014
  1. @bnoordhuis

    lib: handle JSON parse errors

    bnoordhuis committed
    Don't throw an uncatchable exception when the input is malformed JSON.
    Forward the exception as an 'error' event that the user can handle or
    ignore as s/he sees fit.
Commits on Nov 18, 2013
  1. @rmg

    Replace blanket with istanbul

    rmg committed
  2. @rmg

    Add istanbul

    rmg committed
Commits on Oct 16, 2013
  1. @Qard
  2. @Qard
Commits on Oct 4, 2013
  1. @Qard
Commits on Oct 3, 2013
  1. @Qard
  2. @Qard
  3. @Qard
Commits on Oct 1, 2013
  1. @Qard

    Merge pull request #2 from NodeFly/qe-blanket-coverage

    Qard committed
    add blanket to package.json for test coverage analysis
  2. @Qard

    Update tests

    Qard committed
  3. @Qard

    Add logErrors toggle

    Qard committed
  4. @emmawu
Commits on Sep 26, 2013
  1. @Qard

    Merge branch 'develop'

    Qard committed
  2. @Qard

    Add repo to package.json

    Qard committed
Commits on Sep 24, 2013
  1. @Qard

    Add MIT License

    Qard committed
Commits on Jul 19, 2013
  1. @Qard

    Remove broken test

    Qard committed
  2. @Qard

    Missed something

    Qard committed
  3. @Qard

    Switch to connect 2.8.x

    Qard committed
Commits on Jul 4, 2013
  1. @Qard
  2. @Qard

    Merge branch 'release/0.0.8'

    Qard committed
  3. @Qard

    Bump version

    Qard committed
  4. @Qard
  5. @Qard
Commits on Jun 27, 2013
  1. @themitchy

    Merge branch 'release/0.0.7'

    themitchy committed
Something went wrong with that request. Please try again.