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.
Yang Tse [Sun, 20 Jan 2013 03:17:11 +0000 (04:17 +0100)]
Makefile.inc: fix $(top_srcdir) not allowed in _SOURCES variables
Daniel Stenberg [Sat, 19 Jan 2013 22:08:12 +0000 (23:08 +0100)]
formadd: reject trying to read a directory where a file is expected
Bug: http://curl.haxx.se/mail/archive-2013-01/0017.html
Reported by: Ulrich Doehner
Daniel Stenberg [Sat, 19 Jan 2013 21:58:56 +0000 (22:58 +0100)]
curl_easy_send.3: document return codes
Reported by: Craig Davison
Bug: http://curl.haxx.se/mail/lib-2013-01/0234.html
Daniel Stenberg [Sat, 19 Jan 2013 21:58:02 +0000 (22:58 +0100)]
curl_easy_recv.3: document return codes
Reported by: Craig Davison
Bug: http://curl.haxx.se/mail/lib-2013-01/0234.html
Steve Holme [Sat, 19 Jan 2013 09:49:17 +0000 (09:49 +0000)]
email: General code tidy up
Corrected some function argument definitions to maximize the 80
character line length limit and be in keeping with the curl
coding style.
Steve Holme [Fri, 18 Jan 2013 21:55:19 +0000 (21:55 +0000)]
pop3.c: Fixed a problem with pop3s connections not connecting properly
Fixed an issue where Curl_ssl_connect_nonblocking() wouldn't complete
correctly and the ssldone flag wouldn't be set to true for pop3s based
connections.
Bug introduced in commit:
4ffb8a6398ed.
Daniel Stenberg [Fri, 18 Jan 2013 14:57:11 +0000 (15:57 +0100)]
RELEASE-NOTES: add references to several bugfixes+changes
Steve Holme [Fri, 18 Jan 2013 12:15:37 +0000 (12:15 +0000)]
RELEASE-NOTES: Added missing imap fix
Added missing imap fix as per commit
709b3506cd9b.
Yang Tse [Fri, 18 Jan 2013 10:20:41 +0000 (11:20 +0100)]
runtests.pl: make VPATH builds find valgrind.supp
Daniel Stenberg [Thu, 17 Jan 2013 23:12:18 +0000 (00:12 +0100)]
RELEASE-NOTES: synced with
c43127414d89
Daniel Stenberg [Thu, 17 Jan 2013 11:59:23 +0000 (12:59 +0100)]
always-multi: always use non-blocking internals
Remove internal separated behavior of the easy vs multi intercace.
curl_easy_perform() is now using the multi interface itself.
Several minor multi interface quirks and bugs have been fixed in the
process.
Much help with debugging this has been provided by: Yang Tse
Yang Tse [Thu, 17 Jan 2013 16:07:19 +0000 (17:07 +0100)]
url.c: fix HTTP CONNECT tunnel establishment upon delayed response
Fixes initial proxy response being processed by the tunneled protocol
handler instead of the HTTP wrapper handler. This issue would trigger
upon delayed CONNECT response from the proxy.
Additionally fixes a multi interface code-path in which connections
would not time out properly.
This does not fix known bug #39.
URL: http://curl.haxx.se/mail/lib-2013-01/0191.html
Yves Arrouye [Mon, 14 Jan 2013 19:06:32 +0000 (20:06 +0100)]
--libcurl: fix for non-zero default options
If the default value for an option taking a long as its value is non
zero, and it is set by zero by a command line option, then that command
line option is not reflected in --libcurl's output. This is because line
520-521 of tool_setopt.c look like:
if(!lval)
skip = TRUE;
An example of a command-line option doing so is the -k option that sets
CURLOPT_SLL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST to 0L, when the
defaults are non-zero.
Daniel Stenberg [Tue, 15 Jan 2013 21:35:48 +0000 (22:35 +0100)]
FTP: reject illegal port numbers in EPSV 229 responses
Yang Tse [Tue, 15 Jan 2013 18:40:41 +0000 (19:40 +0100)]
commit
bc682cbd follow-up
Yang Tse [Tue, 15 Jan 2013 15:28:07 +0000 (16:28 +0100)]
build: use per-target '_CPPFLAGS' for those currently using default
Automake documents that doing this will make it choose a different name
for intermediate object files even when sharing source files across
targets of same Makefile.am.
Up to automake 1.13.1 target's intermediate object files were placed
in the build subdirectory of the target. We depended on this, probably
undocumented behavior, to achieve same behavior as if a per-target flag
had been specified when building targets that actually belong to
different Makefile.am files.
It seems automake 1.13.2 is going to break behavior mentioned above.
So, lets use a documented behavior in order to achieve same purpose,
across automake versions, no matter where automake wishes to place
intermediate object files.
Our build targets that already were using a per-target '_CFLAGS' or
'_CPPFLAGS' need no 'fixing', these were already 'fixed'. The only
Makefile.am or Makefile.in files in libcurl's source tree touched by
this 'fix' are tests/libtest/Makefile.inc and tests/unit/Makefile.inc.
Yang Tse [Tue, 15 Jan 2013 15:04:31 +0000 (16:04 +0100)]
tests/libtest/Makefile.inc: sort build targets
Yang Tse [Tue, 15 Jan 2013 11:36:08 +0000 (12:36 +0100)]
tests/Makefile.am: remove wildcard usage in EXTRA_DIST
Kamil Dudka [Tue, 15 Jan 2013 11:58:08 +0000 (12:58 +0100)]
nss: fix error messages for CURLE_SSL_{CACERT,CRL}_BADFILE
Do not use the error messages from NSS for errors not occurring in NSS.
Steve Holme [Mon, 14 Jan 2013 18:34:32 +0000 (18:34 +0000)]
TODO: Updated following IMAP SASL additions
Yang Tse [Mon, 14 Jan 2013 03:28:56 +0000 (04:28 +0100)]
configure: fix automake 1.13 compatibility
Tested with:
buildconf: autoconf version 2.69
buildconf: autom4te version 2.69
buildconf: autoheader version 2.69
buildconf: automake version 1.13.1
buildconf: aclocal version 1.13.1
buildconf: libtool version 2.4
buildconf: GNU m4 version 1.4.16
Daniel Stenberg [Sun, 13 Jan 2013 22:16:11 +0000 (23:16 +0100)]
BUGS: update bug tracker URL
... and refresh number of lines of code
Daniel Stenberg [Sat, 12 Jan 2013 21:33:38 +0000 (22:33 +0100)]
Curl_resolver_getsock: fix the function description comment
It referred to it by the wrong name and said it returned the wrong value.
Reported by: Gisle Vanem
Kamil Dudka [Fri, 11 Jan 2013 09:24:21 +0000 (10:24 +0100)]
nss: clear session cache if a client cert from file is used
This commit fixes a regression introduced in
052a08ff.
NSS caches certs/keys returned by the SSL_GetClientAuthDataHook callback
and if we connect second time to the same server, the cached cert/key
pair is used. If we use multiple client certificates for different
paths on the same server, we need to clear the session cache to force
NSS to call the hook again. The commit
052a08ff prevented the session
cache from being cleared if a client certificate from file was used.
The condition is now fixed to cover both cases: consssl->client_nickname
is not NULL if a client certificate from the NSS database is used and
connssl->obj_clicert is not NULL if a client certificate from file is
used.
Review by: Kai Engert
Yang Tse [Thu, 10 Jan 2013 23:03:37 +0000 (00:03 +0100)]
sockfilt.c: log file descriptor number on read/write error
Gisle Vanem [Thu, 10 Jan 2013 18:58:59 +0000 (19:58 +0100)]
packages/DOS/common.dj: remove COFF debug info generation
gcc on DOS hasn't really supported COFF-debug (-gcoff) on djgpp for a
long time.
"Sounds like the COFF debug info generation has bit-rotted in GCC.
Nothing new here, no other platform uses COFF AFAIK."
So lets drop it too.
URL: http://curl.haxx.se/mail/lib-2013-01/0130.html
Yang Tse [Wed, 9 Jan 2013 21:47:41 +0000 (22:47 +0100)]
curl: ignore SIGPIPE - compilation fix - follow-up
Yang Tse [Wed, 9 Jan 2013 21:19:03 +0000 (22:19 +0100)]
test servers: handle W32/W64 SIGBREAK with exit_signal_handler
Yang Tse [Wed, 9 Jan 2013 14:10:23 +0000 (15:10 +0100)]
test servers: fix errno, ERRNO and SOCKERRNO usage for W32/W64
Yang Tse [Wed, 9 Jan 2013 12:03:53 +0000 (13:03 +0100)]
sockfilt.c: fix some W64 compiler warnings
Nick Zitzmann [Mon, 7 Jan 2013 17:17:56 +0000 (10:17 -0700)]
docs: the --with-darwinssl option is available on Apple OSes
Yang Tse [Wed, 9 Jan 2013 00:30:08 +0000 (01:30 +0100)]
curl: ignore SIGPIPE - compilation fix
Yang Tse [Sun, 6 Jan 2013 18:06:49 +0000 (19:06 +0100)]
build: fix circular header inclusion with other packages
This commit renames lib/setup.h to lib/curl_setup.h and
renames lib/setup_once.h to lib/curl_setup_once.h.
Removes the need and usage of a header inclusion guard foreign
to libcurl. [1]
Removes the need and presence of an alarming notice we carried
in old setup_once.h [2]
----------------------------------------
1 - lib/setup_once.h used __SETUP_ONCE_H macro as header inclusion guard
up to commit
ec691ca3 which changed this to HEADER_CURL_SETUP_ONCE_H,
this single inclusion guard is enough to ensure that inclusion of
lib/setup_once.h done from lib/setup.h is only done once.
Additionally lib/setup.h has always used __SETUP_ONCE_H macro to
protect inclusion of setup_once.h even after commit
ec691ca3, this
was to avoid a circular header inclusion triggered when building a
c-ares enabled version with c-ares sources available which also has
a setup_once.h header. Commit
ec691ca3 exposes the real nature of
__SETUP_ONCE_H usage in lib/setup.h, it is a header inclusion guard
foreign to libcurl belonging to c-ares's setup_once.h
The renaming this commit does, fixes the circular header inclusion,
and as such removes the need and usage of a header inclusion guard
foreign to libcurl. Macro __SETUP_ONCE_H no longer used in libcurl.
2 - Due to the circular interdependency of old lib/setup_once.h and the
c-ares setup_once.h header, old file lib/setup_once.h has carried
back from 2006 up to now days an alarming and prominent notice about
the need of keeping libcurl's and c-ares's setup_once.h in sync.
Given that this commit fixes the circular interdependency, the need
and presence of mentioned notice is removed.
All mentioned interdependencies come back from now old days when
the c-ares project lived inside a curl subdirectory. This commit
removes last traces of such fact.
Daniel Stenberg [Tue, 8 Jan 2013 22:10:26 +0000 (23:10 +0100)]
curl: ignore SIGPIPE
This is a work-around for bug #1180 which is really libcurl's inability
to ignore SIGPIPE in a few cases. With this work-around at least curl
won't suffer from it!
Bug: http://curl.haxx.se/bug/view.cgi?id=1180
Reported by: Lluís Batlle i Rossell
Yang Tse [Tue, 8 Jan 2013 18:50:50 +0000 (19:50 +0100)]
sockfilt.c: fix some compiler warnings
Daniel Stenberg [Tue, 8 Jan 2013 18:02:08 +0000 (19:02 +0100)]
Revert "configure: update req to 2.59"
This reverts commit
7a6d8b1b1a8fcc184c36d6b6e741e32250b4bacb.
URL: http://curl.haxx.se/mail/lib-2013-01/0103.html
Steve Holme [Tue, 8 Jan 2013 11:31:48 +0000 (11:31 +0000)]
pop3: Added support for non-blocking SSL upgrade
Added support for asynchronous SSL upgrade when using the
multi-interface.
Daniel Stenberg [Tue, 8 Jan 2013 10:46:50 +0000 (11:46 +0100)]
configure: update req to 2.59
I ran the 2.59 version of autoupdate that updates obsoleted configure.ac
constructs to the 2.59 standard. With a little hands-on fiddling I
prevented it from ruining the quoting in AS_HELP_STRING() uses.
I subsequently also bumped the required autoconf version to 2.59
(released in December 2003) as I don't have an older autoconf version
around to test with and I can't be bothered to install one either...
Inspired by: Björn Stenberg
Related blog post: http://cazfi.livejournal.com/195108.html
Steve Holme [Mon, 7 Jan 2013 18:07:04 +0000 (18:07 +0000)]
imap.c: Small tidy up to add missing comment
Steve Holme [Mon, 7 Jan 2013 11:01:05 +0000 (11:01 +0000)]
imap: Added support for sasl digest-md5 authentication
Steve Holme [Mon, 7 Jan 2013 07:35:49 +0000 (07:35 +0000)]
imap: Added support for sasl cram-md5 authentication
Marc Hoersken [Mon, 7 Jan 2013 06:47:54 +0000 (07:47 +0100)]
tests/server/sockfilt.c: Fixed integer comparison warning
Marc Hoersken [Mon, 7 Jan 2013 06:34:32 +0000 (07:34 +0100)]
tests/server/sockfilt.c: Include required Win32 headers