thin-fun_embed 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  require 'eventmachine'
2
2
  module Thin # :nodoc:
3
3
  class FunEmbed < EM::Connection
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
@@ -165,6 +165,7 @@ module Thin # :nodoc:
165
165
 
166
166
  # call this when you fully send response
167
167
  def consider_keep_alive(try_keep_alive = true)
168
+ @request.close rescue nil
168
169
  if @keep_alive && try_keep_alive
169
170
  post_init
170
171
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin-fun_embed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-22 00:00:00.000000000 Z
12
+ date: 2012-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thin