aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.c
AgeCommit message (Collapse)Author
2003-10-15the previous fix left this compiler errorDaniel Stenberg
2003-10-15Avoid doing getsockopt() on Windows to verify connects. It seems that thisDaniel Stenberg
hogs Windows machines when libcurl is being used multi-threaded (with > ~50 threads). Andrew Fuller helped us verify and test this. According to a MSDN web page on connect(), it returns 0 when the connect is done and thus we don't need the getsockopt() call anyway on Windows.
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-10-08- Frank Ticheler provided a patch that fixes how libcurl connects to multipleDaniel Stenberg
addresses, if one of them fails (ipv4-code).
2003-10-05New code for BeOS-style non-blocking sockets, provided by Shard andDaniel Stenberg
Jeremy Friesner.
2003-08-11bindlocal works for Windows!Daniel Stenberg
2003-08-05ares awareness/usage/support added. If configure --enable-ares is used, weDaniel Stenberg
build libcurl to use ares for asynch name resolves.
2003-06-26CURLDEBUG instead of MALLOCDEBUGDaniel Stenberg
2003-05-13Setup and use CURL_INADDR_NONE all over instead of INADDR_NONE. We setupDaniel Stenberg
the define accordingly in the hostip.h header to work nicely all over.
2003-05-12before checking for network interfaces using if2ip(), check that the givenDaniel Stenberg
name isn't an ip address
2003-05-01ourerrno became Curl_ourerrno() and is now available to all libcurlDaniel Stenberg
2003-03-11Martin C. Martin's fix to produce an error message in case of failureDaniel Stenberg
in the Curl_is_connected() function.
2003-02-14Fix Curl_is_connected() even more to deal with waitconnect() return codesDaniel Stenberg
even better (also based on input from Martin).
2003-02-14geterrno() renamed to ourerrno() to prevent the name clash that occurred inDaniel Stenberg
AIX 3.2.5 and possibly other OSF-like system headers.
2003-02-14Martin C. Martin's fix for multi-interface connects to non-listening ports.Daniel Stenberg
2003-02-04added the sharing of DNS cacheJean-Philippe Barette-LaPierre
2003-01-23Duncan Wilcox reported a crash with --interface on FreeBSD when ipv6-enabledDaniel Stenberg
and this has been verified to correct the problem.
2003-01-16copyright year update in the source headerDaniel Stenberg
2003-01-09This fixed yet another connect problem with the multi interface and ipv4Daniel Stenberg
stack. Kjetil Jacobsen reported and verified the fix.
2002-12-17Removed weird special multi interface condition that caused bug reportDaniel Stenberg
#651464.
2002-12-13conn->bits.tcpconnect now keeps track of if this connection is connectedDaniel Stenberg
or not
2002-12-13make a little work-around for file:// in _is_connected() and voila, now theDaniel Stenberg
multi interface works with file:// URLs fine (previously it crashed). This won't make it work on Windows though...
2002-11-11unlock dns cache entries with a function call instead of a variable fiddleDaniel Stenberg
2002-11-05ipv4-fixes for the new Curl_dns_entry struct and Curl_resolv() protoDaniel Stenberg
2002-11-05Curl_resolv() now returns a different struct, and it contains a referenceDaniel Stenberg
counter so that the caller needs to decrease that counter when done with the returned data. If compiled with MALLOCDEBUG I've added some extra checking that the counter is decreased before a handle is closed etc.
2002-10-12return error properly when a non-blocking connect fails using the multiDaniel Stenberg
interface
2002-09-11Lukasz Czekierda correctly pointed out that curl used a bad Host: headerDaniel Stenberg
when talking to a IPv6-server using IPv6 IP address only.
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-08-26Andrew Francis removed the need for/use of MSVC pragmasDaniel Stenberg
2002-08-12fixed a Curl_connecthost() bug, we should default to set connected to falseDaniel Stenberg
2002-08-12Initial fix to make the multi interface return control while waiting forDaniel Stenberg
the initial connect to "come through". This should work fine for connect and for FTP-PASV connects. Needs massive testing.
2002-06-12added a connect failure error message that might get empty otherwiseDaniel Stenberg
2002-06-10added a missing failf() for certain connect failuresDaniel Stenberg
2002-04-25In order to not get problems with DNS cache pruning, we no longer storeDaniel Stenberg
any name resolved data in any curl handle struct. That way, we won't mind if the cache entries are pruned for the next time we need them. We'll just resolve them again instead. This changes the Curl_resolv() proto. It modifies the SessionHandle struct but perhaps most importantly, it'll make the internals somewhat dependent on the DNS cache not being disabled as that will cripple operations somewhat. Especially for persistant connections.
2002-04-22allow binding the local end of a connection even when using IPv6, thus weDaniel Stenberg
now have --interface working properly
2002-04-10added info in to failf() lines and added a infof() call just before theDaniel Stenberg
connect() so that it tells to which host and what port it is about to attempt the connection
2002-03-19copyright string (year) updateDaniel Stenberg
2002-02-22better time selection for the connect timeoutDaniel Stenberg
2002-02-20Nico Baggus' VMS tweaksDaniel Stenberg
2002-02-18connection timeout comparison fix by EmilDaniel Stenberg
2002-01-16fixed time-out returned without error text setDaniel Stenberg
2002-01-07Modified to use non-blocking sockets all the time.Daniel Stenberg
2002-01-03Sterling Hughes' provided initial DNS cache source code.Daniel Stenberg
2002-01-02Philip Gladstone's 64-bit sparc native compiler compatibility issues fixed.Daniel Stenberg
2001-12-11failf() calls should not have newlines in the message string!Daniel Stenberg
2001-12-04Eric's #include fixes for better macos compilesDaniel Stenberg
2001-11-23Andrés García's minor fix to make it compile on win32Daniel Stenberg
2001-11-22this fix seems to make the connect fail properly even on IPv4-only LinuxDaniel Stenberg
machines!
2001-11-21added error text for a failed connect caseDaniel Stenberg
2001-10-31nonblock => Curl_nonblock, remade the check for a live SSL connection (again)Daniel Stenberg