about summary refs log tree commit homepage
path: root/lib/unicorn/socket.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-03-19 18:07:15 -0700
committerEric Wong <normalperson@yhbt.net>2009-03-19 18:07:15 -0700
commitc01c8ccae6a4b500d0aebd385c10f4567d9b0fd3 (patch)
treeb35a9ac2c77caf66af1678a11ba4fbce69b0fda4 /lib/unicorn/socket.rb
parent40feaf1c05005153c576396083776c331aa5f01f (diff)
downloadunicorn-c01c8ccae6a4b500d0aebd385c10f4567d9b0fd3.tar.gz
This fixes a bug where listener names in the master process
would be incorrectly matched with the existing set; causing UNIX
sockets to be unbound and rebound; breaking things for child
processes.

This is a better fit anyways since it's higher level.
Diffstat (limited to 'lib/unicorn/socket.rb')
-rw-r--r--lib/unicorn/socket.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/unicorn/socket.rb b/lib/unicorn/socket.rb
index d8e44f4..4913261 100644
--- a/lib/unicorn/socket.rb
+++ b/lib/unicorn/socket.rb
@@ -75,7 +75,6 @@ module Unicorn
     def bind_listen(address = '0.0.0.0:8080', backlog = 1024)
       return address unless String === address
 
-      address = File.expand_path(address) if address[0..0] == "~"
       domain, bind_addr = if address[0..0] == "/"
         if File.exist?(address)
           if File.socket?(address)