aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
AgeCommit message (Collapse)Author
2005-01-16Alex aka WindEagle pointed out that when doing "curl -v dictionary.com", curlDaniel Stenberg
assumed this used the DICT protocol. While guessing protocols will remain fuzzy, I've now made sure that the host names must start with "[protocol]." for them to be a valid guessable name. I also removed "https" as a prefix that indicates HTTPS, since we hardly ever see any host names using that.
2005-01-11Renamed easy.h and multi.h to easyif.h and multiif.h to make sure they don'tDaniel Stenberg
shadow our public headers with the former names.
2005-01-10Bruce Mitchener identified (bug report #1099640) the never-ending SOCKS5Daniel Stenberg
problem with the version byte and the check for bad versions. Bruce has lots of clues on this, and based on his suggestion I've now removed the check of that byte since it seems to be able to contain 1 or 5.
2005-01-10Pavel Orehov reported memory problems with the multi interface in bug reportDaniel Stenberg
#1098843. In short, a shared DNS cache was setup for a multi handle and when the shared cache was deleted before the individual easy handles, the latter cleanups caused read/writes to already freed memory.
2004-12-17Print true netrc name (.netrc/_netrc).Gisle Vanem
2004-12-16Renamed a struct member to avoid conflict with a C++ reserved word.Dan Fandrich
2004-12-14Harshal Pradhan fixed changing username/password on a persitent HTTPDaniel Stenberg
connection.
2004-12-13Added handling of CURLINFO_SSL_ENGINES;Gisle Vanem
Added Curl_SSL_engines_list(), cleanup SSL in url.c (no HAVE_OPENSSL_x etc.).
2004-12-10move the port number extraction to after the extraction of user name/password,Daniel Stenberg
as suggested by Kai Sommerfeld
2004-12-05Dan Fandrich added the --disable-cookies option to configure to buildDaniel Stenberg
libcurl without cookie support. This is mainly useful if you want to build a minimalistic libcurl with no cookies support at all. Like for embedded systems or similar.
2004-11-26I changed my mind. Remove ioctl() macro in setup.h instead.Gisle Vanem
2004-11-26Renamed urldata.h members 'ioctl*' to 'ioctrl*' due toGisle Vanem
clash with djgpp ioctl() macro in setup.h.
2004-11-25FTP improvements:Daniel Stenberg
If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on the same server again even if a following request is made using a persistent connection. If a second request is made to a server, requesting a file from the same directory as the previous request operated on, libcurl will no longer make that long series of CWD commands just to end up on the same spot. Note that this is only for *exactly* the same dir. There is still room for improvements to optimize the CWD-sending when the dirs are only slightly different. Added test 210, 211 and 212 to verify these changes. Had to improve the test script too and added a new primitive to the test file format.
2004-11-24HTTP "auth done right". See lib/README.httpauthDaniel Stenberg
2004-11-19David Phillips' FD_SETSIZE fixDaniel Stenberg
2004-11-18Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings andDaniel Stenberg
errors.
2004-11-15clean up start time and t_startsingle use so that redirect_time works properlyDaniel Stenberg
2004-11-12Dan Fandrich added the --disable-crypto-auth option to configure to allowDaniel Stenberg
libcurl to build without Digest support. (I figure it should also explicitly disable Negotiate and NTLM.)
2004-11-11Fix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST.Daniel Stenberg
2004-11-02Paul Nolan fix to make libcurl build nicely on Windows CEDaniel Stenberg
2004-10-14Eric Vergnaud pointed out that libcurl didn't treat ?-letters in the user nameDaniel Stenberg
and password fields properly in URLs, like ftp://us?er:pass?word@site.com/. Added test 191 to verify the fix.
2004-10-10another lame attempt to avoid the "warning: will never be executed" warningDaniel Stenberg
by gcc 3.4
2004-10-07use tld_strerror() only if previously detected, since otherwise we can'tDaniel Stenberg
work with libidn < 0.5.6
2004-10-06Fixed tld_check_name(). idna_to_unicode_lzlz() should never fail,Gisle Vanem
but return FALSE if 'uc_name == NULL' just in case.
2004-10-06USE_LIBIDN: Added Top-level-domain (TLD) check for host->name.Gisle Vanem
Only print a warning if check fails.
2004-10-06removed tabs and trailing whitespace from sourceDaniel Stenberg
2004-10-05minor edit to re-use a variable and to hopefully avoid a (moot) warningDaniel Stenberg
about code that won't be reached
2004-10-04Made the dns entry remain locked while a connection to the host remains toDaniel Stenberg
allow verbose output during this period. Bertrand Demiddelaer reported and helped fixing.
2004-10-02Gisle Vanem provided code that displays an error message when the (libidnDaniel Stenberg
based) IDN conversion fails. This is really due to a missing suitable function in the libidn API that I hope we can remove once libidn gets a function like this.
2004-09-28Only active the engine code if ssl is enabled. This is how the actual engineDaniel Stenberg
member in the struct is used.
2004-09-25allow setting CURLOPT_SSLENGINE to NULL even if no SSL engine is supportedDaniel Stenberg
2004-09-16Added CURLOPT_FTPSSLAUTHDaniel Stenberg
2004-09-10- Bug report #1025986. When following a Location: with a custom Host: headerDaniel Stenberg
replacement, curl only replaced the Host: header on the initial request and didn't replace it on the following ones. This resulted in requests with two Host: headers. Now, curl checks if the location is on the same host as the initial request and then continues to replace the Host: header. And when it moves to another host, it doesn't replace the Host: header but it also doesn't make the second Host: header get used in the request. This change is verified by the two new test cases 184 and 185.
2004-08-16allow a custom "Accept-Encoding:" header override the internally set oneDaniel Stenberg
that gets set with CURLOPT_ENCODING
2004-08-10Ok, setting CURLOPT_POST to 0 will now convert the request to a GET (thisDaniel Stenberg
remains undocumented as this is not the way we recommend)
2004-07-29prevent all the sig and alarm stuff when using aresDaniel Stenberg
2004-07-28Bertrand Demiddelaer fixed the host name to get setup properly even whenDaniel Stenberg
a connection is re-used, when a proxy is in use.
2004-07-10ifdef keep_sigact since its only used when SIGALRM is defined.Gunter Knauf
2004-07-04explicit typecasts when converting from long to int to avoid warningsDaniel Stenberg
2004-07-04made 'connectindex' a long variable to prevent compiler warnings whenDaniel Stenberg
implicitly converting it to int
2004-07-01variable type cleanup to fix picky compiler warningsDaniel Stenberg
2004-06-30NOBODY set TRUE after a POST makes a good HEAD nowDaniel Stenberg
2004-06-24typecasts to prevent warningsDaniel 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-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-18Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on theDaniel Stenberg
mailing list.
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-09Alexander Krasnostavsky's fix to make libcurl build fine with configureDaniel Stenberg
--disable-http, which thus builds a libcurl without HTTP support.
2004-06-03Alexander Krasnostavsky's FTP third party transfer (proxy) supportDaniel Stenberg
2004-06-02Made CURLOPT_UPLOAD and CURLOPT_PUT mean the same thing internally (theDaniel Stenberg
previous difference was not clear nor documented properly). They can now both be used interchangeably, but we prefer UPLOAD to PUT since it is a more generic term.