Commits on Dec 7, 2011
  1. Version bump to 2.2.4

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

    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.
    committed Dec 7, 2011
  3. Set VERSION string in User-Agent header

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

    committed Oct 28, 2011
  2. Ruby 1.8.6 support

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

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

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

    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
    committed Oct 16, 2011
  4. Set response String encoding

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

    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
    committed Oct 14, 2011
Commits on Oct 13, 2011
  1. Reuse cached session in MRU order, not in LRU

    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.
    committed Oct 13, 2011
Commits on Oct 12, 2011
  1. Check verify_depth with 1 and 2

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

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

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

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

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

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

    I should say 'httpclient does not run on rbx' at this moment.
     - rubinius/rubinius#689
    committed Aug 17, 2011
  4. Make use of Travis CI

    committed Aug 17, 2011
  5. Add Gemfile for Bundler

    committed Aug 17, 2011
  6. Suppress known and ignorable errors

    Need to fix at JRuby side.
    committed Aug 17, 2011
  7. Use bundler as a part of build system

    Preparing for Travis CI.
    committed Aug 17, 2011
Commits on Jun 2, 2011
  1. Version bump to 2.2.1.

    committed Jun 2, 2011
  2. chmod 644

    committed Jun 2, 2011
  3. Add tags, pkg and coverage

    committed Jun 2, 2011
  4. Make test TZ-free

    No one except graaff and JST guys run testcase many years...
    Close #39.
    committed Jun 2, 2011
  5. Close session when we get EOF while reading message body

    For chunked encoding, we didn't check it. For non-chunked encoding, it
    was closed at get_body but there was a chance not closed if the session
    is keep-alive.  Close #51.
    committed Jun 2, 2011
Commits on May 30, 2011
  1. Remove extra call to File#rewind

    Based on similarity between Body#dump and Body#dump_chunked, I found
    that File#rewind is wrongly called for MIME/multipart form upload.
    committed May 30, 2011
  2. Add test for streaming + non-chunked post

    And I realized that chunk size was overridden by session. Changed the
    chunk size from 4K to 16K.
    committed May 30, 2011
  3. Regression: setting proxy with URI

    client.proxy = '' and client.proxy = URI.parse('') broken by
    f29310d. Fixed.
    committed May 30, 2011
  4. Merge pull request #59 from nabeken/improved-put-post

    (resubmit) disable Transfer-Encoding: chuncked when IO respond to :read
    committed May 30, 2011
  5. Merge pull request #57 from ashb/master

    ENV['http_proxy'] can be an empty string
    committed May 30, 2011