Daniel Stenberg [Fri, 8 Feb 2013 08:58:23 +0000 (09:58 +0100)]
FAQ: refreshed some phrases
Nick Zitzmann [Fri, 8 Feb 2013 01:45:07 +0000 (18:45 -0700)]
darwinssl: Fix build under Leopard
It turns out that Leopard (OS X 10.5) doesn't have constants for the ECDH
ciphers in its headers, so the cases for them have been taken out of the
build when building under Leopard. Also added a standard function for
getting a string description of a SecCertificateRef.
Steve Holme [Thu, 7 Feb 2013 21:20:11 +0000 (21:20 +0000)]
RELEASE-NOTES: Added new imap features
Steve Holme [Thu, 7 Feb 2013 21:06:53 +0000 (21:06 +0000)]
imap: Added support for SASL-IR extension (Part 2)
Modified imap_authenticate() to add support for sending the initial
response with the AUTHENTICATE command, as per RFC4959.
Steve Holme [Thu, 7 Feb 2013 20:37:11 +0000 (20:37 +0000)]
smtp: Updated SMTP_AUTH_PASSWD state constant
Changed the SMTP_AUTH_PASSWD state constant to SMTP_AUTH_LOGIN_PASSWD to
better describe the state as the second part of an AUTH LOGIN command,
as well as for consistency with the imap and pop3 modules.
Steve Holme [Thu, 7 Feb 2013 20:02:06 +0000 (20:02 +0000)]
imap: Added support for SASL-IR extension (Part 1)
Introduced detection of the SASL-IR capability, in order to add support
for sending the initial response with the AUTHENTICATE command, as per
RFC4959.
Daniel Stenberg [Thu, 7 Feb 2013 13:58:01 +0000 (14:58 +0100)]
Revert "vc: remove explicit MSVC6 IDE project file and documentation"
This reverts commit
0e66d5878edc3d7ffc445116d194b58bbc7504b9.
Steve Holme [Thu, 7 Feb 2013 00:18:23 +0000 (00:18 +0000)]
imap: Changed response tag generation to be completely unique
Updated the automatic response tag generation to follow the examples
given in RC3501, which list a 4 character string such as A001, A002,
etc.
As a unique identifier should be generated for each command the string
generation is based on the connection id and the incrementing command
id.
Dan Fandrich [Wed, 6 Feb 2013 22:42:36 +0000 (23:42 +0100)]
Tweak the Android.mk file for its new location
This is untested, but ought to be enough to still allow it
to work automatically when the entire curl source tree is
dropped into a full Android source tree.
Daniel Stenberg [Wed, 6 Feb 2013 22:28:39 +0000 (23:28 +0100)]
vc: remove explicit MSVC6 IDE project file and documentation
VC6 is _very_ old and we provide working makefiles even for that
compiler. Users who build with the IDE never use that method and project
file anyway and it was just lingering in the root dir.
Steve Holme [Wed, 6 Feb 2013 22:22:57 +0000 (22:22 +0000)]
imap: Small variable rename in preparation for upcoming change
Renamed a couple of variables and updated some comments in
preparation for upcoming command id / response tag change.
Daniel Stenberg [Wed, 6 Feb 2013 22:14:11 +0000 (23:14 +0100)]
msvc: move Makefile.msvc.names into winbuild/
In an attempt to clear up misc files from the root dir
Daniel Stenberg [Wed, 6 Feb 2013 22:08:05 +0000 (23:08 +0100)]
build: move Android.mk to packages/Android/
Daniel Stenberg [Wed, 6 Feb 2013 22:04:02 +0000 (23:04 +0100)]
emacs files: remove from git and dist
We don't need them and I doubt many people used them. We also don't have
any configs for other editors and we wouldn't want that.
Steve Holme [Wed, 6 Feb 2013 20:02:36 +0000 (20:02 +0000)]
email: Moved starttls code in separate functions
To help maintain the readability of the code in imap.c, pop3.c and
smtp.c moved the starttls code into state_starttls() functions.
Nick Zitzmann [Wed, 6 Feb 2013 17:34:53 +0000 (10:34 -0700)]
FEATURES: More NTLM and SSL changes, added two others, fixed typo
Added IDN and HTTP data compression as they were left out of the
document until now.
Added notes for qssl, schannel and Secure Transport supporting SSLv2,
Secure Transport supports NTLM, and axTLS does not support SSLv3.
There was also a typo; "AUTH TSL" should be "AUTH TLS".
Kamil Dudka [Wed, 6 Feb 2013 13:10:16 +0000 (14:10 +0100)]
curl-config.in: do not randomly mix tabs and spaces
Daniel Stenberg [Wed, 6 Feb 2013 13:50:39 +0000 (14:50 +0100)]
7.29.1: onwards!
Daniel Stenberg [Wed, 6 Feb 2013 10:52:22 +0000 (11:52 +0100)]
THANKS: 12 contributors from 7.29.0
Daniel Stenberg [Wed, 6 Feb 2013 10:11:55 +0000 (11:11 +0100)]
vms: config-vms.h is removed, no use trying to distribute it
Daniel Stenberg [Wed, 6 Feb 2013 10:02:18 +0000 (11:02 +0100)]
RELEASE-NOTES: mention the SASL buffer overflow
Eldar Zaitov [Wed, 30 Jan 2013 22:22:27 +0000 (23:22 +0100)]
Curl_sasl_create_digest_md5_message: fix buffer overflow
When negotiating SASL DIGEST-MD5 authentication, the function
Curl_sasl_create_digest_md5_message() uses the data provided from the
server without doing the proper length checks and that data is then
appended to a local fixed-size buffer on the stack.
This vulnerability can be exploited by someone who is in control of a
server that a libcurl based program is accessing with POP3, SMTP or
IMAP. For applications that accept user provided URLs, it is also
thinkable that a malicious user would feed an application with a URL to
a server hosting code targetting this flaw.
Bug: http://curl.haxx.se/docs/adv_20130206.html
Steve Holme [Wed, 6 Feb 2013 09:29:50 +0000 (09:29 +0000)]
FEATURES: Removed erroneous whitespace
Removed whitespace introduced in commit
5f8f20f5e65b that caused
formatting issues when generating the website docs.
Yang Tse [Wed, 6 Feb 2013 03:53:34 +0000 (04:53 +0100)]
setup-vms.h: post VMS patch cleanup - III
- rename post-config-vms.h to setup-vms.h
- move its inclusion into proper location in curl_setup.h
Yang Tse [Wed, 6 Feb 2013 03:51:55 +0000 (04:51 +0100)]
vms_show: post VMS patch cleanup - II
- remove multiple declarations of vms_show and add comments
Yang Tse [Wed, 6 Feb 2013 03:51:00 +0000 (04:51 +0100)]
tool_main.c: post VMS patch cleanup - I
- remove header inclusion already done in curl_setup_once.h
Steve Holme [Wed, 6 Feb 2013 00:36:54 +0000 (00:36 +0000)]
FEATURES: Added SSPI to list of NTLM libraries
Steve Holme [Wed, 6 Feb 2013 00:30:08 +0000 (00:30 +0000)]
FEATURES: Added Secure Transport and qssl to list of SSL libraries
Steve Holme [Wed, 6 Feb 2013 00:28:50 +0000 (00:28 +0000)]
FEATURES: Added email feature set
Added SMTP, SMTPS, POP3, POP3S, IMAP and IMAPS features.
Steve Holme [Tue, 5 Feb 2013 23:59:47 +0000 (23:59 +0000)]
imap.h: Corrected incorrect comment clarification
Corrected comment clarification made in commit
167717b8069a.
Steve Holme [Tue, 5 Feb 2013 23:05:50 +0000 (23:05 +0000)]
COPYING: Updated copyright year to include 2013
Daniel Stenberg [Tue, 5 Feb 2013 22:19:19 +0000 (23:19 +0100)]
RELEASE-NOTES: synced with
25f351424b3538
8 more bug fixes mentioned
John E. Malmberg [Mon, 4 Feb 2013 21:56:44 +0000 (22:56 +0100)]
VMS: fix and generate the VMS build config
config_h.com is a new file that generates a config.h file based on the
curl_config.h.in file and a quick scan of the configure script. This is
actually a generic procedure that is shared with other VMS packages.
The existing pre-built config-vms.h had over 100 entries that were not
correct and in some cases conflicted with the build options available in
the build_vms.com.
generate_config_vms_h_curl.com is a helper procedure to the
config_h.com. It covers the cases that the generic config_h.com is not
able to figure out, and accepts input from the build_vms.com procedure.
build_curlbuild_h.com is a new file to generate the curlbuild.h file
that Curl is now using when it is using a curl_config.h file.
post-config-vms.h is a new file that is needed to provide VMS specific
definitions, and most of them need to be set before the system header
files are included.
The VMS build procedure is fixed:
1. Fixed to link in the correct HP ssl library.
2. Fixed to detect if HP Kerberos is installed.
3. Fixed to detect if HP LDAP is installed.
4. Fixed to detect if gnv$libzshr is installed.
5. Simplified the input parameter parsing to not use a loop.
6. Warn that 64 bit pointer option support is not complete
in comments.
7. Default to IEEE floating if platform supports it so
resulting libcurl will be compatible with other
open source projects on VMS.
8. Default to LARGEFILE if platform supports it.
9. Default to enable SSL, LDAP, Kerberos, libz
if the libraries are present.
10. Build with exact case global symbols for libcurl.
11. Generate linker option file needed.
12. Compiler list option only commonly needed items.
13. fulllist option for those who really want it.
14. Create debug symbol file on Alpha, IA64.
Daniel Stenberg [Tue, 5 Feb 2013 22:01:50 +0000 (23:01 +0100)]
Curl_proxyCONNECT: return once CONNECT is sent
By doing this unconditionally, we infer a simpler and more defined
behavior. This also has the upside that test 1021 no longer fails for me
even if I run with valgrind.
Also fixed some wrong comments.
Steve Holme [Tue, 5 Feb 2013 21:09:34 +0000 (21:09 +0000)]
email: Reworked comments in the endofresp() functions
Tidied up the comments in the endofresp() functions to be more
meaningful prior to release.
Marc Hoersken [Tue, 5 Feb 2013 21:02:45 +0000 (22:02 +0100)]
schannel: Removed extended error connection setup flag
According KB975858 this flag may cause problems on Windows 7 and
Windows Server 2008 R2 systems. Extended error information is not
currently used by libcurl and therefore not a requirement.
The flag may improve the SSL-connection shutdown in case of an
error. This means it might be a good improvement in the future.
Fixes bug/issue #1187 - thanks for the report
Tor Arntsen [Tue, 5 Feb 2013 16:26:07 +0000 (17:26 +0100)]
singleipconnect: Update *sockp for all CURLE_OK
The
56b7c87c7 change left a case where a good sockfd was not copied to
*sockp before returning with CURLE_OK
Daniel Stenberg [Tue, 5 Feb 2013 13:09:18 +0000 (14:09 +0100)]
curl_easy_perform: Value stored to 'mcode' is never read
pointed out by clang-analyzer
Daniel Stenberg [Tue, 5 Feb 2013 13:07:39 +0000 (14:07 +0100)]
singleipconnect: remove dead assignment
pointed out by clang-analyzer
Linus Nielsen Feltzing [Tue, 5 Feb 2013 08:07:27 +0000 (09:07 +0100)]
CURLMOPT_MAXCONNECTS: restore functionality
When a connection is no longer used, it is kept in the cache. If the
cache is full, the oldest idle connection is closed. If no connection is
idle, the current one is closed instead.
Steve Holme [Tue, 5 Feb 2013 00:11:24 +0000 (00:11 +0000)]
RELEASE-NOTES: Updated following recent changes to the email protocols
Added recent additions and fixes following the changes to imap, pop3
and smtp. Additionally added another contributor that helped to test
the imap sasl changes.
Steve Holme [Mon, 4 Feb 2013 23:51:36 +0000 (23:51 +0000)]
email: Provided extra comments following recent pop3/imap fixes
Provided additional clarification about the logic of the authenticate()
functions following commit
6b6bdc83bd36 and
b4270a9af1d0.
Andrei Kurushin [Mon, 4 Feb 2013 23:08:01 +0000 (00:08 +0100)]
winbuild: include version info for .dll .exe
Bug: http://curl.haxx.se/bug/view.cgi?id=1186
Daniel Stenberg [Mon, 4 Feb 2013 21:46:51 +0000 (22:46 +0100)]
FAQ: clarify 5.13 How do I stop an ongoing transfer
Rich Gray provided good feedback and we now clarify that you can in fact
stop a multi transfer at any point you like by removing the easy handle.
Matt Arsenault [Mon, 4 Feb 2013 21:35:09 +0000 (22:35 +0100)]
cmake: Fix mingw build
Sergei Nikulov [Thu, 17 Jan 2013 09:44:05 +0000 (13:44 +0400)]
cmake: updated OpenSSL build
Steve Holme [Mon, 4 Feb 2013 20:33:30 +0000 (20:33 +0000)]
pop3.c: Updated variable names to use shorter / more readable variant
Tidied up code from commit 6b6bdc83bdUpdated where a few instances of
the pop3c struct variable used the longer conndata struct rather than
matching what other code in pop3_authenticate() used.
Guenter Knauf [Mon, 4 Feb 2013 03:50:31 +0000 (04:50 +0100)]
updated copyright years.
Guenter Knauf [Mon, 4 Feb 2013 03:47:26 +0000 (04:47 +0100)]
configure: update the copyright years for the output.
Steve Holme [Sun, 3 Feb 2013 23:58:03 +0000 (23:58 +0000)]
imap: Fixed no known authentication mechanism when fallback is required
Fixed an issue where (lib)curl is compiled without support for a
supported challenge-response based SASL authentication mechanism, such
as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
mechanisms and (lib)curl doesn't fallback to Clear Text authentication.
Note: In order to fallback to Clear Text authentication properly this
fix adds support for the LOGINDISABLED server capability.
imap: Fixed no known authentication mechanism when fallback is required
Fixed an issue where (lib)curl is compiled without support for a
supported challenge-response based SASL authentication mechanism, such
as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
mechanisms and (lib)curl doesn't fallback to Clear Text authentication.
Note: In order to fallback to Clear Text authentication properly this
fix adds support for the LOGINDISABLED server capability.
Related bug: http://curl.haxx.se/mail/lib-2013-02/0004.html
Reported by: Stanislav Ivochkin
Steve Holme [Sun, 3 Feb 2013 21:43:08 +0000 (21:43 +0000)]
pop3: Fixed no known authentication mechanism when fallback is required
Fixed an issue where (lib)curl is compiled without support for a
supported challenge-response based SASL authentication mechanism, such
as CRAM-MD5 or NTLM, the server doesn't support the LOGIN or PLAIN
mechanisms and (lib)curl doesn't fallback to APOP or Clear Text
authentication.
Bug: http://curl.haxx.se/mail/lib-2013-02/0004.html
Reported by: Stanislav Ivochkin
Daniel Stenberg [Thu, 31 Jan 2013 23:17:07 +0000 (00:17 +0100)]
singleipconnect: simplify and clean up
Remove timeout argument that's never used.
Make the actual connection get detected on a single spot to reduce code
duplication.
Store the IPv6 state already when the connection is attempted.
Daniel Stenberg [Thu, 31 Jan 2013 23:43:20 +0000 (00:43 +0100)]
Curl_perfom: removed
Curl_perfom is no longer used anywhere since the always-multi commit
c43127414d89ccb9, and some related functions were used only from within
Curl_perfom.
Guenter Knauf [Wed, 30 Jan 2013 17:14:00 +0000 (18:14 +0100)]
Updated date.
Yang Tse [Wed, 30 Jan 2013 15:57:43 +0000 (16:57 +0100)]
zz40-xc-ovr.m4: fix 'wc' detection - follow-up 2
- Fix a pair of single quotes to double quotes.
URL: http://curl.haxx.se/mail/lib-2013-01/0355.html
Reported by: Tor Arntsen
Yang Tse [Wed, 30 Jan 2013 14:46:46 +0000 (15:46 +0100)]
zz40-xc-ovr.m4: fix 'wc' detection - follow-up
- Take into account that 'wc' may return leading spaces and/or tabs.
- Set initial IFS to space, tab and newline.
Yang Tse [Wed, 30 Jan 2013 11:19:23 +0000 (12:19 +0100)]
zz40-xc-ovr.m4: fix 'wc' detection
- Take into account that 'wc' may return leading spaces.
- Set internationalization behavior variables.
Tor Arntsen analyzed and reported the issue.
URL: http://curl.haxx.se/mail/lib-2013-01/0351.html
Yang Tse [Tue, 29 Jan 2013 14:55:41 +0000 (15:55 +0100)]
zz40-xc-ovr.m4: check another three basic utilities
Guenter Knauf [Tue, 29 Jan 2013 12:04:41 +0000 (13:04 +0100)]
Fixed debug.c to work again unchanged.
Added CURLOPT_FOLLOWLOCATION since example.com is now redirected.
Nick Zitzmann [Tue, 29 Jan 2013 02:34:35 +0000 (19:34 -0700)]
darwinssl: Fix bug where packets were sometimes transmitted twice
There was a bug where, if SSLWrite() returned errSSLWouldBlock but did
succeed in transmitting at least something, then we'd incorrectly
resend the packet. Now we never take errSSLWouldBlock as a sign that
nothing was transferred to/from the server.
Bug: http://curl.haxx.se/mail/lib-2013-01/0295.html
Reported by: Bruno de Carvalho
Nick Zitzmann [Thu, 24 Jan 2013 00:41:23 +0000 (17:41 -0700)]
FAQ: "Darwinssl" is AKA "Secure Transport" and supports NTLM
Daniel Stenberg [Mon, 28 Jan 2013 21:32:11 +0000 (22:32 +0100)]
RELEASE-NOTES: only list Nick once
Even though he's a fine dude, once is enough for this time!
Yang Tse [Mon, 28 Jan 2013 00:08:15 +0000 (01:08 +0100)]
zz40-xc-ovr.m4: 1.0 interface stabilization
- Stabilization results in 4 public interface m4 macros:
XC_CONFIGURE_PREAMBLE
XC_CONFIGURE_PREAMBLE_VER_MAJOR
XC_CONFIGURE_PREAMBLE_VER_MINOR
XC_CHECK_PATH_SEPARATOR
- Avoid one level of internal indirection
- Update comments
- Drop XC_OVR_ZZ40 macro
Kamil Dudka [Mon, 28 Jan 2013 13:22:48 +0000 (14:22 +0100)]
docs: fix typos in man pages
Reported by: Jiri Jaburek
Bug: https://bugzilla.redhat.com/896544
Kamil Dudka [Mon, 28 Jan 2013 13:07:32 +0000 (14:07 +0100)]
docs: update the comments about loading CA certs with NSS
Bug: https://bugzilla.redhat.com/696783
Guenter Knauf [Mon, 28 Jan 2013 00:25:39 +0000 (01:25 +0100)]
Updated dependency libs.
Guenter Knauf [Sun, 27 Jan 2013 23:42:16 +0000 (00:42 +0100)]
Fixed simple.c to work again unchanged.
Added CURLOPT_FOLLOWLOCATION since example.com is now redirected.
Steve Holme [Sun, 27 Jan 2013 10:44:21 +0000 (10:44 +0000)]
smtp.c: Fixed unnecessary state change if starttls fails
The state machine should only be changed to SMTP_STARTTLS when the
STARTTLS command has been successfully sent to the server.
Steve Holme [Sun, 27 Jan 2013 10:42:32 +0000 (10:42 +0000)]
pop3.c: Fixed unnecessary state change if starttls fails
The state machine should only be changed to POP3_STARTTLS when the
STLS command has been successfully sent to the server.
Steve Holme [Sun, 27 Jan 2013 10:41:10 +0000 (10:41 +0000)]
imap.c: Fixed unnecessary state change if starttls fails
The state machine should only be changed to IMAP_STARTTLS when the
STARTTLS command has been successfully sent to the server.
Steve Holme [Sat, 26 Jan 2013 15:06:44 +0000 (15:06 +0000)]
email: Updated comment regarding ssldone usage
Updated the ssldone comment as multi mode is always used internally now.
Yang Tse [Sat, 26 Jan 2013 02:49:32 +0000 (03:49 +0100)]
zz40-xc-ovr.m4: emit witness message in configure BODY
This avoids witness message in output when running configure --help,
while sending the message to config.log for other configure runs.
Steve Holme [Fri, 25 Jan 2013 22:14:21 +0000 (22:14 +0000)]
smtp.c: Added comments to smtp_endofresp()
Minor code tidy up to add comments similar to those used in the pop3
and imap end of resp functions, in order to assist anyone reading the
code and highlight the similarities between each of these protocols.
Yang Tse [Fri, 25 Jan 2013 15:34:13 +0000 (16:34 +0100)]
zz40-xc-ovr.m4: truly do version conditional overriding
- version conditional overriding
- catch unexpanded XC macros
- fix double words in comments
Yang Tse [Fri, 25 Jan 2013 13:15:08 +0000 (14:15 +0100)]
zz40-xc-ovr.m4: fix variable assignment of subshell output bashism
Tor Arntsen analyzed and reported the issue.
URL: http://curl.haxx.se/mail/lib-2013-01/0306.html
Yang Tse [Fri, 25 Jan 2013 11:19:45 +0000 (12:19 +0100)]
zz40-xc-ovr.m4: reinstate strict AC_REQUIRE macro dependencies
Yang Tse [Fri, 25 Jan 2013 00:47:29 +0000 (01:47 +0100)]
zz40-xc-ovr.m4: avoid double single-quote usage
Yang Tse [Thu, 24 Jan 2013 23:44:11 +0000 (00:44 +0100)]
zz40-xc-ovr.m4: parentheses balancing of 'case' statements
m4 quadrigraph shell comment technique allows proper autoconf
parentheses balancing in shell 'case' statements. The presence
of unbalanced parentheses may otherwise trigger expansion bugs.
Steve Holme [Thu, 24 Jan 2013 23:41:57 +0000 (23:41 +0000)]
smtp.c: Corrected RFC references
The most recent version of the SMTP RFC is RFC5321 and not RFC2821 as
previously documented.
Added RFC1870 and re-ordered list numerically.
Steve Holme [Thu, 24 Jan 2013 20:27:43 +0000 (20:27 +0000)]
smtp.c: Fixed failure detection during TLS upgrade
smtp_state_upgrade_tls() would attempt to incorrectly complete the
upgrade to smtps and start the EHLO command if
Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
was set to TRUE. This would only happen when a non-blocking API hadn't
been provided by the SSL implementation and curlssl_connect() was
called underneath.
Steve Holme [Thu, 24 Jan 2013 20:24:39 +0000 (20:24 +0000)]
pop3.c: Fixed failure detection during TLS upgrade
pop3_state_upgrade_tls() would attempt to incorrectly complete the
upgrade to pop3s and start the CAPA command if
Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
was set to TRUE. This would only happen when a non-blocking API hadn't
been provided by the SSL implementation and curlssl_connect() was
called underneath.
Steve Holme [Thu, 24 Jan 2013 20:22:20 +0000 (20:22 +0000)]
imap.c: Fixed failure detection during TLS upgrade
imap_state_upgrade_tls() would attempt to incorrectly complete the
upgrade to imaps and start the CAPABILITY command if
Curl_ssl_connect_nonblocking() returned a failure code and if ssldone
was set to TRUE. This would only happen when a non-blocking API hadn't
been provided by the SSL implementation and curlssl_connect() was
called underneath.
Yang Tse [Thu, 24 Jan 2013 17:39:56 +0000 (18:39 +0100)]
zz40-xc-ovr.m4: internals overhauling
- Update comments
- Execute commands in subshells
- Faster path separator check
- Fix missing 'test' command
- Rename private macros
- Minimize AC_REQUIRE usage
Steve Holme [Wed, 23 Jan 2013 21:59:56 +0000 (21:59 +0000)]
email: Removed unnecessary return statements
Small tidy up to remove unnecessary return statements prior to the next
fix.
Yang Tse [Wed, 23 Jan 2013 20:52:36 +0000 (21:52 +0100)]
zz40-xc-ovr.m4: redirect errors and warnings to stderr
Yang Tse [Wed, 23 Jan 2013 17:16:52 +0000 (18:16 +0100)]
zz40-xc-ovr.m4: AC_REQUIRE also XC_CONFIGURE_PREAMBLE success message
Yang Tse [Wed, 23 Jan 2013 15:06:35 +0000 (16:06 +0100)]
zz60-xc-ovr.m4: tighten XC_OVR_ZZ60 macro placement requirements
Yang Tse [Wed, 23 Jan 2013 12:54:08 +0000 (13:54 +0100)]
configure: use XC_CONFIGURE_PREAMBLE early checks
Some basic checks we make were placed early enough in generated
configure script when using autoconf 2.5X versions. Newer autoconf
versions expand these checks much further into the configure script,
rendering them useless. Using XC_CONFIGURE_PREAMBLE fixes placement
of early intended checks across all our autoconf supported versions.
Yang Tse [Wed, 23 Jan 2013 12:51:03 +0000 (13:51 +0100)]
zz40-xc-ovr.m4: provide XC_CONFIGURE_PREAMBLE macro
Daniel Stenberg [Wed, 23 Jan 2013 12:17:36 +0000 (13:17 +0100)]
FAQ: update the SSL lib list and wording in question 2.2
Steve Holme [Tue, 22 Jan 2013 22:02:30 +0000 (22:02 +0000)]
curl_sasl.c: Corrected references to RFC
The most recent version of the RFC is RFC4422 and not RFC2222 as
previously documented.
Steve Holme [Tue, 22 Jan 2013 18:37:12 +0000 (18:37 +0000)]
email: Corrected references to SASL RFC
The most recent version of the SASL RFC is RFC4422 and not RFC2222 as
previously documented.
Ulion [Mon, 21 Jan 2013 22:20:09 +0000 (23:20 +0100)]
formpost: support quotes, commas and semicolon in file names
- document the double-quote and backslash need be escaped if quoting.
- libcurl formdata escape double-quote in filename by backslash.
- curl formparse can parse filename both contains '"' and ',' or ';'.
- curl now can uploading file with ',' or ';' in filename.
Bug: http://curl.haxx.se/bug/view.cgi?id=1171
Daniel Stenberg [Tue, 22 Jan 2013 13:39:50 +0000 (14:39 +0100)]
memanalyze.pl: handle fopen() of file names with quotes
Yang Tse [Mon, 21 Jan 2013 20:21:30 +0000 (21:21 +0100)]
xc-cc-check.m4: re-evaluate exporting and AC_SUBST'ing vars
Notes:
When running a configure script that has nested packages (for example
libcurl's configure with --enable-ares and c-ares sources embedded in
curl tree) and AC_CONFIG_SUBDIRS([nested-subdir]) machinery is used to
automatically run the nested configure script from within the parent
configure script, it happens that the nested _shell_ script will
inherit shell variables exported from the parent _shell_ script.
If for example parent configure script sets and exports LDFLAGS and LIBS
variables with proper values in order to link either a parent library or
program with a library which will be configured and built by a nested
package; It will happen that when the nested configure script runs, the
nested library does not exist yet and _any_ link-test done in the nested
configure will fail, such as those that autoconf macros perform in order
to detect existing compiler and its characteristics, the result is that
the nested configure script will fail with errors such as:
configure: error: C compiler cannot create executables
For now, we no longer export variables previously exported here.
On the other hand, AC_SUBST'ing them is appropriate and even with nested
packages each package's config.status gets its own package values.
So we reinstate AC_SUBST'ing previously AC_SUBST'ed variables.
Daniel Stenberg [Mon, 21 Jan 2013 13:33:12 +0000 (14:33 +0100)]
FAQ: 3.22 curl -X gives me HTTP problems
Yang Tse [Mon, 21 Jan 2013 04:20:29 +0000 (05:20 +0100)]
xc-cc-check.m4: avoid recursive package automake'ing breakage
Yang Tse [Sun, 20 Jan 2013 20:06:49 +0000 (21:06 +0100)]
xc-cc-check.m4: mark earlier variables that are to be exported
Yang Tse [Sun, 20 Jan 2013 19:23:20 +0000 (20:23 +0100)]
configure: autotools compatibility fixes - step I
Fix proper macro expansion order across autotools versions for
C compiler and preprocessor program checks.
Steve Holme [Sun, 20 Jan 2013 11:09:53 +0000 (11:09 +0000)]
pop3.c: Fixed conditional compilation of the apop response function
Extended the fix from commit
8b15c84ea91e to additionally exclude
pop3_state_apop_resp() if the CURL_DISABLE_CRYPTO_AUTH flag is
defined.