Commits on Jul 13, 2012
  1. @theterg

    patch "502 Bad Gateway" error, add option for debug printing

    -When a socket close is detected by the readerThread (as opposed
    to the writeOut() method), we forgot to send headers when
    automatically reconnecting.  This confused haproxy, causing it to
    reply with "502 Bad Gateway".  Fixed.
    -added a producersession.enableMessageDebug() option.  Under
    normal operation the threads shouldn't print much to the screen
    except unexpected errors.  If you want to view raw swarm
    messages, just execute enableMessageDebug(true);
    theterg committed Jul 13, 2012
  2. @theterg
  3. @theterg

    Merge branch 'master' of

    theterg committed Jul 13, 2012
  4. @theterg
Commits on Jul 11, 2012
  1. @theterg
Commits on Jul 3, 2012
  1. @theterg
  2. @theterg
  3. @theterg

    added network dropout detection to reader, force socket close

    -On network dropout, normally java doesn't notice until the tcp
    socket timeout, which is quite long.
    -now if no data is received by the reader thread within 1 min,
    the reader will force the socket closed so that autoreconnect can
    work it's magic (if enabled).
    -Client notices network dropout within 1 minute
    -Client will reconnect when network comes back up within 1 minute
    theterg committed Jul 2, 2012
Commits on Jul 2, 2012
  1. @theterg

    Client reader stability - runaway thread fix

    -keepalive timerTask is now closed with swarm session
    -socket read timeout shortened to 2 seconds
    -readerThread better non-blocking (catch SocketTimeoutException)
    -opted to remove raw message debug by default
    -cleaned up printlns a little
    theterg committed Jul 2, 2012
Commits on Jun 18, 2012
  1. @theterg
  2. @theterg
Commits on Jun 9, 2012
  1. @theterg
Commits on Jun 8, 2012
  1. @theterg

    Added a ready-to-go example of John's code snippet

    This has been pre-configured for resources and swarms on the test acct
    theterg committed Jun 8, 2012
Commits on Feb 6, 2012
  1. fixed header typo ;D

    John Connolly committed Feb 6, 2012
  2. add a preliminary readme

    John Connolly committed Feb 6, 2012