Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: release/1.2.9
Commits on Jun 11, 2012
  1. @slyphon

    bump version to 1.2.9

    slyphon authored
    [ci skip]
  2. @slyphon
Commits on Jun 6, 2012
  1. @slyphon
Commits on Jun 5, 2012
  1. @slyphon

    fix name error in Continuation, timeout as last resort, bump version …

    slyphon authored
    …to 1.2.8
    
    Only throw a ContinuationTimeoutError if there isn't a valid return value or
    any other error available.
  2. @slyphon

    add 1.2.7 CHANGELOG entry

    slyphon authored
    [ci skip]
  3. @slyphon
  4. @slyphon

    do some housekeeping in common.rb

    slyphon authored
    Move the dispatcher thread body into its own method.
    Most things should be private in here.
  5. @slyphon
  6. @slyphon

    use the cached connection state

    slyphon authored
    Like in ZK, do not call into the handle to get the state, instead just
    return the state we cache anyway. This will prevent deadlocks when
    things are trying to find out our state as we're closing.
    
    Also change wait_until_connected to break if we go into @_shutting_down
    or @_closed state, and be more accurate around the timeout value (treat
    it as a deadline).
  7. @slyphon

    bump version to 1.2.7

    slyphon authored
    [ci skip]
  8. @slyphon

    do not hold the lock while closing, that's impossible

    slyphon authored
    only try to realize the truth
    
    there is no lock
    
    Actually, that's not true. We swap out @czk for nil, and spin up the
    shutdown thread to close the connection, but without holding onto the mutex.
    Since everything is accessing @czk through #czk, they'll get a NotConnected
    exception as soon as its nilled out.
    
    This reduces the chances of deadlock during a potentially hangy operation
    (shutdown of the underlying connection). Also, insert a hard-coded
    30 second tiemout while waiting on the shutdown thread to prevent hanging
    forever in the case of unforseen catastrophe
Commits on Jun 4, 2012
  1. @slyphon

    bump version [ci skip]

    slyphon authored
  2. @slyphon
Commits on Jun 3, 2012
  1. @slyphon

    bump version to 1.2.5

    slyphon authored
  2. @slyphon

    add changelog entry for 1.2.5

    slyphon authored
    [ci skip]
  3. @slyphon

    comment fixen

    slyphon authored
    [ci skip]
  4. @slyphon

    clean up use of locking. do not hold the lock and call into c_zookeeper

    slyphon authored
    when dereferencing @czk, we should be holding the lock, but we should
    release the lock ASAP (definately before calling any method on the backend)
    
    related to #17
  5. @slyphon

    Add a safety to Continuation, timeout after 30s for any operation

    slyphon authored
    No operation should ever block for more than the session timeout value
    (which is currently hardcoded to 20s in zkrb.c).  If a thread has been
    sleeping for more than 30s wake it up with an exception to prevent
    hanging forever.
Commits on May 30, 2012
  1. @slyphon
  2. @slyphon
  3. @slyphon

    cruft cleanup, unused variable

    slyphon authored
  4. @slyphon

    do the legitimate extconf.rb check for rb_thread_blocking_region

    slyphon authored
    Instead of keying off ZKRB_RUBY_187, do an actual check for
    the availability of the thing we're looking for.
Commits on May 24, 2012
  1. @slyphon

    fix bundle/build order

    slyphon authored
  2. @slyphon

    add changelog entry for 1.2.4

    slyphon authored
  3. @slyphon

    bump version

    slyphon authored
  4. @slyphon

    the passwd value is not null terminated

    slyphon authored
    give an explicit length using rb_str_new
  5. @slyphon
  6. @slyphon
Commits on May 23, 2012
  1. @slyphon
  2. @slyphon
  3. @slyphon
  4. @slyphon

    whoops, while/until

    slyphon authored
  5. @slyphon

    make sure in_flight continuations get the finger

    slyphon authored
    we should make sure that *all* continuations get woken up
    no matter *what* the circumstances.
  6. @slyphon
Commits on May 21, 2012
  1. @slyphon

    bump version

    slyphon authored
Something went wrong with that request. Please try again.