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
|
@ -168,7 +168,8 @@ module Middleman
|
||||||
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