goliath-rack_proxy 0.1.2 → 0.1.3

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: 4e0faf756d318aa26b6f2455170f901fc9f34e08
4
- data.tar.gz: 98bef02d09c8f1ba44f2d5d61472b2ba72295a96
3
+ metadata.gz: 286f8e3a28f2ed207430e4107674e0d63c6fc402
4
+ data.tar.gz: 25876f371228c74715d45ff096825fa3b84c5294
5
5
  SHA512:
6
- metadata.gz: 97db69eff0ca6580fa381385b009307050b19e86661ea9c3a1051957692d90336c13fbbbb3c439ae632d6cd8aa76052a4e90352670c7bcefbec30b154051d0ff
7
- data.tar.gz: b633ce955e5e43b052e6331e3c53b9ef801b83bdb783d10c51dff1ad4c4b3e48ff14ce01eebbff6c54a79a51fc83afecaac9c1364764d01f63b3ff75c59fbf26
6
+ metadata.gz: 33c54b664d86d967ad1fd1bcf2fc8c5996ceae9c4586c791572731466137d3c401fd6b9fad7737232e74b8d0dc4b53e0a7336979ca69abd22d97b3a6b93ae6a2
7
+ data.tar.gz: '0957145d2940f2ea7a384082b40ffabec5c60cb6854d01f9e330036ccef634ac90487194b65a65ee481faa9d05b35994df4f4e6a442eca5d579d4376700090d7'
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "goliath-rack_proxy"
3
- gem.version = "0.1.2"
3
+ gem.version = "0.1.3"
4
4
 
5
5
  gem.required_ruby_version = ">= 2.1"
6
6
 
@@ -89,7 +89,7 @@ module Goliath
89
89
  [500, headers, body]
90
90
  ensure
91
91
  # request has finished, so we close the read end of the rack input
92
- EM.next_tick { env["rack.input"].close_read }
92
+ env["rack.input"].close_read
93
93
  end
94
94
 
95
95
  # Streams the response to the client.
@@ -209,6 +209,7 @@ module Goliath
209
209
  # Pushes data to the queue, which is then popped in #read.
210
210
  def write(data)
211
211
  @data_queue.push(data) unless @data_queue.closed?
212
+ rescue ClosedQueueError
212
213
  end
213
214
 
214
215
  # Rewinds the cache IO if it's configured, otherwise raises Errno::ESPIPE
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goliath-rack_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić