excon 0.68.0 → 0.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of excon might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/excon/error.rb +1 -0
- data/lib/excon/ssl_socket.rb +4 -1
- data/lib/excon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b44ebb3f8a40cb208218924a063cc827c7b647f50dfeae844a50ea931d9b843d
|
4
|
+
data.tar.gz: a7df8d392adf920dccd72324599954bd7862d99beb4c3415184510c89ead1ef4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 740351476e48dba6f8516f622f3410d94b1c3aabe6a411fc3d22e36235e4250099cfb280e7041552274a79d785e941dfcc81468a3b51af406c1cd8ba0be4010e
|
7
|
+
data.tar.gz: ef6c4454054bbeec5037ea4731ab0cda87b99d0a4b7f86bc5c5435f9273fa50b100b4b923f777c55852d890a0f57107f254eb88b75d9c7ec6fafdd25448c5708
|
data/lib/excon/error.rb
CHANGED
data/lib/excon/ssl_socket.rb
CHANGED
@@ -107,7 +107,10 @@ module Excon
|
|
107
107
|
@socket.write(request)
|
108
108
|
|
109
109
|
# eat the proxy's connection response
|
110
|
-
Excon::Response.parse(self, :expects => 200, :method => 'CONNECT')
|
110
|
+
response = Excon::Response.parse(self, :expects => 200, :method => 'CONNECT')
|
111
|
+
if response[:status] != 200
|
112
|
+
raise(Excon::Errors::ProxyConnectionError.new("proxy connection is not exstablished"))
|
113
|
+
end
|
111
114
|
end
|
112
115
|
|
113
116
|
# convert Socket to OpenSSL::SSL::SSLSocket
|
data/lib/excon/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.69.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- dpiddy (Dan Peterson)
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-
|
13
|
+
date: 2019-11-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|