excon 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of excon might be problematic. Click here for more details.
- data/VERSION +1 -1
- data/excon.gemspec +1 -1
- data/lib/excon/connection.rb +2 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.11
|
data/excon.gemspec
CHANGED
data/lib/excon/connection.rb
CHANGED
@@ -74,11 +74,11 @@ unless Excon.mocking?
|
|
74
74
|
end
|
75
75
|
elsif response.headers['Connection'] == 'close'
|
76
76
|
params[:block].call(connection.read)
|
77
|
-
|
77
|
+
Thread.current[:_excon_connection] = nil
|
78
78
|
end
|
79
79
|
end
|
80
80
|
rescue => connection_error
|
81
|
-
|
81
|
+
Thread.current[:_excon_connection] = nil
|
82
82
|
raise(connection_error)
|
83
83
|
end
|
84
84
|
|