aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
AgeCommit message (Collapse)Author
2004-05-11fixed Curl_open() to not leak anything if one malloc() fails, fix byDaniel Stenberg
James Bursa only modified by me.
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-05-07We don't support any long protocol names so we can use a smaller buffer.Daniel Stenberg
Also, make sure we have room for the trailing zero, only scan to size-1. Gisle Vanem reported.
2004-05-06removed two odd commentsDaniel Stenberg
2004-05-05do the alarm time-left math using unsigned longs since that is what alarm()Daniel Stenberg
returns and uses as input and converting to signed generates warnings and actually risks loss of accuracy
2004-05-05fix_hostname() now (void)s the conn argument to prevent warnings on non-idnDaniel Stenberg
enabled builds
2004-05-05prevent warnings when using the gcc option -Wunreachable-codeDaniel Stenberg
2004-05-04General HTTP authentication cleanup and fixesDaniel Stenberg
2004-04-29fixed the host/proxy name issue when re-using a connection and made IDN namesDaniel Stenberg
work when using proxy by converting the IDN-name to the ACE-encoded version before the request-URL is passed to the proxy.
2004-04-29encode the correct nameDaniel Stenberg
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 the verbose connect use the proper host name string even when usingDaniel Stenberg
a proxy
2004-04-26NI_MAXHOST is not generally available, we use plain 256 bytes for the hostnameDaniel Stenberg
instead, its only for debug verbose output anyway
2004-04-26Made defines instead of plain numbers for the Curl_resolv() return code toDaniel Stenberg
make the code easier to read
2004-04-26IDN adjustments and host cleanups by GisleDaniel Stenberg
2004-04-26Major hostip.c cleanup and split into multiple files and easier #ifdefDaniel Stenberg
usage.
2004-04-21typecast tolower/toupper arguments to int to make picky compilers complainDaniel Stenberg
less
2004-04-20Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-Daniel Stenberg
length limit of the hostname part of the URL.
2004-04-13proper typecast to prevent compiler warningDaniel Stenberg
2004-04-13remove an long time #defined struct member and use the actual "real" nameDaniel Stenberg
instead to make it easier to find/read
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-04-06New authentication code added, particularly noticable when doing POST or PUTDaniel Stenberg
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication and when done perform the requested POST.
2004-03-31Use the new HAVE_NI_WITHSCOPEID define instead of merely checking for theDaniel Stenberg
existance of NI_WITHSCOPEID since some platforms have that define but still can't function with it set.
2004-03-31Fixed how the user name is extracted from http_proxy environment variableDaniel Stenberg
when set.
2004-03-25tcp-nodelay patch by Joe HalpinDaniel Stenberg
2004-03-12Added CURLOPT_POSTFIELDSIZE_LARGE to offer a large file version of theDaniel Stenberg
CURLOPT_POSTFIELDSIZE option to allow really big HTTP POSTs.
2004-03-11Gisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets.Daniel Stenberg
2004-03-10curl_socket_t mistakes cleanupDaniel Stenberg
2004-03-04prevent harmless compiler warningDaniel Stenberg
2004-03-02corrected the reuse_fresh conditionDaniel Stenberg
2004-03-02Yet another curl_off_t printf format attempt, we now exclude the %-letter fromDaniel Stenberg
FORMAT_OFF_T to allow additional options to get specified, like with '"%5" FORMAT_OFF_T'.
2004-03-02use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity ofDaniel Stenberg
having to redef that name
2004-03-01Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.Daniel Stenberg
2004-03-01Only consider the fresh-connection option on the first connection made, notDaniel Stenberg
on followed redirections etc. This should fix the bug #905365, which caused NTLM to fail with the option set.
2004-03-01in Curl_disonnect(): call the protocol-specific disconnect function before weDaniel Stenberg
unlink the "current" connection struct from the connection cache.
2004-02-22the missing part of Gisle Vanem's connect-timeout fix for win32Daniel Stenberg
2004-02-16Make the 'areschannel' get created in the curl_easy_init() and re-use thatDaniel Stenberg
same channel during the whole curl handle's life until curl_easy_cleanup().
2004-02-16Fix verbosconnect() when ipv6-enabled to not assume that conn->serv_addrDaniel Stenberg
is a valid pointer, but instead always depend on the passed-in dns pointer. This happens to be NULL when the connection is re-used...
2004-02-16Jeff Lawson pointed out that we need to check for a '5' in the version fieldDaniel Stenberg
to properly work with SOCKS5 proxies. I also included some ascii art describing the SOCKS5 response, as RFC1928 describes. Jeff provided details in bug report #741841 and here: http://curl.haxx.se/mail/lib-2004-02/0181.html
2004-02-13in the socks code, make sure we receive Curl_read results in ints andDaniel Stenberg
Curl_write in CURLcode, to keep the picky compilers happy
2004-02-12No longer receive the return code in ConnectionKillOne() that wasn't dealtDaniel Stenberg
with anyway and thus caused picky compiler to warn.
2004-02-11#if-check for SIGALRM before assuming it is presentDaniel Stenberg
2004-02-05options we get as longs need to be typecasted when assigned to preventDaniel Stenberg
picky compiler warnings
2004-02-02when including ca-bundle.h, don't look in the current dir first, simply useDaniel Stenberg
the search path since we want the build-version rather than the one in the source dir
2004-01-26when saving in a cookie jar fails, include the file name in the error messageDaniel Stenberg
to make it easier to track down
2004-01-23Proxy username and password on persistant connections could easily getDaniel Stenberg
messed up. Vincent Bronner detected this.
2004-01-23check the arguments to the socks5 function, as the name and password mightDaniel Stenberg
be NULL pointers, and if non-NULL if now support zero-length names/passwords
2004-01-22use curl_off_t instead of off_t!Daniel Stenberg
2004-01-22use the proper type for formposts, not the deprecated oneDaniel Stenberg
2004-01-11Dominick Meglio pointed out FTPS should use default port 990 according toDaniel Stenberg
IANA.