Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 20, 2012
  1. @nahi

    Update travis-CI test target

    nahi authored
    Add jruby-head and jruby-19mode
  2. @nahi

    Merge pull request #82 from zweitag/jruby_windows_file_size

    nahi authored
    Add workaround for JRuby issue on Windows (JRUBY-6136)
Commits on Mar 19, 2012
  1. @Tho85

    Add workaround for JRuby issue on Windows (JRUBY-6136)

    Tho85 authored
    On Windows, calling File#size fails with an Unknown error (20047).
    This workaround uses File#lstat instead.
Commits on Feb 15, 2012
  1. @nahi

    Merge pull request #80 from p/open-uri-1.9

    nahi authored
    Require open-uri only on ruby 1.9, since it is not needed on 1.8.
Commits on Feb 11, 2012
  1. @p

    Require open-uri only on ruby 1.9, since it is not needed on 1.8.

    p authored
    open-uri modifies the behavior of global open(), which is undesirable
    in some situations. Do not require it unless it is going to be used.
Commits on Jan 4, 2012
  1. @nahi

    Give Rubinius 1.9 mode a try

    nahi authored
  2. @nahi
  3. @nahi

    Update build system for CI

    nahi authored
    Add ci_reporter for Jenkins CI.
    Use simplecov but it might not work fine at this moment.
Commits on Dec 29, 2011
  1. @nahi

    Merge pull request #78 from envygeeks/patch-1

    nahi authored
    Fix a small spelling mistake in clnt.get.
Commits on Dec 28, 2011
  1. @envygeeks

    Fix a small spelling mistake in clnt.get.

    envygeeks authored
    Signed-off-by: Jordon Bedwell <jordon@envygeeks.com>
Commits on Dec 14, 2011
  1. @nahi

    Remove rbx-19mode from travis config

    nahi authored
    Not yet.
  2. @nahi

    Add rbxs to .travis.yml

    nahi authored
    Rubinius master + 1.8 almost works fine. Great!
  3. @nahi

    Remove Hash element order dependency

    nahi authored
    For 1.8.7 and Rubinius.
  4. @nahi

    Revert "Collect release files with git gem."

    nahi authored
    This reverts commit 30c90d2.
    
    requiring gem from gemspec does not work...
  5. @nahi

    Remove Hash element order dependency

    nahi authored
    For 1.8.7 and Rubinius.
Commits on Dec 13, 2011
  1. @nahi

    Collect release files with git gem.

    nahi authored
    Should I use hoe?
  2. @nahi

    Fix Regexp encoding error in debug logging on 1.8.

    nahi authored
    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. @nahi

    Merge pull request #73 from amatsuda/include_readme

    nahi authored
    Include README.txt to the gem installation
  2. @amatsuda
Commits on Dec 7, 2011
  1. @nahi

    Version bump to 2.2.4

    nahi authored
  2. @nahi

    Do not recycle buffer String object for yielding

    nahi authored
    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. @nahi

    Set VERSION string in User-Agent header

    nahi authored
    $Id$ didn't work looooong time...  Reported by Seamus Abshere. Thanks!
    Closes #71.
Commits on Oct 28, 2011
  1. @nahi

    Version bump to 2.2.3

    nahi authored
  2. @nahi

    Ruby 1.8.6 support

    nahi authored
    I wrongly used Hash[Array]. It must be Hash[*anArray].
Commits on Oct 16, 2011
  1. @nahi

    Version bump for 2.2.2

    nahi authored
  2. @nahi

    Do not ignore '*.rbc'

    nahi authored
    Those files should not be included in packages.
  3. @nahi

    Do not run verify_depth test on Travis

    nahi authored
    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. @nahi

    Set response String encoding

    nahi authored
    Parse content-type response header with some helps from OpenURI::Meta
    and set response String encoding.  Closes #26.
Commits on Oct 14, 2011
  1. @nahi

    Optimize cached session access performance

    nahi authored
    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. @nahi

    Reuse cached session in MRU order, not in LRU

    nahi authored
    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. @nahi

    Check verify_depth with 1 and 2

    nahi authored
    0 seems not work on Travis worker. Drop meaningless test.
  2. @nahi
  3. @nahi

    Much worse performance than needed

    nahi authored
    Remove defined?(Encoding::ASCII_8BIT) lookups while running http
    request/response according to xb's suggenstion at #64. Thanks!
    
    Closes #64.
  4. @nahi

    Do not sort query params on request

    nahi authored
    I wrongly sorted query params at 261b280 for making debug easier...
    Closes #65.
Commits on Sep 23, 2011
  1. @nahi
Something went wrong with that request. Please try again.