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:
commit
25d6a5d4cb
3 changed files with 15 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue