diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-05-02 14:06:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-02 14:06:27 +0000 |
commit | 07e58aaa79d87f4911bc383bec7f92ee8df97ab0 (patch) | |
tree | 41e647116e55da2fceed51df7831c727ada27a6d | |
parent | a31ddd363bb125e852b57a715200b8f276c731fb (diff) |
Sort of "fixed" KNOWN_BUGS #4: curl now builds IPv6 enabled on AIX 4.3. At
least it should no longer cause a compiler error. However, it does not have
AI_NUMERICHOST so we cannot getaddrinfo() any numerical addresses with it (we
use that for FTP PORT/EPRT)! So, I modified the configure check that checks if
the getaddrinfo() is working, to use AI_NUMERICHOST since then it'll fail on
AIX 4.3 and it will automatically build with IPv6 support disabled.
-rw-r--r-- | CHANGES | 8 | ||||
-rw-r--r-- | acinclude.m4 | 3 | ||||
-rw-r--r-- | docs/KNOWN_BUGS | 3 |
3 files changed, 10 insertions, 4 deletions
@@ -8,6 +8,14 @@ Daniel (2 May 2005) +- Sort of "fixed" KNOWN_BUGS #4: curl now builds IPv6 enabled on AIX 4.3. At + least it should no longer cause a compiler error. However, it does not have + AI_NUMERICHOST so we cannot getaddrinfo() any numerical addresses with it + (we use that for FTP PORT/EPRT)! So, I modified the configure check that + checks if the getaddrinfo() is working, to use AI_NUMERICHOST since then + it'll fail on AIX 4.3 and it will automatically build with IPv6 support + disabled. + - Added --trace-time that when used adds a time stamp to each trace line that --trace, --trace-ascii and --verbose output. I also made the '>' display separate each line on the linefeed so that HTTP requests etc look nicer in diff --git a/acinclude.m4 b/acinclude.m4 index f086a37ee..c9894c480 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -258,7 +258,7 @@ exit (h == NULL ? 1 : 0); }],[ ]) dnl ************************************************************ -dnl check for working getaddrinfo() +dnl check for working getaddrinfo() that works with AI_NUMERICHOST dnl AC_DEFUN([CURL_CHECK_WORKING_GETADDRINFO],[ AC_CACHE_CHECK(for working getaddrinfo, ac_cv_working_getaddrinfo,[ @@ -273,6 +273,7 @@ int main(void) int error; memset(&hints, 0, sizeof(hints)); + hints.ai_flags = AI_NUMERICHOST; hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM; error = getaddrinfo("127.0.0.1", "8080", &hints, &ai); diff --git a/docs/KNOWN_BUGS b/docs/KNOWN_BUGS index df9d71a82..57bd27b43 100644 --- a/docs/KNOWN_BUGS +++ b/docs/KNOWN_BUGS @@ -92,9 +92,6 @@ may have been fixed since this was written! libcurl thinks of it as the *compressed* length. Some explanations are here: http://curl.haxx.se/mail/lib-2003-06/0146.html -4. IPv6 support on AIX 4.3.3 doesn't work due to a missing sockaddr_storage - struct. It has been reported to work on AIX 5.1 though. - 3. GOPHER transfers seem broken 2. If a HTTP server responds to a HEAD request and includes a body (thus |