unicorn 2.0.0 → 2.0.0.2.ga6d9

Sign up to get free protection for your applications and to get access to all the features.
@@ -491,7 +491,7 @@ class Unicorn::HttpServer
491
491
  msg = case e
492
492
  when EOFError,Errno::ECONNRESET,Errno::EPIPE,Errno::EINVAL,Errno::EBADF
493
493
  Unicorn::Const::ERROR_500_RESPONSE
494
- when HttpParserError # try to tell the client they're bad
494
+ when Unicorn::HttpParserError # try to tell the client they're bad
495
495
  Unicorn::Const::ERROR_400_RESPONSE
496
496
  else
497
497
  logger.error "Read error: #{e.inspect}"
@@ -50,7 +50,10 @@ t_begin "reload signal succeeds" && {
50
50
  do
51
51
  sleep 1
52
52
  done
53
-
53
+ while ! grep reaped < $r_err >/dev/null
54
+ do
55
+ sleep 1
56
+ done
54
57
  grep 'done reloading' $r_err >/dev/null
55
58
  }
56
59
 
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease: false
4
+ hash: 279709113
5
+ prerelease: true
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
9
  - 0
10
- version: 2.0.0
10
+ - 2
11
+ - ga6d9
12
+ version: 2.0.0.2.ga6d9
11
13
  platform: ruby
12
14
  authors:
13
15
  - Unicorn hackers
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2010-10-27 00:00:00 +00:00
20
+ date: 2010-11-17 00:00:00 +00:00
19
21
  default_executable:
20
22
  dependencies:
21
23
  - !ruby/object:Gem::Dependency
@@ -367,12 +369,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
367
369
  required_rubygems_version: !ruby/object:Gem::Requirement
368
370
  none: false
369
371
  requirements:
370
- - - ">="
372
+ - - ">"
371
373
  - !ruby/object:Gem::Version
372
- hash: 3
374
+ hash: 25
373
375
  segments:
374
- - 0
375
- version: "0"
376
+ - 1
377
+ - 3
378
+ - 1
379
+ version: 1.3.1
376
380
  requirements: []
377
381
 
378
382
  rubyforge_project: mongrel