mariadb/vio
Alexander Nozdrin 75e552d509 Fix for Bug#52923 (Inadequate documentation of "Can't get hostname for your address" error).
The thing is that on some platforms (e.g. Mac OS X) sockaddr_in / sockaddr_in6
contain a non-standard field (sin_len / sin6_len), that must be set.

The problem was that only standard fields were set, thus getnameinfo() returned
EAI_SYSTEM instead of EAI_NONAME.

The fix is to introduce configure-time checks (for GNU auto-tools and CMake) for
those additional fields and to set them if they are available.
2010-05-21 17:17:01 +04:00
..
docs
CMakeLists.txt
Makefile.am
test-ssl.c
test-sslclient.c
test-sslserver.c
vio.c
vio_priv.h
viosocket.c Fix for Bug#52923 (Inadequate documentation of "Can't get hostname for your address" error). 2010-05-21 17:17:01 +04:00
viossl.c
viosslfactories.c
viotest-ssl.c
viotest-sslconnect.cc
viotest.cc