aboutsummaryrefslogtreecommitdiff
path: root/lib/connect.c
AgeCommit message (Collapse)Author
2004-11-19David Phillips' FD_SETSIZE fixDaniel Stenberg
2004-11-15clean up start time and t_startsingle use so that redirect_time works properlyDaniel Stenberg
2004-11-02Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg
2004-10-19CURLINFO_NUM_CONNECTS and moreDaniel Stenberg
2004-10-11SO_NOSIGPIPEDaniel Stenberg
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-09-30- Larry Campbell added CURLINFO_OS_ERRNO to curl_easy_getinfo() that allows anDaniel Stenberg
app to retrieve the errno variable after a (connect) failure. It will make sense to provide this for more failures in a more generic way, but let's start like this.
2004-09-19set an error message when connection failsDaniel Stenberg
2004-08-04Fixed multiple IP connects with the multi interface. This fix is influencedDaniel Stenberg
by Gisle Vanem's patch, only modified by me.
2004-07-04make sure the 3rd argument passed to bind() is a socklen_tDaniel Stenberg
2004-07-01Variable type cleanups to please the picky MIPSPro compiler.Daniel Stenberg
2004-06-30make the SSL connect use the same default connect timeout define as theDaniel Stenberg
generic connect uses
2004-06-29First attempt at making the multi interface work when connecting to a hostDaniel Stenberg
that resolves to multiple IP addresses.
2004-06-24only use sockaddr_in6 on ipv6-enabled hostsDaniel 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-06-23static functions are better not Curl_ prefixed to make their staticDaniel Stenberg
status more obvious
2004-06-23prevent a warningDaniel Stenberg
2004-06-22the hostname variable wasn't assigned and we no longer use itDaniel Stenberg
2004-06-22Moved the "About to connect() to" text to the place where the host name isDaniel Stenberg
actually known, as before this text lied when used in i.e FTP.
2004-06-10Gisle Vanem's improved verbose output and timeout handling when connecting toDaniel Stenberg
a host name that resolves to multiple IP addresses.
2004-06-08delete trailing whitespaceDaniel Stenberg
2004-05-13Gisle Vamem reintroduced the verifyconnect() call on windows as well, andDaniel Stenberg
we now use it to provide more info back on connect failures.
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-04-27Made host name and proxy name get stored in a 'struct hostname' and setDaniel Stenberg
all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
2004-04-26Made defines instead of plain numbers for the Curl_resolv() return code toDaniel Stenberg
make the code easier to read
2004-04-26added function headers and commentsDaniel Stenberg
2004-04-17Gisle made a failed connect output the reason for itDaniel Stenberg
2004-04-13Moved the 'tcp_nodelay' member to the proper 'UserDefined' struct within theDaniel Stenberg
sessionhandle to make the duphandle() function work as supposed. Also tried to start document functions the doxygen way (in the headers of the functions). Can't make it work though...
2004-03-31Andrés García fixed a warning in the ioctlsocket() usage.Daniel Stenberg
2004-03-30typecast setsockopt()'s 4th argument to void * to make compilers complainDaniel Stenberg
less
2004-03-29netinet/tcp.h may require netinet/in.h to be include beforeDaniel Stenberg
2004-03-27Tor fixed a left-over from the ip argument to setnodelayDaniel Stenberg
2004-03-26check for netinet/tcp.h precense before actually including itDaniel Stenberg
2004-03-26removed the ip number from the notcpdelay functionDaniel Stenberg
2004-03-25only output one line about the nodelay even if it failsDaniel Stenberg
2004-03-25include the strerror.h file without curl_ prefixDaniel Stenberg
2004-03-25tcp-nodelay patch by Joe HalpinDaniel Stenberg
2004-03-24Gisle Vanem's fix to replace the bad use of strerror(). This introducesDaniel Stenberg
Curl_strerror() that attempts to be thread-safe _and_ works on Windows too!
2004-03-23switch() on the right variable!Daniel Stenberg
2004-03-23If localbind fails, provide a more portable error message.Daniel Stenberg
2004-03-17Günter Knauf's NetWare changes.Daniel Stenberg
2004-03-11Gisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets.Daniel Stenberg
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-03-08waitconnect() takes the timeout argument as a longDaniel Stenberg
2004-03-04Andrés García's patch to prevent warnings while compiling with mingw, mainlyDaniel Stenberg
because it is now possible to have both WIN32 and HAVE_CONFIG_H defined.
2004-02-15Use the was_iface variable when binding a socket locally, even if noDaniel Stenberg
SO_BINDTODEVICE is present, to prevent compiler warnings about the variable
2004-02-13Ben Greear's SO_BINDTODEVICE patch that binds to a network interface "evenDaniel Stenberg
more" when the previous approach. Known to work on Linux, possibly on other platforms as well.
2004-02-09Oops. I broke the flow with the previous commit.Daniel Stenberg
2004-02-09some annoying compilers warn about "(void)foo;" lines so we avoid themDaniel Stenberg
2004-01-30only do the verifyconnect() clear magic on mpeixDaniel Stenberg