Better canonicalization of listener paths + tests
commit1d127ce0b2edcc8b03e4cb1031ff341ff91770fe
authorEric Wong <normalperson@yhbt.net>
Tue, 31 Mar 2009 07:19:47 +0000 (31 00:19 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 31 Mar 2009 07:19:47 +0000 (31 00:19 -0700)
treeaae203a71adc0b0864092f017c79972f66acdf34
parent1bb4366c049a2d1c460cb08601865a24d7678dbe
Better canonicalization of listener paths + tests

* Expand addresses like "1:8080" to "127.0.0.1:8080"
  beforehand so sock_name() in SocketHelper will
  always return consistent results.

* Add support for "unix:/path/to/foo" paths for easier
  synchronization with nginx config files.
lib/unicorn/configurator.rb
test/unit/test_configurator.rb