Permalink
Commits on Jan 4, 2012
  1. Give Rubinius 1.9 mode a try

    nahi committed Jan 4, 2012
  2. Update build system for CI

    nahi committed Jan 4, 2012
    Add ci_reporter for Jenkins CI.
    Use simplecov but it might not work fine at this moment.
Commits on Dec 29, 2011
  1. Merge pull request #78 from envygeeks/patch-1

    nahi committed Dec 29, 2011
    Fix a small spelling mistake in clnt.get.
Commits on Dec 28, 2011
  1. Fix a small spelling mistake in clnt.get.

    envygeeks committed Dec 28, 2011
    Signed-off-by: Jordon Bedwell <jordon@envygeeks.com>
Commits on Dec 14, 2011
  1. Remove rbx-19mode from travis config

    nahi committed Dec 14, 2011
    Not yet.
  2. Add rbxs to .travis.yml

    nahi committed Dec 14, 2011
    Rubinius master + 1.8 almost works fine. Great!
  3. Remove Hash element order dependency

    nahi committed Dec 14, 2011
    For 1.8.7 and Rubinius.
  4. Revert "Collect release files with git gem."

    nahi committed Dec 14, 2011
    This reverts commit 30c90d2.
    
    requiring gem from gemspec does not work...
  5. Remove Hash element order dependency

    nahi committed Dec 14, 2011
    For 1.8.7 and Rubinius.
Commits on Dec 13, 2011
  1. Collect release files with git gem.

    nahi committed Dec 13, 2011
    Should I use hoe?
  2. Fix Regexp encoding error in debug logging on 1.8.

    nahi committed Dec 13, 2011
    It raised 'premature end of regular expression' if debug_dev is set,
    $KCODE is not 'n' and on 1.8.  Closes #74.
Commits on Dec 8, 2011
  1. Merge pull request #73 from amatsuda/include_readme

    nahi committed Dec 8, 2011
    Include README.txt to the gem installation
Commits on Dec 7, 2011
  1. Version bump to 2.2.4

    nahi committed Dec 7, 2011
  2. Do not recycle buffer String object for yielding

    nahi committed Dec 7, 2011
    When the response is not chunked and the size of the response > 16KB,
    API with block style yields recycled String object for each yields.
    Reported by Seamus Abshere. Thanks!  Closes #72.
  3. Set VERSION string in User-Agent header

    nahi committed Dec 7, 2011
    $Id$ didn't work looooong time...  Reported by Seamus Abshere. Thanks!
    Closes #71.
Commits on Oct 28, 2011
  1. Version bump to 2.2.3

    nahi committed Oct 28, 2011
  2. Ruby 1.8.6 support

    nahi committed Oct 28, 2011
    I wrongly used Hash[Array]. It must be Hash[*anArray].
Commits on Oct 16, 2011
  1. Version bump for 2.2.2

    nahi committed Oct 16, 2011
  2. Do not ignore '*.rbc'

    nahi committed Oct 16, 2011
    Those files should not be included in packages.
  3. Do not run verify_depth test on Travis

    nahi committed Oct 16, 2011
    On travis environment, verify_depth seems to not work properly.  Ubuntu
    10.04 + OpenSSL 0.9.8k issue? Should be tracked as an ext/openssl
    issue.
  4. Set response String encoding

    nahi committed Oct 16, 2011
    Parse content-type response header with some helps from OpenURI::Meta
    and set response String encoding.  Closes #26.
Commits on Oct 14, 2011
  1. Optimize cached session access performance

    nahi committed Oct 14, 2011
    Change @sess_pool from an Array to a Hash with Site as a key.  Each
    value is an Array of sessions.  This should improve cache access
    performance if multiple sites are in cache.
    
    In addition to the change, do scrub the cache every @keep_alive_timeout
    seconds.  This also should improve cache access performance since it was
    scrubbing the cache every time.  See #69
Commits on Oct 13, 2011
  1. Reuse cached session in MRU order, not in LRU

    nahi committed Oct 13, 2011
    MRU is more server friendly than LRU because it reduces number of cached
    sessions when a number of requests drops after an usaage spike.
    Closes #68.
    
    With reusing sessions in LRU order, all sessions are equally checked if
    it's closed or not, as far as there's a request to the same site.  With
    reusing sessions in MRU order, old cold sessions are kept in cache long
    time even if there's a request to the same site.  To avoid this leakage,
    this commit adds keep_alive_timeout property and let SessionManager
    scrub all sessions with checking the timeout for each session.  When the
    session expires against the last used time, it's closed and collected.
    
    keep_alive_timeout is 15[sec] by default. The value is from the default
    value for KeepAliveTimeout of Apache httpd 2.  This change is related
    to #56.
Commits on Oct 12, 2011
  1. Check verify_depth with 1 and 2

    nahi committed Oct 12, 2011
    0 seems not work on Travis worker. Drop meaningless test.
  2. Much worse performance than needed

    nahi committed Oct 12, 2011
    Remove defined?(Encoding::ASCII_8BIT) lookups while running http
    request/response according to xb's suggenstion at #64. Thanks!
    
    Closes #64.
  3. Do not sort query params on request

    nahi committed Oct 12, 2011
    I wrongly sorted query params at 261b280 for making debug easier...
    Closes #65.
Commits on Sep 23, 2011
Commits on Aug 20, 2011
  1. Revert "Suppress known and ignorable errors"

    nahi committed Aug 20, 2011
    This reverts commit 2bf5da7.
    
    I'll try to fix JRuby soon. Use this as a testcase.
Commits on Aug 17, 2011
  1. Change test parameter

    nahi committed Aug 17, 2011
    Let's see what will happen when we set dpeth = 0
  2. Add verify_depth assert message

    nahi committed Aug 17, 2011
    This test fails on Travis CI. To know what version of OpenSSL they are
    using.
  3. Stop running CI for rbx

    nahi committed Aug 17, 2011
    I should say 'httpclient does not run on rbx' at this moment.
     - rubinius/rubinius#689
     - http://travis-ci.org/#!/nahi/httpclient/builds/85213
  4. Make use of Travis CI

    nahi committed Aug 17, 2011