# HG changeset patch # User Kim Alvefur # Date 1543674169 -3600 # Node ID c458f940b011b648a97539f0e0d81a4fd6cd611a # Parent c5e8042b174c08f620f24e70e8d124fd35bfe5ad mod_auth_external: Use blocking mode by default as non-blocking is experimental but available in 0.11.x diff -r c5e8042b174c -r c458f940b011 mod_auth_external/mod_auth_external.lua --- a/mod_auth_external/mod_auth_external.lua Sat Dec 01 12:10:31 2018 +0100 +++ b/mod_auth_external/mod_auth_external.lua Sat Dec 01 15:22:49 2018 +0100 @@ -21,7 +21,7 @@ local script_type = module:get_option_string("external_auth_protocol", "generic"); local command = module:get_option_string("external_auth_command", ""); local read_timeout = module:get_option_number("external_auth_timeout", 5); -local blocking = module:get_option_boolean("external_auth_blocking", not(have_async and server.event and lpty.getfd)); +local blocking = module:get_option_boolean("external_auth_blocking", true); -- non-blocking is very experimental local auth_processes = module:get_option_number("external_auth_processes", 1); assert(script_type == "ejabberd" or script_type == "generic",