Permalink
Commits on May 27, 2013
  1. Fixing tests following merge of tcpsyslog drains

    The benchmark is now skipped by default according to the spec,
    and the drain suite swapped from logplex_tcpsyslog_drain2 back to
    logplex_tcpsyslog_drain.
    ferd committed May 27, 2013
Commits on May 24, 2013
  1. Replacing the old drains by the new one

    Upgrade procedure left to be properly tested.
    ferd committed May 24, 2013
  2. Adding upgrade procedure for tcpsyslog2

    There is no direct update to be done between both components, but the
    function could be used, for example, if logplex_tcpsyslog_drain decided
    to use enter_loop to upgrade.
    ferd committed May 24, 2013
  3. Adding a way to unregister a channel

    Tests are included. The feature will be required when upgrading
    tcpsyslog drains from one kind to another -- the drain process itself
    will need to transfer the channel property to the drain buffer process,
    otherwise messages will be duplicated.
    ferd committed May 24, 2013
Commits on May 23, 2013
  1. Fixing bad shutdown in end_testcase

    The end per testcase function is common to multiple tests, but some of
    them do not use an active drain. This fix makes the end_per_testcase
    function blind to whether it exists or not.
    ferd committed May 23, 2013
  2. Fixing copyright line

    ferd committed May 23, 2013
Commits on May 22, 2013
  1. Add prototype of tcpsylog drain with external buff

    The prototype uses logplex_drain_buffer, which allows synchronous TCP
    handling, allowing to get rid of raw prim_inet use, and simplifies the
    state machine, on top of likely making the drain more resilient.
    ferd committed May 22, 2013
  2. Remove stale code from http drains

    Had to do with runtime compatibility in older versions, no longer
    required.
    ferd committed May 22, 2013
  3. extend logplex_drain_buffer API

    allow to resize the buffer dynamically, which would be useful to support
    an API similar to the tcpsyslog one.
    ferd committed May 22, 2013
  4. Bad shutdown fix

    Part of tcpsyslog drains (when connected) were sensitive to a previous
    race condition on shutdown
    ferd committed May 22, 2013
Commits on May 10, 2013
  1. Basic test suite for TCP drains

    The send behaviour is documented, along with basic L10'ing.
    There is otherwise not a need for tests as advanced as for the http
    drain buffers given there is not a lot of similar error handling code
    included. (TCP drains just ignore all send errors and keep going)
    ferd committed May 10, 2013
Commits on May 7, 2013
Commits on May 6, 2013
  1. Fix second recursion bug.

    archaelus committed May 6, 2013
  2. Fix syntax error in upgrade.

    archaelus committed May 6, 2013
  3. Merge pull request #38 from heroku/channel_token_index

    Channel token index
    archaelus committed May 6, 2013
  4. Save memory in lookup_ids_by_channel.

    Costs a try-catch instead.
    archaelus committed May 6, 2013
  5. Re-arrange exports.

    archaelus committed May 6, 2013
  6. Export token type.

    archaelus committed May 6, 2013