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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rack/proxy.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 911c88bd0398ee9c1436b3d056dcf5ae349d2e6e
|
4
|
+
data.tar.gz: 8851932d2467e42eff3b464f4b0865f30b846ed8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 376239211b8ea2e67e312fae0133ac982edaae790537b9dde000b92a4f99bba500a5318860ec8fe8b2ba588bf16f09e9b1c465335cda700722cb5b9373d61656
|
7
|
+
data.tar.gz: 60e517386590fe578d49fb12d08e084f9020fedbec3034cafa75b43a4d25189d783bb08de7f9461fc65d49c90e6a1071561a6440ed6e7e5d415f5186ab2c2ea4
|
data/Gemfile.lock
CHANGED
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.
|
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.
|
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-
|
11
|
+
date: 2014-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|