- 18 Mar, 2008 1 commit
-
-
Michal Marek authored
- Added macros for curl_share_setopt and curl_multi_setopt to check at least the correct number of arguments.
-
- 17 Mar, 2008 1 commit
-
-
Michal Marek authored
any hard-to-grasp warnings in curl_easy_setopt() calls in applications. Also delete superfluous semicolons.
-
- 11 Mar, 2008 2 commits
-
-
Daniel Stenberg authored
does nothing with them, just to make sure libcurl users always use three arguments to this function. Due to its use of ... for the third argument, it is otherwise hard to detect abuse.
-
Michal Marek authored
works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html , http://curl.haxx.se/mail/lib-2008-02/0292.html )
-
- 28 Jan, 2008 1 commit
-
-
Daniel Stenberg authored
-
- 24 Jan, 2008 1 commit
-
-
Gunter Knauf authored
-
- 10 Jan, 2008 1 commit
-
-
Daniel Stenberg authored
libcurl to seek in a given input stream. This is particularly important when doing upload resumes when there's already a huge part of the file present remotely. Before, and still if this callback isn't used, libcurl will read and through away the entire file up to the point to where the resuming begins (which of course can be a slow opereration depending on file size, I/O bandwidth and more). This new function will also be preferred to get used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when doing multi-stage HTTP auth with POST/PUT.
-
- 08 Jan, 2008 1 commit
-
-
Daniel Stenberg authored
and the write callbacks that now can make a connection's reading and/or writing get paused.
-
- 05 Jan, 2008 1 commit
-
-
Daniel Stenberg authored
code to instead introduce support for a new proxy type called CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy instead of IP address and there's thus no longer any need for a new curl_easy_setopt() option. The default SOCKS5 proxy is again back to sending the IP address to the proxy. The new curl command line option for enabling sending host name to a SOCKS5 proxy is now --socks5-hostname.
-
- 04 Jan, 2008 1 commit
-
-
Daniel Stenberg authored
proxy do the host name resolving and only if --socks5ip (or CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and pass on the IP address only to the proxy.
-
- 02 Jan, 2008 2 commits
-
-
Daniel Stenberg authored
made it an unsigned int. The type was only used in the curl_sockaddr struct definition (only used by the curl_opensocket_callback). On all platforms I could find information about, socklen_t is 32 unsigned bits large so I don't think this will break the API or ABI. The main reason for this change is of course for all the platforms that don't have a socklen_t definition in their headers to build fine again. Providing our own configure magic and custom definition of socklen_t on those systems proved to work but was a lot of cruft, code and extra magic needed - when this very small change of type seems harmless and still solves the missing socklen_t problem.
-
Daniel Stenberg authored
is an inofficial PROXY4 variant that sends the hostname to the proxy instead of the resolved address (which is already supported by SOCKS5). --socks4a is the curl command line option for it and CURLOPT_PROXYTYPE can now be set to CURLPROXY_SOCKS4A as well.
-
- 02 Dec, 2007 1 commit
-
-
Daniel Stenberg authored
the appending of the "type=" thing on FTP URLs when they are passed to a HTTP proxy. Some proxies just don't like that appending (which is done unconditionally in 7.17.1), and some proxies treat binary/ascii transfers better with the appending done!
-
- 22 Nov, 2007 1 commit
-
-
Yang Tse authored
which don't have one.
-
- 08 Nov, 2007 1 commit
-
-
Yang Tse authored
This also defines it for WinCE even though it is a subset of WIN32.
-
- 06 Nov, 2007 1 commit
-
-
http://curl.haxx.se/bug/view.cgi?id=1824894Yang Tse authored
out a problem in curl.h when building C++ apps with MSVC. To fix it, the inclusion of header files in curl.h is moved outside of the C++ extern "C" linkage block.
-
- 29 Oct, 2007 1 commit
-
-
Daniel Stenberg authored
-
- 15 Oct, 2007 1 commit
-
-
Patrick Monnerat authored
CURLOPT_COPYPOSTFIELDS option added for dynamic. Fix some OS400 features.
-
- 06 Oct, 2007 1 commit
-
-
Gisle Vanem authored
-
- 03 Oct, 2007 4 commits
-
-
Daniel Stenberg authored
warnings, one C99 thing and the bad pointer sent to the callback
-
Daniel Stenberg authored
CURLOPT_OPENSOCKETDATA to set a callback that allows an application to replace the socket() call used by libcurl. It basically allows the app to change address, protocol or whatever of the socket. (I also did some whitespace indent/cleanups in lib/url.c which kind of hides some of these changes, sorry for mixing those in.)
-
Daniel Stenberg authored
CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this return code get used by the previous SSH MD5 fingerprint check in case it fails.
-
Daniel Stenberg authored
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make the SCP or SFTP connection verify the remote host's md5 checksum of the public key before doing a connect, to reduce the risk of a man-in-the-middle attack.
-
- 26 Sep, 2007 1 commit
-
-
Daniel Stenberg authored
curl_easy_setopt() that alters how libcurl functions when following redirects. It makes libcurl obey the RFC2616 when a 301 response is received after a non-GET request is made. Default libcurl behaviour is to change method to GET in the subsequent request (like it does for response code 302 - because that's what many/most browsers do), but with this CURLOPT_POST301 option enabled it will do what the spec says and do the next request using the same method again. I.e keep POST after 301. The curl tool got this option as --post301 Test case 1011 and 1012 were added to verify.
-
- 13 Sep, 2007 1 commit
-
-
Daniel Stenberg authored
-
- 31 Aug, 2007 1 commit
-
-
Dan Fandrich authored
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility.
-
- 30 Aug, 2007 1 commit
-
-
Dan Fandrich authored
and allow reuse by multiple protocols. Several unused error codes were removed. In all cases, macros were added to preserve source (and binary) compatibility with the old names. These macros are subject to removal at a future date, but probably not before 2009. An application can be tested to see if it is using any obsolete code by compiling it with the CURL_NO_OLDIES macro defined. Documented some newer error codes in libcurl-error(3)
-
- 23 Aug, 2007 1 commit
-
-
Patrick Monnerat authored
-
- 07 Aug, 2007 1 commit
-
-
Patrick Monnerat authored
undef standard *printf before (re)defining them
-
- 01 Aug, 2007 1 commit
-
-
Daniel Stenberg authored
passed to it with curl_easy_setopt()! Previously it has always just refered to the data, forcing the user to keep the data around until libcurl is done with it. That is now history and libcurl will instead clone the given strings and keep private copies.
-
- 10 Jul, 2007 1 commit
-
-
Daniel Stenberg authored
-
- 01 Jul, 2007 1 commit
-
-
Daniel Stenberg authored
libcurl. This also makes the options change name to --krb (from --krb4) and CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
-
- 30 Jun, 2007 1 commit
-
-
Gunter Knauf authored
sent by Dmitry Mityugov.
-
- 27 Jun, 2007 1 commit
-
-
James Housley authored
and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files and directories created on the remote server. CURLOPT_NEW_FILE_PERMS defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755
-
- 25 Jun, 2007 2 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- 30 May, 2007 1 commit
-
-
Daniel Stenberg authored
the maximum size of the connection cache maximum size of the multi handle.
-
- 08 May, 2007 1 commit
-
-
Daniel Stenberg authored
because I just made SCP uploads return this value if the file size of the upload file isn't given with CURLOPT_INFILESIZE*. Docs updated to reflect this news, and a define for the old name was added to the public header file.
-
- 20 Apr, 2007 1 commit
-
-
Daniel Stenberg authored
changed at build time (from command line or similar)
-
- 16 Apr, 2007 1 commit
-
-
Daniel Stenberg authored
function that deprecates the curl_multi_socket() function. Using the new function the application tell libcurl what action that was found in the socket that it passes in. This gives a significant performance boost as it allows libcurl to avoid a call to poll()/select() for every call to curl_multi_socket*().
-