forward 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce17a30f39af38dcac58d02cedd60c89af8d5fc5
4
- data.tar.gz: adb753c96989a3f63b2489f7a17da38445324086
3
+ metadata.gz: a08d7f5afa463cd3a5e174c6e173fca13d7fe0a7
4
+ data.tar.gz: 37693a60089694982636e8ed03371b085f1758dd
5
5
  SHA512:
6
- metadata.gz: a17e647fe02942663594d19ae91a4721868ba0d399d26c70162d2dac4447d5afb25d4bbef25213a5ca30d311fb602d0c6beb9b03f10ea8ad56040912c2681c6f
7
- data.tar.gz: 03b4fe5c89556a880a7dc4554f791064aedb3b9941c93142c929161822e711617fa4a39b1a0cdd2ea5beae48da8160181360e389da3d0ffa7b667f7b86210fb4
6
+ metadata.gz: 847dcb36ccc080942f6977ede220f8d9c39d44f065cad5922a543e4cbd17a41cba12c684bb957699c51a2946cd3d5d55f97e26f778eddf667abefbae42e90131
7
+ data.tar.gz: ce64f175da2481e5e9387c301d4922446910ef335fb74426b19986f6de27c79cb2415b44c4718b16f896a0d7050c66ec7b5538ad4f0629832726ae485ccf1cef
@@ -38,11 +38,11 @@ module Forward
38
38
  body: (body.empty? ? nil : body),
39
39
  head: headers
40
40
  }
41
-
41
+
42
42
  logger.debug "[request] #{method} #{url}#{path} #{options.inspect}"
43
43
  puts "[#{Time.now.strftime('%H:%M:%S')}] [#{method}] #{path}" unless Forward.quiet?
44
44
 
45
- http = EM::HttpRequest.new(url).send(method.downcase, options)
45
+ http = EM::HttpRequest.new(url, :inactivity_timeout => 60).send(method.downcase, options)
46
46
 
47
47
  http.headers { |header|
48
48
  # It's no longer gzipped, clear it
@@ -1,3 +1,3 @@
1
1
  module Forward
2
- VERSION = '1.1.5'
2
+ VERSION = '1.1.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forward
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Dunn
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-02 00:00:00.000000000 Z
12
+ date: 2016-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: slop