aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.c
AgeCommit message (Collapse)Author
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
2001-10-29SM's waitconnect return code fix!Daniel Stenberg
2001-10-22make sure the connect can't return OK but return a NULL as addrDaniel Stenberg
2001-10-12Curl_tvdiff() now returns a millisecond diff, no double like beforeDaniel Stenberg
2001-10-08hm, an unknown error from bind() when binding the outgoing socket wouldDaniel Stenberg
failf("%d") without the error as argument... it would always make a weird number get output
2001-10-05SM's patch applied, we should not use arguments or variables that have theDaniel Stenberg
same name as common functions...
2001-10-02praise Bjorn Reese for mastering these dusty corners of socket hacking, nowDaniel Stenberg
we check for the error state before believing we are connected in IPv6 cases
2001-10-02IPv6 adjustments, connect()ing to bad ports still don't work properly forDaniel Stenberg
IPv6
2001-10-02major connecting updatesDaniel Stenberg
2001-10-01faster bailout on timeoutsDaniel Stenberg
2001-10-01removed warningDaniel Stenberg