aboutsummaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)Author
2011-12-20FTP: perform active connections non-blockingGokhan Sengun
1- Two new error codes are introduced. CURLE_FTP_ACCEPT_FAILED to be set whenever ACCEPTing fails because of FTP server connected. CURLE_FTP_ACCEPT_TIMEOUT to be set whenever ACCEPTing timeouts. Neither of these errors are considered fatal and control connection remains OK because it could just be a firewall blocking server to connect to the client. 2- One new setopt option was introduced. CURLOPT_ACCEPTTIMEOUT_MS It sets the maximum amount of time FTP client is going to wait for a server to connect. Internal default accept timeout is 60 seconds.
2011-12-20libcurl.m4: Fix quoting arguments of AC_LANG_PROGRAMBernhard Reutner-Fischer
Parameters were underquoted, resulting in warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-12-20tutorial: remove CURLM_CALL_MULTI_PERFORM add sharingDaniel Stenberg
The CURLM_CALL_MULTI_PERFORM reference is an old leftover I had to remove. I also added some blurb to the previously blank "sharing" section.
2011-12-19curl.1: minor white space cleanupDaniel Stenberg
2011-12-19docs: improve description of the --capath optionAlessandro Ghedini
Document the possibility of providing multiple values using the ":" separator, and the fact that the default value will be ignored if the option is used.
2011-12-19DOCS: Added SMTP information to CURLOPT_INFILESIZESteve Holme
2011-12-15Correct default upload mimetype in manualColin Hogben
The default content-type for file uploads is application/octet-stream, not text/plain as stated in the MANUAL.
2011-12-15docs: fix typo in curl_easy_setopt manpageAlessandro Ghedini
2011-12-12CURLOPT_INTERFACE: avoid resolving interfaces namesJason Glasgow
Do not try to resolve interfaces names via DNS by recognizing interface names in a few ways. If the interface option argument has a prefix of "if!" then treat the argument as only an interface. Similarly, if the interface argument is the name of an interface (even if it does not have an IP address assigned), treat it as an interface name. Finally, if the interface argument is prefixed by "host!" treat it as a hostname that must be resolved by /etc/hosts or DNS. These changes allow a client using the multi interfaces to avoid blocking on name resolution if the interface loses its IP address or disappears.
2011-12-07FAQ: add --resolve details to question 3.19Daniel Stenberg
2011-12-06Added some include files in a couple of example programsDan Fandrich
This improves portability of the examples. This patch was submitted to the OpenBSD ports collection by naddy.
2011-12-05CURLOPT_CONNECTTIMEOUT: default is 300 secondsDaniel Stenberg
If the option is set to 0, the default timeout will be used - which in modern libcurl versions equals 300 seconds (== 5 minutes). Bug: http://curl.haxx.se/mail/lib-2011-12/0051.html Reported by: Vladimir Grishchenko
2011-12-05progress function example: include timed intervalRob Ward
Adds a timer based off of CURLINFO_TOTAL_TIME that is used to perform certain actions after a minimum amount of time has passed using the progress function. As a consequence the curl handle is now also passed into the progress function. Progress example now also includes an example of how to retreive the TOTAL_TIME and print it out.
2011-12-05FTP: call opensocket callback properlyDaniel Stenberg
When the new socket is created for an active connection, it is now done using the open socket callback. Test case 596 was modified to run fine, although it hides the fact that the close callback is still called too many times, as it also gets called for closing sockets that were created with accept().
2011-11-24symbols.pl: provide LIBCURL_HAS macro for appsDaniel Stenberg
Experience has shown that the symbols-in-versions file is very useful to applications that want to build with a wide range of libcurl versions. It is however easy to get it wrong and the source gets a bit messy with all the fixed numerical comparisions. The point of this script is to provide an easy-to-use macro for libcurl- using applications to do preprocessor checks for specific libcurl defines, and yet make the code clearly show what the macro is used for.
2011-11-18CURLOPT_QUOTE: SFTP supports the '*'-prefix nowDaniel Stenberg
2011-11-18SFTP: support '*' prefix for quote operationsJonas Schnelli
prefixing a command with '*' means it is allowed to fail without aborting the chain actions
2011-11-17THANKS: one new contributor in 7.23.1Daniel Stenberg
2011-11-17CURLOPT_DNS_SERVERS: set name servers if possibleJason Glasgow
2011-11-15THANKS: added 18 new contributors from 7.23.0Daniel Stenberg
2011-11-14curl_easy_setopt arguments should be of type long in the examplesDan Fandrich
2011-10-30doc/curl.1: fix sentence with ending for -# optionDave Reisner
Try to be a little more descriptive about the effect of this flag, rather than parroting what was said in the paragraph just above.
2011-10-27libcurl-multi.3: update the list of areas still blockingDaniel Stenberg
2011-10-24curl_easy_setopt.3: headers can be CURL_MAX_HTTP_HEADER bytesDaniel Stenberg
Mention this maximum header size for the header callback cases
2011-10-24curl_easy_setopt.3: fix typoDaniel Stenberg
shoot, Dan Fandrich already had this pointed out...
2011-10-24curl_easy_setopt: Added pop3 to CURLOPT_URL.Steve Holme
Added pop3 username and password example as well as an explanation of how path part of the URL is used under pop3. Additionally have corrected a couple of typos.
2011-10-20KNOWN_BUGS: #74 fixedDaniel Stenberg
Multiple auths in the same WWW-Authenticate header Fixed in commit 7d81e3f7193b8c
2011-10-20CURLM_CALL_MULTI_PERFORM: remove mentionDaniel Stenberg
This return code has not been used since 7.20.0 so we can stop mentioning it for current libcurl.
2011-10-17--epsv: fix typoDaniel Stenberg
Reported by: Thomas L. Shinnick
2011-10-16curl_multi_fdset: clarify the max_fd == -1 caseDaniel Stenberg
Elaborate what max_fd == -1 means Remove the reference to CURLM_CALL_MULTI_PERFORM as modern libcurl versions don't ever return that.
2011-10-16TODO: have form functions use CURL handle argumentDaniel Stenberg
2011-10-14docs: --xattrMichal Marek
2011-10-03m4: Use x in order to avoid variable 'x' set but not used ↵Dominique Leuenberger
[-Werror=unused-but-set-variable] This error could be caused by configure scripts being run with -Werror -Wall, which would lead to libcurl being detected as unusable.
2011-10-03share: don't use SSL unless enabledDaniel Stenberg
Don't even declare the struct members for disabled features Introducing the CURLSHE_NOT_BUILT_IN return code for the share interface when trying to set a sharing option that has been disabled (or not enabled) in the library.
2011-09-30tutorial: clarify the handle sharing when treadedDaniel Stenberg
Previously there was wording that made people uncertain of the exact rules. Feedback by: Julien Royer and Georg Lippitsch URL: http://curl.haxx.se/mail/lib-2011-09/0357.html
2011-09-28curl_easy_setopt: Added scp and sftp to the URL sectionDan Fandrich
2011-09-28curl_easy_setopt: A brief tidy upSteve Holme
Slight rewording of the CURLOPT_URL SMTP sub-section. Corrected the incorrect use of hyphens on the three uses of "zero-terminated" with "zero terminated" to match the rest of the document. Corrected the use of an out of place hyphen in CURLOPT_NOPROXY section.
2011-09-28SSL session sharing support addedAlejandro Alvarez
With locking, plus test, plus documentation
2011-09-28multi docs: extended the multi_socket API descriptionDaniel Stenberg
2011-09-27Added SPNEGO to NetWare build.Guenter Knauf
2011-09-26remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORYYang Tse
2011-09-25allow write callbacks to indicate OOM to libcurlYang Tse
Allow (*curl_write_callback) write callbacks to return CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions inside the callback itself.
2011-09-25curl_multi_fdset: avoid FD_SET out of boundsDaniel Stenberg
If a socket is larger than FD_SETSIZE, avoid using FD_SET() on the platforms where this is possible. Bug: http://curl.haxx.se/bug/view.cgi?id=3413274 Reported by: Tim Starling
2011-09-25Fixed MinGW examples makefile.Guenter Knauf
2011-09-25NetWare makefile tweaks to select different builds.Guenter Knauf
2011-09-24Added header to be included by dist script.Guenter Knauf
Probably the wrong place, but I dont know better.
2011-09-23MinGW64 has this prototype already.Guenter Knauf
2011-09-23Fixed scanf format for WORD = unsigned short.Guenter Knauf
2011-09-23Added Win32-only samples.Guenter Knauf
2011-09-23Added a workaround for printing size_t.Guenter Knauf