Merge pull request #1232 from lolmaus/patch-1
Webrick should not do reverse DNS lookups
This commit is contained in:
commit
299263c7e5
|
@ -166,9 +166,10 @@ module Middleman
|
||||||
# @return [void]
|
# @return [void]
|
||||||
def setup_webrick(is_logging)
|
def setup_webrick(is_logging)
|
||||||
http_opts = {
|
http_opts = {
|
||||||
:BindAddress => host,
|
:BindAddress => host,
|
||||||
:Port => port,
|
:Port => port,
|
||||||
:AccessLog => []
|
:AccessLog => [],
|
||||||
|
:DoNotReverseLookup => true
|
||||||
}
|
}
|
||||||
|
|
||||||
if is_logging
|
if is_logging
|
||||||
|
|
Loading…
Reference in a new issue