aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.h
AgeCommit message (Collapse)Author
2009-07-09- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses forDaniel Stenberg
setting a file descriptor non-blocking. Used by the functionality Eric himself brough on June 15th.
2009-05-07- Made the SO_SNDBUF setting for the data connection socket for ftp uploads asDaniel Stenberg
well. See change 28 Apr 2009.
2008-11-03- Bug #2218480 (http://curl.haxx.se/bug/view.cgi?id=2218480) pointed out aDaniel Stenberg
problem with my CURLINFO_PRIMARY_IP fix from October 7th that caused a NULL pointer read. I also took the opportunity to clean up this logic (storing of the connection's IP address) somewhat as we had it stored in two different places and ways previously and they are now unified.
2008-05-12- Introducing curl_easy_send() and curl_easy_recv(). They can be used to sendDaniel Stenberg
and receive data over a connection previously setup with curl_easy_perform() and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to show how they can be used.
2008-02-07- Refactored a lot of timeout code into a few functions in an attempt to makeDaniel Stenberg
them all use the same (hopefully correct) logic to make it less error-prone and easier to introduce library-wide where it should be used.
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse
2006-07-21Constify some arguments in Curl_connecthost() and singleipconnect().Gisle Vanem
2006-05-04Roland Blom filed bug report #1481217Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows.
2005-01-29conn->ip_addr MUST NOT be used on re-used connectionsDaniel Stenberg
2004-06-30make the SSL connect use the same default connect timeout define as theDaniel Stenberg
generic connect uses
2004-06-29corrected the Curl_is_connected() protoDaniel 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-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-10-18gcc -Wshadow complaints fixedDaniel Stenberg
2003-05-01ourerrno became Curl_ourerrno() and is now available to all libcurlDaniel Stenberg
2003-01-16copyright year update in the source headerDaniel 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-09-03updated source code boilerplate/headerDaniel 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-03-19copyright string (year) updateDaniel Stenberg
2001-11-19long port => int port, as the c source uses! (Miklos Nemeth found this)Daniel Stenberg
2001-10-31nonblock => Curl_nonblock, remade the check for a live SSL connection (again)Daniel Stenberg
2001-10-05SM's patch applied, we should not use arguments or variables that have theDaniel Stenberg
same name as common functions...
2001-10-02major connecting updatesDaniel Stenberg
2001-10-01conn->hp is now conn->hostaddrDaniel Stenberg
changed the Curl_connethost() proto again
2001-10-01fixed the connecthost proto: added the timeout argumentDaniel Stenberg
2001-10-01introduced non-blocking connectsDaniel Stenberg