Permalink
Commits on Aug 28, 2016
  1. Version bump to 2.8.2.3

    committed Aug 28, 2016
Commits on Aug 18, 2016
  1. Merge pull request #332 from nahi/jruby_skip_post_connection_check_if…

    …_verify_nonde
    
    VERIFY_NONE should also skip post_connection_check
    committed on GitHub Aug 18, 2016
  2. VERIFY_NONE should also skip post_connection_check

    committed Aug 18, 2016
Commits on Aug 16, 2016
  1. Version bump to 2.8.2.2

    committed Aug 16, 2016
  2. Merge pull request #330 from nahi/2821_broke_clear_cert_store_at_cruby

    Fix clear_cert_store on CRuby
    committed on GitHub Aug 16, 2016
  3. Fix clear_cert_store on CRuby

    Previous fix #325 broke SSLConfig#clear_cert_store on CRuby.
    committed Aug 16, 2016
  4. Version bump to 2.8.2.1

    committed Aug 16, 2016
  5. Merge pull request #328 from nahi/followup_fix_for_325

    Followup fix for #325
    committed on GitHub Aug 16, 2016
  6. Followup fix for #325

    The change #323 wrongly overwrote X509::Store#initialize and broke non
    httpclient code. #325 fixed this problem (Thanks @abrandoned!) but I
    found that #323 has another problem that add_cert, add_file and add_path
    share the same `wrapped` local variable. It was calling add_path at
    super call in add_cert. In the case user overrides add_cert or add_file
    it does not call proper method.
    
    We can just use Module.prepend for this purpose but httpclient still
    supports JRuby1.7 + 1.9 so this time I keep using my custom "prepend"
    implementation. Once we dropped JRuby 1.7 support I should replease this
    code with Module.prepend.
    committed Aug 16, 2016
  7. Merge pull request #325 from abrandoned/abrandoned/fix_323

    add test and code to fix issue #323 ... cert store without httpclient…
    committed on GitHub Aug 16, 2016
Commits on Aug 15, 2016
  1. Version bump to 2.8.2

    committed Aug 15, 2016
  2. Merge pull request #327 from nahi/multiple_ca_certs_bug_by_281

    CA certs ignored by 2.8.1 when a file has multiple PEMs
    committed on GitHub Aug 15, 2016
  3. CA certs ignored by 2.8.1 when a file has multiple PEMs

    The bug was introduced at 2.8.1.
    committed Aug 15, 2016
Commits on Aug 12, 2016
  1. @abrandoned

    add test and code to fix issue #323 ... cert store without httpclient…

    … failing when not using httpclient
    abrandoned committed Aug 12, 2016
Commits on Aug 7, 2016
  1. Version bump to 2.8.1

    committed Aug 7, 2016
  2. Merge pull request #320 from nahi/use_tls_1_2_always_on_jruby

    Use TLSv1.2 always on JRuby
    committed on GitHub Aug 7, 2016
  3. Use TLSv1.2 always on JRuby

    On CRuby it depends on openssl version.
    committed Aug 7, 2016
Commits on Jul 24, 2016
  1. Merge pull request #319 from nahi/jruby_openssl_verify_none

    OpenSSL::SSL::VERIFY_NODE does not work in JRuby
    committed on GitHub Jul 24, 2016
Commits on Jul 23, 2016
  1. Merge pull request #317 from nahi/jruby_cert_store

    Direct access to SSLConfig#cert_store in JRuby was broken from 2.7
    committed on GitHub Jul 23, 2016
  2. OpenSSL::SSL::VERIFY_NODE does not work in JRuby

    JRubySSLSocket expected nil.
    committed Jul 23, 2016
Commits on Jul 18, 2016
  1. Direct access to SSLConfig#cert_store in JRuby was broken from 2.7

    JRubySSLSocket needs to access included PEM files of X509::Store for
    initializing Java's SSL configurations but OpenSSL::X509::Store does not
    provide the list of loaded certificates. So this commit wraps an
    instance and remembers certificates in it.
    committed Jul 17, 2016
Commits on Jul 17, 2016
  1. Merge pull request #318 from nahi/build_fix

    Build fix
    committed on GitHub Jul 17, 2016
  2. Move 1.9.3 to "allow_failures"

    committed Jul 17, 2016
  3. Rack '~> 1.0'

    committed Jul 17, 2016
  4. Delete unnecessary require

    the file is renamed to rack/show_exceptions but anyway we don't need it.
    committed Jul 17, 2016
Commits on Jun 20, 2016
  1. Merge pull request #316 from nahi/strict_response_size_check

    Add strict_response_size_check option
    committed on GitHub Jun 20, 2016
  2. Add strict_response_size_check option

    An option to raise BadResponse if response size does not match with
    Content-Length header in response.
    
    Currently HTTPClient ignores response size even if the size does not
    match.  Perhaps because of bad HTTP servers, browsers ignore EOF even for
    file download (simple GET.).
    
    https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/download/download_request_core.cc&q=ERR_INCOMPLETE_CHUNKED_ENCODING&sq=package:chromium&type=cs&l=534
    Chromium seems to ignore incomplete download (both for
    ERR_CONTENT_LENGTH_MISMATCH and ERR_INCOMPLETE_CHUNKED_ENCODING) for
    download.
    
    https://bugzilla.mozilla.org/show_bug.cgi?id=237623
    The comment in this issue says the newer Firefox detects EOF but I
    confirmed that Firefox also ignores EOF.
    
    httpclient is not a browser so it should not suppress EOFError but I
    also worry about incompatible behavior with previous versions. So this
    commit adds an option but it's disabled by default.  In the next version
    update I'll enable this.
    committed Jun 20, 2016
  3. Merge pull request #315 from nahi/revert-314-revert-313-do_not_reset_…

    …connection_by_connection_configuration
    
    Do not reset keep-alive connection by configuration
    committed on GitHub Jun 20, 2016
  4. Do not reset keep-alive connection by configuration

    Connection configuration change should not require 'reset_all' call to
    terminate all existing connections because thoese connections are
    already living with the old configuration. Resetting all connection on
    such configuration update is good to make all sessions have the same
    configuration, it's simpler to understand, but as #295 describes it
    sometimes make keep-alive connection meaningless. (Setting timeout
    always closes all keep-alive connections every time.)
    
    By this commit following configuration update does NOT reset keep-alive
    
    * Session manager configurations
      * protocol_version
      * connect_timeout
      * send_timeout
      * receive_timeout
      * keep_alive_timeout
      * read_block_size
      * protocol_retry_count
      * socket_sync
      * agent_name
      * from
      * transparent_gzip_decompression
      * socket_local
    
    As I also needed to update, test scripts should be careful about
    keep-alive connections...
    committed with Jun 20, 2016
  5. Merge pull request #314 from nahi/revert-313-do_not_reset_connection_…

    …by_connection_configuration
    
    Revert "Do not reset keep-alive connection by configuration"
    committed on GitHub Jun 20, 2016
Commits on Jun 19, 2016
  1. Merge pull request #313 from nahi/do_not_reset_connection_by_connecti…

    …on_configuration
    
    Do not reset keep-alive connection by configuration
    committed on GitHub Jun 19, 2016
  2. Do not reset keep-alive connection by configuration

    Connection configuration change should not require 'reset_all' call to
    terminate all existing connections because thoese connections are
    already living with the old configuration. Resetting all connection on
    such configuration update is good to make all sessions have the same
    configuration, it's simpler to understand, but as #295 describes it
    sometimes make keep-alive connection meaningless. (Seeting timeout
    always closes all keep-alive connections every time.)
    
    By this commit following configuration update does NOT reset keep-alive
    
    * Session manager configurations
      * protocol_version
      * connect_timeout
      * send_timeout
      * receive_timeout
      * keep_alive_timeout
      * read_block_size
      * protocol_retry_count
      * socket_sync
      * agent_name
      * from
      * transparent_gzip_decompression
      * socket_local
    * Authentication configuration only used at opening a connection
      * set_auth
      * set_basic_auth
      * set_proxy_auth
    
    As I also needed to update, test scripts should be careful about
    keep-alive connections...
    committed Jun 19, 2016
  3. Merge pull request #281 from poporul/master

    Allow to use original_filename in file object
    committed on GitHub Jun 19, 2016