diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-02 13:30:58 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-02 13:30:58 -0700 |
commit | cc6ffaf42307ab3bd072c58bd492fb5c5204e687 (patch) | |
tree | df45731a05440e78ac40fdf543a264d4d06bd5da /lib | |
parent | 66e9f47ee861ed69c57fc110a6d5b3d28f5e373a (diff) | |
download | unicorn-cc6ffaf42307ab3bd072c58bd492fb5c5204e687.tar.gz |
TCP ports are always integers, and it was always allowing a randomly-generated value of 8080 through in the unused_port method of test_helper.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicorn/const.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index bb33abb..e75effc 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -10,7 +10,7 @@ module Unicorn UNICORN_VERSION="0.92.0" DEFAULT_HOST = "0.0.0.0" # default TCP listen host address - DEFAULT_PORT = "8080" # default TCP listen port + DEFAULT_PORT = 8080 # default TCP listen port DEFAULT_LISTEN = "#{DEFAULT_HOST}:#{DEFAULT_PORT}" # The basic max request size we'll try to read. |