aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.h
AgeCommit message (Collapse)Author
2011-12-13if2ip.[ch]: fix compilation with MinGWYang Tse
Avoid 'interface' literal that some MinGW versions define as a macro
2011-12-13if2ip.c: fix compiler warning 'enumerated type is mixed with another type'Yang Tse
2011-12-12CURLOPT_INTERFACE: avoid resolving interfaces namesJason Glasgow
Do not try to resolve interfaces names via DNS by recognizing interface names in a few ways. If the interface option argument has a prefix of "if!" then treat the argument as only an interface. Similarly, if the interface argument is the name of an interface (even if it does not have an IP address assigned), treat it as an interface name. Finally, if the interface argument is prefixed by "host!" treat it as a hostname that must be resolved by /etc/hosts or DNS. These changes allow a client using the multi interfaces to avoid blocking on name resolution if the interface loses its IP address or disappears.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2008-11-17the IP address we want/request/use from the interface is the 'local'Yang Tse
address, the one on the box libcurl is running, not the 'remote' one.
2008-10-09Fixed the --interface option to work with IPv6 connections on glibcDan Fandrich
systems supporting getifaddrs(). Also fixed a problem where an IPv6 address could be chosen instead of an IPv4 one for --interface when it involved a name lookup.
2006-03-04build fix for InterixDaniel Stenberg
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-03-14silence compiler warnings for mingw win32 builds --enable-debugDaniel Stenberg
2004-06-24Source cleanups. The major one being that we now _always_ use a Curl_addrinfoDaniel Stenberg
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code.
2004-05-05Gisle-fix: constified the 'interface' argument.Daniel Stenberg
2004-01-16silly meDaniel Stenberg
2004-01-16Avoid Curl_if2ip() on Interix as well. Fix by Rodney.Daniel Stenberg
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-02-28James Bursa made it compile on RISC OS as well.Daniel Stenberg
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-11-24Nedelcho Stanev's work-around for SFU 3.0Daniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2001-02-04Ingo Ralf Blum made it compile with the newest cygwinDaniel Stenberg
2001-01-05Internal symbols that aren't static are now prefixed with 'Curl_'Daniel Stenberg
2001-01-03dual-license fixDaniel Stenberg
2000-06-20haxx.nu => haxx.seDaniel Stenberg
2000-05-29David LeBlanc's fixes!Daniel Stenberg
1999-12-29Initial revisionDaniel Stenberg