unicorn-simon 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/unicorn/http_request.rb +3 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0912cafe7efdb2a50c67a4630f1056d250b11a9d'
|
4
|
+
data.tar.gz: 75deceebf87677fb007471ad7fb49f5225af2eec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af2a6129af26a6803f14e741e462df326b6e992bfc707cb73a7403e9badb1ffdfcbdd53cdb165433714abd0a3096f1b2b2578b6bcb87e1cf55c3dffbf96049d7
|
7
|
+
data.tar.gz: 58389af661d9be18f3a38628d86c584aba1949fa8609686acea3307dfba8c23ab7a4324799d10071c1600ad164f57c562d0ff4e4966a51103cbf0323be1d9014
|
data/lib/unicorn/http_request.rb
CHANGED
@@ -32,8 +32,6 @@ class Unicorn::HttpParser
|
|
32
32
|
@@raindrops_tcp_info_defined = defined?(Raindrops::TCP_Info)
|
33
33
|
@@check_client_connection = false
|
34
34
|
|
35
|
-
IGNORED_CHECK_CLIENT_SOCKET_STATES = (6..9)
|
36
|
-
|
37
35
|
def self.input_class
|
38
36
|
@@input_class
|
39
37
|
end
|
@@ -123,15 +121,9 @@ def check_client_connection(socket)
|
|
123
121
|
|
124
122
|
def closed_state?(state)
|
125
123
|
case state
|
126
|
-
when
|
127
|
-
|
128
|
-
when 7 #
|
129
|
-
true
|
130
|
-
when 8 # TCP_CLOSE_WAIT
|
131
|
-
true
|
132
|
-
when 9 # TCP_LAST_ACK
|
133
|
-
true
|
134
|
-
when 11 # TCP_CLOSING
|
124
|
+
when 1 # ESTABLISHED
|
125
|
+
false
|
126
|
+
when 6, 7, 8, 9, 11 # TIME_WAIT, CLOSE, CLOSE_WAIT, LAST_ACK, CLOSING
|
135
127
|
true
|
136
128
|
else
|
137
129
|
false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unicorn-simon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- unicorn hackers
|
@@ -297,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
297
297
|
version: '0'
|
298
298
|
requirements: []
|
299
299
|
rubyforge_project:
|
300
|
-
rubygems_version: 2.6.
|
300
|
+
rubygems_version: 2.6.10
|
301
301
|
signing_key:
|
302
302
|
specification_version: 4
|
303
303
|
summary: Rack HTTP server for fast clients and Unix
|