summaryrefslogtreecommitdiff
path: root/lib/webrick
diff options
context:
space:
mode:
authorJohn W Higgins <[email protected]>2020-07-26 00:25:37 -0700
committerHiroshi SHIBATA <[email protected]>2020-09-24 21:31:55 +0900
commit4715a24dd277515077af441c1d31aeb2431917f5 ()
treea0f0311426a9ef96d59366a7fa18333ed81e3bda /lib/webrick
parentc06eab13290757fc326bb2a6e3ac25cd53e00894 (diff)
[ruby/webrick] Ensure server port numbers are numeric and ensure they are stored as integers
https://.com/ruby/webrick/commit/86ed621e11
-rw-r--r--lib/webrick/server.rb3
1 files changed, 3 insertions, 0 deletions
@@ -102,6 +102,9 @@ module WEBrick
@listeners = []
@shutdown_pipe = nil
unless @config[:DoNotListen]
if @config[:Listen]
warn(":Listen option is deprecated; use GenericServer#listen", uplevel: 1)
end