summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Revert: 634f7cfee40d4658 partiallyDaniel Stenberg2012-06-111-1/+1
| | | | | Make sure CURL_VERSION_SSPI is present and works as in previous releases for ABI and API compatibility reasons.
* version: Replaced SSPI feature information with version string detailsMarc Hoersken2012-06-111-1/+1
| | | | | | | | | Added Windows SSPI version information to the curl version string when SCHANNEL SSL is not enabled, as the version of the library should also be included when SSPI is used to generate security contexts. Removed SSPI from the feature list as the features are GSS-Negotiate, NTLM and SSL depending on the usage of the SSPI library.
* version: bump to 7.27.0 for next releaseDaniel Stenberg2012-06-031-4/+4
| | | | Due to new features
* bump to 7.26.1: start working towards next releaseDaniel Stenberg2012-05-241-3/+3
|
* 7.26.0: will be the next release versionDaniel Stenberg2012-05-221-4/+4
|
* curl.h: CURLAUTH_* bitmasks adjusted to become 'unsigned long' typedYang Tse2012-04-181-12/+26
| | | | Info: http://curl.haxx.se/mail/lib-2012-04/0170.html
* headers: surround GCC attribute names with double underscoresJonathan Nieder2012-04-141-3/+4
| | | | | | This protects from attribute names being defined by third party's code. Improvement: http://curl.haxx.se/mail/lib-2012-04/0127.html
* curl tool: use configuration files from lib directoryYang Tse2012-04-061-0/+1
| | | | | | | | | | | Configuration files such as curl_config.h and all config-*.h no longer exist nor are generated/copied into 'src' directory, now these only exist in 'lib' directory from where curl tool sources uses them. Additionally old src/setup.h has been refactored into src/tool_setup.h which now pulls lib/setup.h The possibility of a makefile needing an include path adjustment exists.
* CURLOPT_POSTREDIR: also allow 303 to do POST on the redirected URLAndrei Cipu2012-04-051-3/+6
| | | | As it turns out, some people do want that after all.
* version: start working on 7.25.1-DEVYang Tse2012-03-231-3/+3
|
* smtp_mail: Added support to MAIL FROM for the optional AUTH parameterSteve Holme2012-02-141-0/+3
| | | | | | | | | | | | | Added a new CURLOPT_MAIL_AUTH option that allows the calling program to set the optional AUTH parameter in the MAIL FROM command. When this option is specified and an authentication mechanism is used to communicate with the mail server then the AUTH parameter will be included in the MAIL FROM command. This is particularly useful when the calling program is acting as a relay in a trusted environment and performing server to server communication, as it allows the relaying server to specify the address of the mailbox that was used to authenticate and send the original email.
* LIBCURL_VERSION_NUM: 0x071900Daniel Stenberg2012-02-141-1/+1
| | | | I accidentally left the lowest bits 01 before
* curlver.h: bumped to 7.25.0Daniel Stenberg2012-02-131-5/+5
| | | | and updated the end year in the generic copyright string
* CURLOPT_SSL_OPTIONS: addedDaniel Stenberg2012-02-091-0/+12
| | | | | | | | | | | | | | | | | | Allow an appliction to set libcurl specific SSL options. The first and only options supported right now is CURLSSLOPT_ALLOW_BEAST. It will make libcurl to disable any work-arounds the underlying SSL library may have to address a known security flaw in the SSL3 and TLS1.0 protocol versions. This is a reaction to us unconditionally removing that behavior after this security advisory: http://curl.haxx.se/docs/adv_20120124B.html ... it did however cause a lot of programs to fail because of old servers not liking this work-around. Now programs can opt to decrease the security in order to interoperate with old servers better.
* add library support for tuning TCP_KEEPALIVEDave Reisner2012-02-091-0/+7
| | | | | | | | | | | | This adds three new options to control the behavior of TCP keepalives: - CURLOPT_TCP_KEEPALIVE: enable/disable probes - CURLOPT_TCP_KEEPIDLE: idle time before sending first probe - CURLOPT_TCP_KEEPINTVL: delay between successive probes While not all operating systems support the TCP_KEEPIDLE and TCP_KEEPINTVL knobs, the library will still allow these options to be set by clients, silently ignoring the values.
* version: start working on 7.24.1-DEVYang Tse2012-01-251-4/+4
|
* curl.h: provide backwards compatible symbolsDaniel Stenberg2012-01-051-1/+5
| | | | | | | | | In commit c834213ad52 we re-used some obsolete error codes, and here are two defines that makes sure existing source codes that happen to use any of these deprecated ones will still compile. As usual, define CURL_NO_OLDIES to avoid getting these "precaution defines".
* FTP: perform active connections non-blockingGokhan Sengun2011-12-201-3/+9
| | | | | | | | | | | | | | | | | | | | 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.
* curl.h: add __ANDROID__ macro checkCeĢdric Deltheil2011-12-201-1/+1
| | | | | | | | | | | | | | | | | | When working with the Android Standalone Toolchain the compiler defines this macro: /path/to/arm-linux-androideabi-gcc -E -dM - < /dev/null \ | grep -i android #define __ANDROID__ 1 We really need to check both ANDROID and __ANDROID__ since I've observed that: * if you use Android.mk file(s) and the 'ndk-build' script (aka vanilla way), ANDROID is predefined (see -DANDROID extra C flag), * if you use the Android Standalone Toolchain, then __ANDROID__ is predefined as stated by the compiler
* CURLOPT_DNS_SERVERS: set name servers if possibleJason Glasgow2011-11-171-0/+3
|
* 7.24.0: start the workDaniel Stenberg2011-11-151-3/+3
|
* typecheck: allow NULL to unset CURLOPT_ERRORBUFFERDave Reisner2011-10-151-1/+2
| | | | | | There might be situations where a user would want to unset this option. Avoid forcing him/her to cast the NULL argument to (char *) in order to get past the compile time typecheck.
* share: don't use SSL unless enabledDaniel Stenberg2011-10-031-2/+3
| | | | | | | | 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.
* curlverh.h: next release will be 7.23.0Daniel Stenberg2011-09-291-4/+4
|
* remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORYYang Tse2011-09-261-5/+0
|
* Added unsigned char* to _curl_is_debug_cb.Guenter Knauf2011-09-261-1/+13
|
* allow write callbacks to indicate OOM to libcurlYang Tse2011-09-251-1/+6
| | | | | | Allow (*curl_write_callback) write callbacks to return CURL_WRITEFUNC_OUT_OF_MEMORY to properly indicate libcurl of OOM conditions inside the callback itself.
* 7.22.1: start workingDaniel Stenberg2011-09-131-3/+3
|
* NTLM single-sign on adjustments (X)Yang Tse2011-08-261-3/+3
| | | | | | | | | | | | | | Functions renamed: Curl_output_ntlm_sso -> Curl_output_ntlm_wb sso_ntlm_close -> wb_ntlm_close sso_ntlm_response -> wb_ntlm_response sso_ntlm_initiate -> wb_ntlm_initiate Preprocessor symbols renamed: CURLAUTH_NTLM_SSO -> CURLAUTH_NTLM_WB CURL_VERSION_NTLM_SSO -> CURL_VERSION_NTLM_WB
* curl.h: mark deprecated CURLOPT_ options on same lineDaniel Stenberg2011-08-091-6/+3
| | | | | This is to aid easier machine parsing and to make sure nobody who reads these header lines can miss the info.
* version bump: next release is 7.22.0Daniel Stenberg2011-08-081-4/+4
|
* BSD-style lwIP TCP/IP stack support - followupYang Tse2011-08-051-5/+1
|
* BSD-style lwIP TCP/IP stack support:Yang Tse2011-08-041-1/+5
| | | | | | | | | | | | | | | | | | | | | Allow compilation of libcurl and curl using BSD-style lwIP on Win32. In order to compile libcurl and curl with this support it is necessary to edit files lib/config-win32.h and src/config-win32.h and uncomment a line to make definition of preprocessor symbol USE_LWIPSOCK visible. Afterwards you can compile as usual. In order to use compiled library with BSD-style lwIP TCP/IP stack in your program it is mandatory that you include lwIP header file <lwip/opt.h> before including <curl/curl.h> or <curl/multi.h> Compilation has been verified with lwIP 1.4.0 and contrib-1.4.0 from: http://download.savannah.gnu.org/releases/lwip/lwip-1.4.0.zip http://download.savannah.gnu.org/releases/lwip/contrib-1.4.0.zip Have fun!
* curl.h: untangle a preprocessor block, removing duplicate sys/types.h inclusionYang Tse2011-08-041-7/+5
|
* curl_gssapi: refine the handling of CURLOPT_GSSAPI_DELEGATIONKamil Dudka2011-08-031-0/+4
| | | | Suggested by Richard Silverman.
* Add new CURLOPT_GSSAPI_DELEGATION option.Adam Tkac2011-08-031-0/+3
| | | | | | Curl_gss_init_sec_context got new parameter - SessionHandle. Signed-off-by: Adam Tkac <atkac@redhat.com>
* NTLM single-sign on supportedMandy Wu2011-07-181-2/+4
| | | | With the use of the 'ntlm_auth' tool from the Samba project
* bump release: start working towards 7.21.8Daniel Stenberg2011-06-231-3/+3
|
* CLOSESOCKETFUNCTION: use the callbackDaniel Stenberg2011-05-181-1/+1
| | | | Fix the return type of the callback to match close() and make use of it.
* CLOSESOCKETFUNCTION: addedDaniel Stenberg2011-05-181-0/+8
| | | | | | Introduced the initial setup to allow closesocket callbacks by making sure sclose() is only ever called from one place in the libcurl source and still run all test cases fine.
* include: cleanupDaniel Stenberg2011-05-095-75/+88
| | | | | | | | | Made the public headers checksrc compliant Removed types.h (it's been unused since April 2004) Made the root makefile do make in include by default as well, so that TAGS and the checksrc will work better.
* Corrected commentsDaniel Stenberg2011-05-051-2/+1
| | | | closepolicy has been deprecated and unused for years
* bump version: work towards 7.21.7Daniel Stenberg2011-04-221-3/+3
|
* Fix spelling errors in include/Fabian Keil2011-04-213-4/+4
|
* transfer-encoding: added new option and cmdlineDaniel Stenberg2011-04-182-5/+19
| | | | | | | | | | | Added CURLOPT_TRANSFER_ENCODING as the option to set to request Transfer Encoding in HTTP requests (if built zlib enabled). I also renamed CURLOPT_ENCODING to CURLOPT_ACCEPT_ENCODING (while keeping the old name around) to reduce the confusion when we have to encoding options for HTTP. --tr-encoding is now the new command line option for curl to request this, and thus I updated the test cases accordingly.
* CURLE_BAD_CONTENT_ENCODING: now used for transfer encoding tooDaniel Stenberg2011-04-181-1/+1
|
* 7.21.6: next planned release numberDaniel Stenberg2011-04-171-3/+3
|
* Fixed compatibility macro CURLE_URL_MALFORMAT_USERDan Fandrich2011-04-051-1/+1
|
* return code cleanup: build, init and run-time errorsDaniel Stenberg2011-04-051-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Stop the abuse of CURLE_FAILED_INIT as return code for things not being init related by introducing two new return codes: CURLE_NOT_BUILT_IN and CURLE_UNKNOWN_OPTION CURLE_NOT_BUILT_IN replaces return code 4 that has been obsoleted for several years. It is used for returning error when something is attempted to be used but the feature/option was not enabled or explictitly disabled at build-time. Getting this error mostly means that libcurl needs to be rebuilt. CURLE_FAILED_INIT is now saved and used strictly for init failures. Getting this problem means something went seriously wrong, like a resource shortage or similar. CURLE_UNKNOWN_OPTION is the option formerly known as CURLE_UNKNOWN_TELNET_OPTION (and the old name is still present, separately defined to be removed in a very distant future). This error code is meant to be used to return when an option is given to libcurl that isn't known. This problem would mostly indicate a problem in the program that uses libcurl.
* headers: more copyright headers addedDaniel Stenberg2011-03-221-0/+21
|