rack-proxy 0.5.16 → 0.5.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/rack/proxy.rb +2 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9fc4fb4adfc9abb9d0d4c77a83b04117b64384c6
4
- data.tar.gz: c2165351459b4f3eb789c6ec9bb503aaa99d4d5b
3
+ metadata.gz: 911c88bd0398ee9c1436b3d056dcf5ae349d2e6e
4
+ data.tar.gz: 8851932d2467e42eff3b464f4b0865f30b846ed8
5
5
  SHA512:
6
- metadata.gz: dd02a381c0a39dff1c73b125cd5002715eefb90e82b1286547b14e0fc12a9df659a6c2234031a00441b9d5a31ad1f8aab3e94257e5a256de506f35878abce9d6
7
- data.tar.gz: 3ff094bcc6840f908140de6d63bc37453dbfd9c25b689a0a4691e9b7374fee7fc6471fa5b508bfabf92a11dfb399f82110a9135b5c3e480b59a4b61824cd6aef
6
+ metadata.gz: 376239211b8ea2e67e312fae0133ac982edaae790537b9dde000b92a4f99bba500a5318860ec8fe8b2ba588bf16f09e9b1c465335cda700722cb5b9373d61656
7
+ data.tar.gz: 60e517386590fe578d49fb12d08e084f9020fedbec3034cafa75b43a4d25189d783bb08de7f9461fc65d49c90e6a1071561a6440ed6e7e5d415f5186ab2c2ea4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rack-proxy (0.5.16)
4
+ rack-proxy (0.5.17)
5
5
  rack
6
6
 
7
7
  GEM
data/lib/rack/proxy.rb CHANGED
@@ -5,7 +5,7 @@ module Rack
5
5
 
6
6
  # Subclass and bring your own #rewrite_request and #rewrite_response
7
7
  class Proxy
8
- VERSION = "0.5.16"
8
+ VERSION = "0.5.17"
9
9
 
10
10
  class << self
11
11
  def extract_http_request_headers(env)
@@ -100,6 +100,7 @@ module Rack
100
100
  else
101
101
  start_opts = use_ssl ? {:use_ssl => use_ssl} : {}
102
102
  start_opts[:verify_mode] = OpenSSL::SSL::VERIFY_NONE if use_ssl && ssl_verify_none
103
+ start_opts[:read_timeout] = read_timeout
103
104
  target_response = Net::HTTP.start(backend.host, backend.port, start_opts) do |http|
104
105
  http.request(target_request)
105
106
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.16
4
+ version: 0.5.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacek Becela
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-19 00:00:00.000000000 Z
11
+ date: 2014-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack