aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
AgeCommit message (Collapse)Author
2004-11-24HTTP "auth done right". See lib/README.httpauthDaniel Stenberg
2004-10-19CURLINFO_NUM_CONNECTS and moreDaniel 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-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-07-04made 'connectindex' a long variable to prevent compiler warnings whenDaniel Stenberg
implicitly converting it to int
2004-07-01Variable type cleanups to please the picky MIPSPro compiler.Daniel Stenberg
2004-07-01variable type cleanup to fix picky compiler 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-16Keep the upload byte counter in an curl_off_t, not an int. 32bits is notDaniel Stenberg
enough. This is most likely the bug Jean-Louis Lemaire reported that makes 2GB FTP uploads to report error when completed. Also padded comments to get them aligned again, only for visibility.
2004-06-15Fix the auth code to enable us to i.e set DIGEST and then find out that theDaniel Stenberg
server doesn't require any auth at all and then we just continue nicely. We now have an extra bit in the connection struct named 'authprobe' that is TRUE when doing pure "HTTP authentication probing".
2004-06-03Alexander Krasnostavsky's FTP third party transfer (proxy) supportDaniel Stenberg
2004-05-26Added a new 'bit' in the connect struct named 'tunnel_proxy' that is setDaniel Stenberg
if a connection is tunneled through a proxy. A tunnel is done with CONNECT, either when using HTTPS or FTPS, or if explicitly enabled by the app.
2004-05-25initial support for "uploading" to file:// URLsDaniel Stenberg
2004-05-24Robert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE couldDaniel Stenberg
not be used both in one request. Fixed it and added test case 172 to verify.
2004-05-17deleted trailing whitespaceDaniel Stenberg
2004-05-12Curl_done() and the protocol-specific conn->curl_done() functions now allDaniel Stenberg
take a CURLcode as a second argument, that is non-zero when Curl_done() is called after an error was returned from Curl_do() (or similar).
2004-05-12use size_t better for buffer and alloc lengthsDaniel Stenberg
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-04General HTTP authentication cleanup and fixesDaniel Stenberg
2004-04-29Luca Altea's major HTTP Digest updateDaniel 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-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-22- David Byron found and fixed a small bug with the --fail and authenticationDaniel Stenberg
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and communicate with a proxy that requires basic authentication, the proxy properly returns a 407, but the failure detection code doesn't realize it should give up, so curl returns with exit code 0. Test case 162 verifies this.
2004-04-21Fix the "lingering close" problem when re-using a connection, as test caseDaniel Stenberg
160 shows. We got no data and we attempted to re-use a connection. This might happen if the connection was left alive when we were done using it before, but that was closed when we wanted to read from it again. Bad luck. Retry the same request on a fresh connect! Deleted the sockerror variable again, it serves no purpose anymore.
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-15removed the fixed dir depth limit in the FTP codeDaniel 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-07getting only a 100 Continue response and nothing else, when talking HTTP,Daniel Stenberg
is now treated as an error by libcurl
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-30added stale boolean to the digest structDaniel Stenberg
2004-03-30David Byron added 'authdone' to the SessionHandle.Daniel 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-23keep current_speed as an curl_off_t for better precision at higher speedsDaniel Stenberg
if large file support is available
2004-03-12more variable type fixes for the large POST supportDaniel 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-11Made max5data() take a curl_off_t size as argument instead of double. ShouldDaniel Stenberg
make the progress meter more accurate for large files. Also made the sprintf usage in that function avoid floating point.
2004-03-10Use more curl_off_t variables when doing the progress meter calculations andDaniel Stenberg
argument passing and try to convert to double only when providing data to the external world.
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-03-03make the backup variable of the same kind as the data it backups! ;-)Daniel Stenberg
2004-03-03rename struct FILE to FILEPROTO, to prevent it from causing trouble withDaniel Stenberg
the plain old FILE typedef.
2004-02-27Joe Halpin made the FTP code send 'QUIT' on the control connection beforeDaniel Stenberg
it disconnects the TCP connection, like a good ftp client should!
2004-02-26Clear up int/long/size_t/ssize_t usage a bitDaniel Stenberg
2004-02-22the missing part of Gisle Vanem's connect-timeout fix for win32Daniel Stenberg
2004-02-20we call the macro CURLMAX() isntead of MAX(), just because it turned upDaniel Stenberg
it collides with another MAX define on some platforms (like netbsd 1.6.1)
2004-02-02set the 'retry' bit to TRUE when the connection is about to be retried,Daniel Stenberg
this allows the HTTP code to *not* return a failure just because no data has been received from the server