-
Roman Tsisyk authored
Tarantool started to use getaddrinfo() to find suitable address for binding both for IPROTO and CONSOLE ports. A hostname can be resolved to various addresses families, depending on user settings. For example, all moderns systems resolve 'localhost' to '::1' by default. This creates a problem if one subsystem binds to '127.0.0.1' and some other tries to connect '::1'. This patch unify hardcoded names and addresses in entire test suite to use the same value. This is pre-requisite for #447, #368 and other URI-related patches. Other changes: * console.listen() now properly handles address arguments * console.listen() re-based on socket.tcp_server() code
Roman Tsisyk authoredTarantool started to use getaddrinfo() to find suitable address for binding both for IPROTO and CONSOLE ports. A hostname can be resolved to various addresses families, depending on user settings. For example, all moderns systems resolve 'localhost' to '::1' by default. This creates a problem if one subsystem binds to '127.0.0.1' and some other tries to connect '::1'. This patch unify hardcoded names and addresses in entire test suite to use the same value. This is pre-requisite for #447, #368 and other URI-related patches. Other changes: * console.listen() now properly handles address arguments * console.listen() re-based on socket.tcp_server() code