Permalink
Commits on Feb 10, 2014
  1. Actually fix unescaping of proxy auth credentials

    - The current way is broken as it chokes while unescaping characters
      that are not allowed non-escaped in the userinfo URI component, such
      as "@" if the username is an email address.
    - Being a nice Ruby citizen means not mutating the `@proxy_uri` which is
      an object that might have come from the user.
    
    References:
    - ac161c7
    - b9031bf
    mislav committed Feb 10, 2014
Commits on Feb 7, 2014
  1. Update version for release

    committed Feb 7, 2014
  2. Add #56, #57, #58 to History

    committed Feb 7, 2014
  3. Add test for #56

    committed Feb 7, 2014
  4. Merge pull request #56 from tumf/error-with-no-proxy

    Fix error with no-proxy
    committed Feb 7, 2014
Commits on Feb 6, 2014
  1. fix: error with no-proxy

    tumf committed Feb 6, 2014
  2. Update version for release

    committed Feb 6, 2014
  3. Add #48, #54 to History

    committed Feb 6, 2014
  4. Merge pull request #54 from juhakaja/master

    Fixes escaped proxy user and password.
    committed Feb 6, 2014
Commits on Feb 5, 2014
  1. Fixes escaped proxy user and password.

    Fixes #48.
    juhakaja committed Feb 5, 2014
Commits on Jan 22, 2014
  1. Set release date and version

    committed Jan 22, 2014
  2. Use the original backtrace for errors in #reset

    This will help debugging IOErrors that occur when resetting a
    connection.
    
    Fixes #41
    committed Jan 22, 2014
  3. Add #53 to History

    committed Jan 22, 2014
  4. Merge pull request #53 from dylanahsmith/keep-alive-timeout

    Set connection.keep_alive_timeout using idle_timeout in ruby 2.0.
    committed Jan 22, 2014
  5. Remove useless variable

    committed Jan 22, 2014
  6. Force minitest 5 for travis

    committed Jan 22, 2014
Commits on Jan 9, 2014
  1. Set connection.keep_alive_timeout using idle_timeout in ruby 2.0.

    Ruby 2.0 added keep_alive_timeout, which behaves the same way as
    idle_timeout, except that the default timeout is 5 seconds rather than 2
    seconds. Set keep_alive_timeout using idle_timeout to prevent the
    connection from getting closed before idle_timeout due to delays between
    requests.
    dylanahsmith committed Jan 9, 2014
Commits on Jul 24, 2013
  1. Set license in gemspec.

    Fixes #47
    committed Jul 24, 2013
  2. Link history items

    committed Jul 24, 2013
  3. Set release date

    committed Jul 24, 2013
Commits on Jul 23, 2013
  1. Add backtrace change to History

    committed Jul 23, 2013
  2. On request failure, raise with original backtrace

    This allows users to get a better idea of why they see the "too many
    connection resets" errors.
    
    See #41
    committed Jul 23, 2013
  3. Fix comparison order for #42

    Noted by Roman Shterenzon
    committed Jul 23, 2013
  4. Use minitest 5 classes

    committed Jul 23, 2013
  5. Added #42 to history

    committed Jul 23, 2013
  6. Merge pull request #42 from raggi/max_requests

    Add Persistent#max_requests to prevent ECONNRESET
    committed Jul 23, 2013
Commits on Jul 22, 2013
  1. Finish connections for unhandled exceptions

    When an exception that is otherwise not retried occurs
    net-http-persistent did not finish the connection.  This could leave
    the server response outstanding on the connection resulting in the
    response for a pre-exception request A being delivered to a
    post-exception request B.
    
    Issue #46
    committed Jul 22, 2013
Commits on Jun 5, 2013
  1. Add Persistent#max_requests to prevent ECONNRESET

     * Many servers have a max_requests tunable on keepalive connections that is
       tuned to less than infinite. Some of these servers incorrectly close the
       connection out-of-band (rather than replying with Connection:close). In these
       cases, it is advantageous to avoid the resulting ECONNRESET, and preemptively
       reset those connections.
     * Additional potential work that could be done later: Make a closing request on
       the last request. Add a detect_max_requests helper at the top level.
     * Exmaple configuration link:
       http://wiki.nginx.org/HttpCoreModule#keepalive_requests
    raggi committed Jun 5, 2013
Commits on Feb 17, 2013
  1. OpenSSL is no longer required

    This allows net-http-persistent to be used where OpenSSL is not
    available.
    
    If an HTTPS resource is accessed an exception is raised.
    committed Feb 17, 2013