Permalink
Switch branches/tags
Nothing to show
Commits on Oct 30, 2013
  1. - Remove any references to MAX_RETRIES

    - Update test cases so they don't just repeat up to the MAX_RETRIES as
    that functionality as now been removed. They should repeat up to 5 times
    and the http calls will then succeed.
    - Add a test case for sending 1mb of data from the tunnel to the local
    server.
    corlettb-bskyb committed Oct 30, 2013
Commits on Oct 16, 2013
  1. Fixing deadlocks with caldecott tunneling.

    The caldecott server can send more than the BUFFER_SIZE due to the way it is written.
    It only stops receiving data if more than 1mb (currently) is pulled. So it can be just over
    1mb.
    
    The current code passes the 1mb to the client application then goes to read from the tunnel again
    with data still in the buffer. If the client application is waiting for this data before sending a response
    and the server is waiting for the response we get into a dead lock.
    
    Lets makes sure we have sent all data in the buffer before we try to read again.
    corlettb-bskyb committed Oct 16, 2013
  2. MAX_RETRIES of 10 isn't a really good idea because if doing large res…

    …tores over caldecott you could easily
    
    get 10 timeouts in a row from the server before the server needs to send any data.
    corlettb-bskyb committed Oct 16, 2013
Commits on Oct 9, 2013
  1. Without specifying the content type the http puts have the content type

    "application/x-www-form-urlencoded" by default.
    
    This can lead to the caldecott web app trying to parse the data as
    a querry string.
    
    I'm guessing there are safety checks that are built in to try to prevent
    parsing binary data in rack which makes this work most of the time.
    
    However if the data being sent is over the max rack form size or the binary
    data is similar to a http post submit the tcp tunneling will fail with an
    error similar to the below on the server side.
    
    "!! Unexpected error while processing request rails ....."
    
    By specifying a binary content type this parsing doesn't take place.
    corlettb-bskyb committed Oct 9, 2013
Commits on Feb 14, 2013
  1. Update README.md

    mreider committed Feb 14, 2013
Commits on Jan 11, 2013
  1. bump to 0.0.2

    Change-Id: Ibe361585604fe7f37f53417942010f3bee0de728
    vito committed Jan 10, 2013
  2. use multi_json

    Change-Id: Ib3764992a7772ac84115dae813857f012499ddf8
    vito committed Jan 10, 2013
  3. use VERIFY_NONE for SSL

    Change-Id: Ic798198a8ffb1b53151a617528579b7aab8743a7
    vito committed Jan 10, 2013
  4. fix tunneling on ruby 1.8.x

    Change-Id: Ia5d75b379daea0d4312c5e507bdc6de36ef244ea
    vito committed Jan 10, 2013
Commits on Dec 19, 2012
  1. Remove eventmachine from client

    Change-Id: If63ae2f05b3c94211a316fb76ebd60c6aa282b35
    mariash committed Dec 10, 2012
Commits on Dec 5, 2012
  1. Split out client as separate gem

    Change-Id: I5ec315dc824264ddb76774e256709b55f3679ef8
    mariash committed Nov 27, 2012
Commits on Jul 19, 2012
  1. Update README to include Bug filing info per Deepika

    Change-Id: I2705a62694ae16f0209519877f7ef44d541ad1e9
    Chloe Jackson committed Jul 19, 2012
Commits on Apr 9, 2012
  1. bump version to 0.0.5

    Change-Id: I362ea9cc364abc8f753cd7061c03fcf5975c1768
    vito committed Apr 9, 2012
  2. fix Reader/Writer#start retrying without limit

    Change-Id: Ib5db06a1f9fa548641a030f9eeb8b2393041e1a7
    vito committed Apr 9, 2012
Commits on Feb 21, 2012
  1. more flexible dependency version constraints

    This fixes an issue where a user first installs vmc, which installs
    addressable 2.2.7 (its version constraint is ~> 2.2.6), and then installs
    caldecott, which depends on 2.2.6. This sequence will cause caldecott to fail
    to load in VMC.
    
    Change-Id: Id22e846d8b407efac6ebc4f8f7fc442a531b4dd7
    vito committed Feb 21, 2012
Commits on Jan 5, 2012
  1. start EM server on 0.0.0.0 rather than localhost

    localhost won't always work on an arbitrary network setup. 0.0.0.0 should
    always work, and listen on all interfaces.
    
    Change-Id: Ib99b93952043458ef21d4d2e6d8193e3077fe930
    vito committed Jan 5, 2012
Commits on Dec 19, 2011
  1. bump version to 0.0.4

    Change-Id: I335b2f26ca51df34c5fa82b8985122651d6d9b7c
    vito committed Dec 19, 2011
  2. use functional style for tracking retries

    Change-Id: I21e206ce2839edb72dcfd82a8565698cd4386b5a
    vito committed Dec 19, 2011
  3. send Content-Length header

    Change-Id: I9beed314633003c268f42032af46563ff4e48091
    vito committed Dec 19, 2011
  4. refactor @writing logic

    This fixes cases where a lot of data is being sent; previously all write
    attempts would bump @retries even if we're already @writing and should skip
    the rest of the body. Now we only call send_data_buffered if we're not already
    @writing.
    
    Change-Id: I68fbccdec2ab3d51994b7278aba2eb7aeb8e4c43
    vito committed Dec 19, 2011
  5. don't need to depend on bundler to run

    Change-Id: I28725eea66b749dc503a712f9df633155579bd65
    vito committed Dec 19, 2011
Commits on Nov 8, 2011
  1. Merge "bump gem version to 0.0.3"

    Patrick Bozeman committed with Gerrit Code Review Nov 8, 2011
  2. Merge "replace the TDB in the readme"

    Patrick Bozeman committed with Gerrit Code Review Nov 8, 2011
  3. bump gem version to 0.0.3

    Change-Id: If7a96401667192235673769f7e68dd3917434c2b
    Patrick Bozeman committed Nov 8, 2011
  4. replace the TDB in the readme

    Change-Id: I983b42fdf6b7a30a9eb85f85e3b2efe8d99f6e31
    Patrick Bozeman committed Nov 8, 2011
Commits on Nov 2, 2011
  1. remove Gemfile.lock, ignore it and .rbenv-gemsets

    Change-Id: I49735faa498fb05b6aac4fbc49dedda44ef2def7
    Alex Suraci committed Nov 1, 2011
Commits on Oct 21, 2011
  1. Merge "support :quiet option"

    Alex Suraci committed with Gerrit Code Review Oct 21, 2011
  2. unify the log creation into a single place

    Change-Id: Ie6a87f3aa56bfbb837244e3a006bc2c985f977ba
    Patrick Bozeman committed Oct 21, 2011
  3. add logging on auth failure

    Change-Id: I66247274b52a5e3da55470f9dc9677b1541a5059
    Patrick Bozeman committed Oct 21, 2011
Commits on Oct 20, 2011
  1. client side auth fix

    Change-Id: Ie22c133d5dbab45f7f104fcdf92c025474e22c67
    Patrick Bozeman committed Oct 20, 2011
  2. support :quiet option

    Change-Id: Iae7698ccc0e45a4e331c05c8221bb4d2a24de765
    Alex Suraci committed Oct 20, 2011
  3. bump version

    Change-Id: I33abd744ee63025ea64cf2f39653be1f35631f59
    Patrick Bozeman committed Oct 20, 2011
  4. enable https

    Change-Id: I46715e3aa936ce7e22cd68435892badc40a48246
    Patrick Bozeman committed Oct 20, 2011
  5. add auth between the server and client

    Change-Id: I4a5d30df96b2b0c9f336090d65b2b96a84738af6
    Alex Suraci committed with Patrick Bozeman Oct 20, 2011
  6. squashed commit of caldecott impelementation.

    Change-Id: I9d227dd20652719ed67f6bf38c335b929bb33486
    Patrick Bozeman committed Oct 20, 2011