Webrick should not do reverse DNS lookups
This prevents Middleman server from being terribly slow over network. Closes #1118.
This commit is contained in:
parent
dd9c05f433
commit
db59447e82
|
@ -166,9 +166,10 @@ module Middleman
|
|||
# @return [void]
|
||||
def setup_webrick(is_logging)
|
||||
http_opts = {
|
||||
:BindAddress => host,
|
||||
:Port => port,
|
||||
:AccessLog => []
|
||||
:BindAddress => host,
|
||||
:Port => port,
|
||||
:AccessLog => [],
|
||||
:DoNotReverseLookup => true
|
||||
}
|
||||
|
||||
if is_logging
|
||||
|
|
Loading…
Reference in a new issue