unicorn 3.6.0 → 3.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v3.6.0.GIT
4
+ DEF_VER=v3.6.1.GIT
5
5
 
6
6
  LF='
7
7
  '
data/KNOWN_ISSUES CHANGED
@@ -5,13 +5,13 @@ acceptable solution. Those issues are documented here.
5
5
 
6
6
  * PRNGs (pseudo-random number generators) loaded before forking
7
7
  (e.g. "preload_app true") may need to have their internal state
8
- reset in the after_fork hook. Starting with \Unicorn 3.6.0, we
8
+ reset in the after_fork hook. Starting with \Unicorn 3.6.1, we
9
9
  have builtin workarounds for Kernel#rand and OpenSSL::Random users,
10
10
  but applications may use other PRNGs.
11
11
 
12
12
  * Under some versions of Ruby 1.8, it is necessary to call +srand+ in an
13
13
  after_fork hook to get correct random number generation. We have a builtin
14
- workaround for this starting with \Unicorn 3.6.0
14
+ workaround for this starting with \Unicorn 3.6.1
15
15
 
16
16
  See http://redmine.ruby-lang.org/issues/show/4338
17
17
 
@@ -492,11 +492,11 @@ class Unicorn::HttpServer
492
492
  def after_fork_internal
493
493
  @ready_pipe.close if @ready_pipe
494
494
  self.ready_pipe = nil # XXX Rainbows! compat, change for Unicorn 4.x
495
- tmp = srand # http://redmine.ruby-lang.org/issues/4338
495
+ srand # http://redmine.ruby-lang.org/issues/4338
496
496
 
497
497
  # The OpenSSL PRNG is seeded with only the pid, and apps with frequently
498
498
  # dying workers can recycle pids
499
- OpenSSL::Random.seed(tmp.to_s) if defined?(OpenSSL::Random)
499
+ OpenSSL::Random.seed(rand.to_s) if defined?(OpenSSL::Random)
500
500
  end
501
501
 
502
502
  def spawn_missing_workers
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unicorn
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 6
9
- - 0
10
- version: 3.6.0
9
+ - 1
10
+ version: 3.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Unicorn hackers
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-21 00:00:00 Z
18
+ date: 2011-04-26 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rack