Differences From Artifact [ea1bb29bbd]:
- File
tests/OFTCPSocketTests.m
— part of check-in
[92c870f23d]
at
2010-09-15 15:19:05
on branch trunk
— It seems glibc 2.12.1-r1 breaks getaddrinfo() and returns v6 only.
Use 127.0.0.1 instead of localhost to work around this bug (and to work
around incomplete or broken /etc/hosts files).Debug output showed that the linked-list returned by getaddrinfo() only
returned the v6 entry, not v6 and v4, like it should. (user: js, size: 1719) [annotate] [blame] [check-ins using]
To Artifact [4906c17743]:
- File tests/OFTCPSocketTests.m — part of check-in [39cb19595d] at 2010-12-25 19:31:43 on branch trunk — Add OFDate. (user: js, size: 1719) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
12 13 14 15 16 17 18 | #include "config.h" #include <stdlib.h> #include <string.h> #include <time.h> #import "OFTCPSocket.h" | | | | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #include "config.h" #include <stdlib.h> #include <string.h> #include <time.h> #import "OFTCPSocket.h" #import "OFString.h" #import "OFAutoreleasePool.h" #import "OFExceptions.h" #import "macros.h" #import "TestsAppDelegate.h" static OFString *module = @"OFTCPSocket"; |
︙ | ︙ |