# HG changeset patch # User Matthew Wild # Date 1255971399 -3600 # Node ID 43b7c0980d23aa3545e99cdde4065fb071afd49f # Parent 24f54340a6708fb8b06022b13e39608182cdc67d net.httpserver: Pass on interface option from new_from_config() (thanks Chris) diff -r 24f54340a670 -r 43b7c0980d23 net/httpserver.lua --- a/net/httpserver.lua Mon Oct 19 16:53:50 2009 +0100 +++ b/net/httpserver.lua Mon Oct 19 17:56:39 2009 +0100 @@ -278,7 +278,9 @@ ssl.protocol = "sslv23"; end - new{ port = port, base = base, handler = handle_request, ssl = ssl, type = (ssl and "ssl") or "tcp" } + new{ port = port, interface = interface, + base = base, handler = handle_request, + ssl = ssl, type = (ssl and "ssl") or "tcp" }; end end