1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

let tls use dns

This commit is contained in:
psyc://psyced.org/~lynX 2014-03-04 09:45:05 +01:00
commit 25d6a5d4cb
3 changed files with 15 additions and 4 deletions

View file

@ -555,6 +555,8 @@ int is_localhost(string host) {
// we should know all of our hostnames in advance for
// security anyway
return member(localhosts, lower_case(host));
// that means that we have to restart the server each time
// the dial-up IP changes.. :(
}
#else
int is_localhost(string host, closure callback, varargs array(mixed) extra) {