Public bug reported: Runnint following on top of invalid hostname
hints.ai_family = AF_INET; // This fails with odd error on Ubuntu 13.04 int err = getaddrinfo(myhost, NULL, &hints, &result); returns system error "Connection timed out" Expected behaviour: -2 (Name or service not known). This breaks a Python 3.3.2 build test as described here: http://bugs.python.org/issue17759 Problem is reproduced with 32-bit and 64-bit Ubuntu 13.04 - in various flavours: 64-bit, 32-bit; up-to date system and a vanilla 13.04 Live CD. ** Affects: eglibc (Ubuntu) Importance: Undecided Status: New ** Attachment added: "Sample app which is exposing the described problem" https://bugs.launchpad.net/bugs/1198744/+attachment/3728546/+files/test_getaddrinfo.cpp -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1198744 Title: getaddrinfo returns system error "Connection timed out" instead of "Name or service not known" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1198744/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs