Daniel Stenberg [Tue, 9 Aug 2011 12:23:35 +0000 (14:23 +0200)]
TODO-RELEASE: issue #289 is fixed
289 - bug 3349227 "secure attribute in cookie does not work with equals sign"
Daniel Stenberg [Tue, 9 Aug 2011 12:02:05 +0000 (14:02 +0200)]
cookie parser: handle 'secure='
There are two keywords in cookie headers that don't follow the regular
name=value style: secure and httponly. Still we must support that they
are written like 'secure=' and then treat them as if they were written
'secure'. Test case 31 was much extended by Rob Ward to test this.
Bug: http://curl.haxx.se/bug/view.cgi?id=3349227
Reported by: "gnombat"
Daniel Stenberg [Tue, 9 Aug 2011 08:46:02 +0000 (10:46 +0200)]
curl.h: mark deprecated CURLOPT_ options on same line
This is to aid easier machine parsing and to make sure nobody who reads
these header lines can miss the info.
Daniel Stenberg [Tue, 9 Aug 2011 07:32:53 +0000 (09:32 +0200)]
RELEASE-NOTES: recounted and updated some numbers
Daniel Stenberg [Tue, 9 Aug 2011 07:12:51 +0000 (09:12 +0200)]
proxy protocol docs: rephrased and updated
Daniel Stenberg [Mon, 8 Aug 2011 17:40:45 +0000 (19:40 +0200)]
RELEASE-NOTES: synced with
45d883d88df7
Mention 5 bugixes and 1 change more
Daniel Stenberg [Mon, 8 Aug 2011 08:21:03 +0000 (10:21 +0200)]
CURLFORM_BUFFER: insert filename as documented
A regression where CURLFORM_BUFFER stopped to properly insert the file
name part in the formpart. Bug introduced in commit
f851f768578dc096.
Added CURLFORM_BUFFER use to test 554 to verify this.
Bug: http://curl.haxx.se/mail/lib-2011-07/0176.html
Reported by: Henry Ludemann
Yang Tse [Mon, 8 Aug 2011 16:25:01 +0000 (18:25 +0200)]
curl-compilers.m4: serial number bump
Yang Tse [Mon, 8 Aug 2011 15:50:16 +0000 (17:50 +0200)]
curl-compilers.m4: CURL_CONVERT_INCLUDE_TO_ISYSTEM adjustments:
Add CURL_CHECK_COMPILER as a requirement.
Ensure macro does nothing unless GNU_C or CLANG compiler is used.
This should allow usage of this macro in unforeseen placements.
Daniel Stenberg [Mon, 8 Aug 2011 09:10:17 +0000 (11:10 +0200)]
SOCKS: fix the connect timeout
The connect timeout logic when using SOCKS was done wrong
Bug: http://curl.haxx.se/mail/lib-2011-07/0177.html
Reported by: "Spoon Man"
Daniel Stenberg [Mon, 8 Aug 2011 08:41:35 +0000 (10:41 +0200)]
ftp_doing: bail out on error properly
When a failure has been detected we must abort immdiately.
Bug: http://curl.haxx.se/mail/lib-2011-07/0177.html
Reported by: "Spoon Man"
Daniel Stenberg [Mon, 8 Aug 2011 08:13:09 +0000 (10:13 +0200)]
s/7.21.8/7.22.0
Daniel Stenberg [Mon, 8 Aug 2011 07:27:53 +0000 (09:27 +0200)]
version bump: next release is 7.22.0
Daniel Stenberg [Mon, 8 Aug 2011 07:25:59 +0000 (09:25 +0200)]
VERSIONS: clarify our versioning concept
Drop the pre-release part from this text as we don't use that in
practise since many years.
Update the phrasing to reflect our more strict interpretation:
http://curl.haxx.se/mail/lib-2011-08/0064.html
Cristian Rodríguez [Wed, 3 Aug 2011 20:20:45 +0000 (22:20 +0200)]
OpenSSL: Use SSL_MODE_RELEASE_BUFFERS if available, reduces memory use
See also :
http://www.openssl.org/docs/ssl/SSL_CTX_set_mode.html
http://www.imperialviolet.org/2010/06/25/overclocking-ssl.html
Signed-off-by: Cristian Rodríguez <crrodriguez@opensuse.org>
Daniel Stenberg [Sun, 7 Aug 2011 20:54:37 +0000 (22:54 +0200)]
TODO-RELEASE: close issue #292
Fixed:
292 - bug 3385258 "Addendum to 3370895"
Basically brushing up commit
27b8814017a19
Daniel Stenberg [Sun, 7 Aug 2011 20:26:57 +0000 (22:26 +0200)]
Curl_pgrsStartNow: clear all bits except HIDE
Bug: http://curl.haxx.se/bug/view.cgi?id=3385258
Reported by: Ben Winslow
Daniel Stenberg [Sun, 7 Aug 2011 17:55:23 +0000 (19:55 +0200)]
readwrite_data: improved C-E decoding error message
Yang Tse [Sun, 7 Aug 2011 06:45:57 +0000 (08:45 +0200)]
BSD-style lwIP TCP/IP stack support - followup
lwIP library initialization.
Yang Tse [Sun, 7 Aug 2011 01:05:04 +0000 (03:05 +0200)]
NTLM single-sign on adjustments (IX)
Use swrite/sread instead of write/read to avoid SIGPIPE
Yang Tse [Sat, 6 Aug 2011 17:18:43 +0000 (19:18 +0200)]
config-win32.h: comments adjustments
Daniel Stenberg [Sat, 6 Aug 2011 13:24:48 +0000 (15:24 +0200)]
TODO-RELEASE: committed issue #304
304 - "Async-DNS-resolve-thread gets started even when a dotted IP is
provided" by Christian H<E4>gele
http://curl.haxx.se/mail/lib-2011-08/0009.html
Christian Hägele [Sat, 6 Aug 2011 13:21:42 +0000 (15:21 +0200)]
asyn-thread: check for dotted addresses before thread starts
Daniel Stenberg [Sat, 6 Aug 2011 10:17:49 +0000 (12:17 +0200)]
TODO-RELEASE: Add #307 two issues by "Spoon Man"
Yang Tse [Fri, 5 Aug 2011 19:24:59 +0000 (21:24 +0200)]
checksrc.pl: add quotes to var
Yang Tse [Fri, 5 Aug 2011 19:01:39 +0000 (21:01 +0200)]
keep a single copy of config-win32.h in version control repository - followup
Allow configure builds to generate src/config-win32.h
Skip checksrc on src/config-win32.h contents already checked at lib/config-win32.h
Allow multiple -W in checksrc.pl
Yang Tse [Fri, 5 Aug 2011 14:32:20 +0000 (16:32 +0200)]
BSD-style lwIP TCP/IP stack support - docs/INSTALL blurb
Yang Tse [Fri, 5 Aug 2011 13:42:05 +0000 (15:42 +0200)]
BSD-style lwIP TCP/IP stack support - followup
Yang Tse [Fri, 5 Aug 2011 11:24:02 +0000 (13:24 +0200)]
git ignore src/config-win32.h
Yang Tse [Fri, 5 Aug 2011 11:20:22 +0000 (13:20 +0200)]
keep a single copy of config-win32.h in version control repository.
maketgz and buildconf.bat updated to reflect this.
Daniel Stenberg [Thu, 4 Aug 2011 23:12:24 +0000 (01:12 +0200)]
RELEASE-NOTES: synced with
afe88d85f40e1
Daniel Stenberg [Thu, 4 Aug 2011 22:46:59 +0000 (00:46 +0200)]
test710: verify that --proxy socks5://hostname works
Daniel Stenberg [Thu, 4 Aug 2011 22:44:40 +0000 (00:44 +0200)]
create_conn: mark non-HTTP proxies accordingly
A proxy could be marked 'httpproxy' wrongly before if set with an
environment variable or with the CURLOPT_PROXY option with a socks*://
prefix or similar.
Added test 710 to verify
Bug: http://curl.haxx.se/mail/lib-2011-07/0194.html
Daniel Stenberg [Thu, 4 Aug 2011 22:28:03 +0000 (00:28 +0200)]
test709: HTTP GET via SOCKS5 set in environment
Daniel Stenberg [Thu, 4 Aug 2011 21:27:05 +0000 (23:27 +0200)]
TODO-RELEASE: issue #293 is done
Fixed:
293 - from http://bugzilla.redhat.com/723075 "curl segfaults"
Daniel Stenberg [Thu, 4 Aug 2011 21:22:48 +0000 (23:22 +0200)]
segfault fixed
When using both -J and a single -O with multiple URLs, a missing init
could cause badness.
Bug: http://curl.haxx.se/mail/lib-2011-07/0126.html and
http://bugzilla.redhat.com/723075
Reported by: Paul Howarth and Garrett Holmstrom
Daniel Stenberg [Thu, 4 Aug 2011 21:20:14 +0000 (23:20 +0200)]
test1313: test content-disposition with uneven quotes
Daniel Stenberg [Thu, 4 Aug 2011 21:14:12 +0000 (23:14 +0200)]
parse_filename: deal with escaped quotes
Yang Tse [Thu, 4 Aug 2011 19:27:29 +0000 (21:27 +0200)]
BSD-style lwIP TCP/IP stack support:
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!
Yang Tse [Thu, 4 Aug 2011 18:47:31 +0000 (20:47 +0200)]
curl.h: untangle a preprocessor block, removing duplicate sys/types.h inclusion
Daniel Stenberg [Thu, 4 Aug 2011 15:51:08 +0000 (17:51 +0200)]
TODO-RELEASE: issue #290 fixed
Closed this entry:
290 - bug 3375603 "curl has problem with remote names containing ';'"
Daniel Stenberg [Thu, 4 Aug 2011 15:48:45 +0000 (17:48 +0200)]
-J: support ';' in quoted file names
Content-disposition headers can provide file names with semicolons which
previously would be cut off at that point.
Added test case 1311 and 1312 to verify -J.
Bug: http://curl.haxx.se/bug/view.cgi?id=3375603
Reported by: Peter Hjalmarsson
Daniel Stenberg [Thu, 4 Aug 2011 15:36:31 +0000 (17:36 +0200)]
getpart.pm: when no part match, return blank when section ends
Daniel Stenberg [Thu, 4 Aug 2011 15:36:00 +0000 (17:36 +0200)]
runtests.pl: support option=no-include
Daniel Stenberg [Thu, 4 Aug 2011 09:11:03 +0000 (11:11 +0200)]
TODO-RELESE: #306 - SSL Sessions shared
Daniel Stenberg [Wed, 3 Aug 2011 22:22:04 +0000 (00:22 +0200)]
TODO-RELEASE: updated with current issues
Kamil Dudka [Wed, 3 Aug 2011 16:00:07 +0000 (18:00 +0200)]
curl_gssapi: add a missing include of sendf.h
... to avoid build failure when GSS_C_DELEG_POLICY_FLAG is not defined.
Reported by: Paul Howarth
Kamil Dudka [Mon, 25 Jul 2011 09:49:26 +0000 (11:49 +0200)]
curl_gssapi: refine the handling of CURLOPT_GSSAPI_DELEGATION
Suggested by Richard Silverman.
Adam Tkac [Tue, 19 Jul 2011 17:10:43 +0000 (19:10 +0200)]
Add new CURLOPT_GSSAPI_DELEGATION option.
Curl_gss_init_sec_context got new parameter - SessionHandle.
Signed-off-by: Adam Tkac <atkac@redhat.com>
Yang Tse [Sun, 31 Jul 2011 20:36:54 +0000 (22:36 +0200)]
configure: add check for <sys/wait.h>
Yang Tse [Sun, 31 Jul 2011 18:44:41 +0000 (20:44 +0200)]
NTLM single-sign on adjustments (VIII)
Use preprocessor symbols WINBIND_NTLM_AUTH_ENABLED and WINBIND_NTLM_AUTH_FILE
for Samba's winbind daemon ntlm_auth helper code implementation and filename.
Retain preprocessor symbol USE_NTLM_SSO for NTLM single-sign-on feature
availability implementation independent.
For test harness, prefix NTLM_AUTH environment vars with CURL_
Refactor and rename configure option --with-ntlm-auth to --enable-wb-ntlm-auth[=FILE]
Dan Fandrich [Fri, 29 Jul 2011 16:32:32 +0000 (09:32 -0700)]
Renumbered test2005 to test1310
The 20xx range is for multiple sequential tests.
Yang Tse [Fri, 29 Jul 2011 18:29:48 +0000 (20:29 +0200)]
curl-functions.m4 serial # bump
Yang Tse [Fri, 29 Jul 2011 18:24:37 +0000 (20:24 +0200)]
Revert "configure: additional flag checks for fcntl() socket() and socketpair()"
This reverts commit
bc6e6a465ad0b9f9757c4385698fe5f255dd125b.
Yang Tse [Fri, 29 Jul 2011 16:28:04 +0000 (18:28 +0200)]
configure: additional flag checks for fcntl() socket() and socketpair()
Yang Tse [Fri, 29 Jul 2011 14:27:15 +0000 (16:27 +0200)]
NTLM single-sign on adjustments (VII)
Initialize variables when connectdata object is created.
Yang Tse [Fri, 29 Jul 2011 11:25:52 +0000 (13:25 +0200)]
socketpair() usage tracking to allow fd leak detection
Yang Tse [Fri, 29 Jul 2011 11:21:30 +0000 (13:21 +0200)]
fix compiler warning
Dan Fandrich [Thu, 28 Jul 2011 21:03:07 +0000 (14:03 -0700)]
Avoid a "shadows global declaration" warning on old MIT Kerberos
Defining NCOMPAT eliminates the backwards-compatibility macros
that are the source of the problem and which we don't need,
anyway.
Yang Tse [Thu, 28 Jul 2011 20:47:42 +0000 (22:47 +0200)]
NTLM single-sign on adjustments (VI)
Fix compiler warning
Dan Fandrich [Thu, 28 Jul 2011 19:27:55 +0000 (12:27 -0700)]
Give the NTLM SSO helper a moment to cleanly shut down if needed
Dan Fandrich [Thu, 28 Jul 2011 19:41:44 +0000 (12:41 -0700)]
Removed an extraneous \n that violated the SSO daemon protocol
This caused fake_ntlm to abort due to an invalid command
causing sporadic test 2005 failures.
Yang Tse [Thu, 28 Jul 2011 19:12:41 +0000 (21:12 +0200)]
NTLM single-sign on adjustments (V)
Enhance test harness fake_ntlm logging upon invalid input.
Dan Fandrich [Thu, 28 Jul 2011 01:07:02 +0000 (18:07 -0700)]
Fixed a couple of memory leaks in NTLM SSO support
Yang Tse [Wed, 27 Jul 2011 18:10:02 +0000 (20:10 +0200)]
NTLM single-sign on adjustments (IV)
Fix compiler warning
Yang Tse [Wed, 27 Jul 2011 17:12:06 +0000 (19:12 +0200)]
NTLM single-sign on adjustments (III)
Provide some error tracing and fix execl() calling.
Yang Tse [Wed, 27 Jul 2011 17:04:55 +0000 (19:04 +0200)]
NTLM single-sign on adjustments (II)
Ensure test harness fake_ntlm main function can properly handle arguments.
Yang Tse [Wed, 27 Jul 2011 16:58:21 +0000 (18:58 +0200)]
NTLM single-sign on adjustments (I)
Use fake_ntlm absolute filename in NTLM_AUTH environment variable for test
2005 definition.
Dan Fandrich [Tue, 26 Jul 2011 19:47:04 +0000 (12:47 -0700)]
Fixed test 2005 to work in out-of-tree builds
Also, set the test number in the test data file so fake_ntlm can
be reused in future tests.
Yang Tse [Tue, 26 Jul 2011 19:36:35 +0000 (21:36 +0200)]
fix compiler warning
Yang Tse [Tue, 26 Jul 2011 17:42:16 +0000 (19:42 +0200)]
fix compiler warning
Yang Tse [Tue, 26 Jul 2011 15:23:27 +0000 (17:23 +0200)]
stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h
Yang Tse [Mon, 25 Jul 2011 03:30:14 +0000 (05:30 +0200)]
WIN32 io.h and fcntl.h inclusion done in setup_once.h
Yang Tse [Mon, 25 Jul 2011 02:08:08 +0000 (04:08 +0200)]
time.h and sys/time.h inclusion conditionally done in setup_once.h
Yang Tse [Mon, 25 Jul 2011 01:10:24 +0000 (03:10 +0200)]
errno.h inclusion conditionally done in setup_once.h - followup
Yang Tse [Sun, 24 Jul 2011 02:39:43 +0000 (04:39 +0200)]
errno.h inclusion conditionally done in setup_once.h
Ben Winslow [Fri, 22 Jul 2011 20:50:58 +0000 (22:50 +0200)]
progress: reset flags at transfer start
When an easy handle is used to download an URI which has no
Content-Length header (or equivalent) after downloading an URI which
does, the value from the previous transfer is reused and returned by
CURLINFO_CONTENT_LENGTH_DOWNLOAD. This is because the progress flags
(used to determine whether such a header was received) are not reset
between transfers.
Bug: http://curl.haxx.se/bug/view.cgi?id=3370895
Daniel Stenberg [Sun, 17 Jul 2011 21:47:59 +0000 (23:47 +0200)]
RELEASE-NOTES: HTTP error handling on request body send
Daniel Stenberg [Mon, 11 Jul 2011 21:24:45 +0000 (23:24 +0200)]
http error response: stop sending when error is received
When libcurl has said to the server that there's a POST or PUT coming
(with a content-length and all) it has to either deliver that amount of
data or it needs to close the connection before trying a second request.
Adds test case 1129, 1130 and 1131
The bug report is about when used with 100-continue, but the change is
more generic.
Bug: http://curl.haxx.se/mail/lib-2011-06/0191.html
Reported by: Steven Parkes
Michael Mueller [Tue, 19 Jul 2011 21:54:21 +0000 (23:54 +0200)]
sso_ntlm_initiate: unassigned variable
Bug: http://curl.haxx.se/mail/lib-2011-07/0109.html
Daniel Stenberg [Tue, 19 Jul 2011 21:50:34 +0000 (23:50 +0200)]
test2005: require a debug build
Daniel Stenberg [Tue, 19 Jul 2011 21:49:40 +0000 (23:49 +0200)]
runtests: add 'debug' as a feature a test can require
Daniel Stenberg [Tue, 19 Jul 2011 18:12:58 +0000 (20:12 +0200)]
configure: avoid "test -e"
"test -e" is POSIX but clearly was not supported by the SunOS sh
version, -f is supported and should be a decent equivalent
Bug: http://curl.haxx.se/bug/view.cgi?id=3371574
Daniel Stenberg [Mon, 18 Jul 2011 22:54:41 +0000 (00:54 +0200)]
symbols-in-versions: add NTLM_SSO symbols
Daniel Stenberg [Mon, 18 Jul 2011 21:49:31 +0000 (23:49 +0200)]
gitignore: ignore fake_ntlm
Mandy Wu [Mon, 18 Jul 2011 21:39:52 +0000 (23:39 +0200)]
test2005: verify ntlm single-signon
Mandy Wu [Mon, 18 Jul 2011 21:36:36 +0000 (23:36 +0200)]
NTLM single-sign on supported
With the use of the 'ntlm_auth' tool from the Samba project
Daniel Stenberg [Sat, 16 Jul 2011 22:39:23 +0000 (00:39 +0200)]
sws: don't enable pipelining for requests with content-length
Log texts also modified and some white space edits
Patrick Monnerat [Thu, 14 Jul 2011 15:07:35 +0000 (17:07 +0200)]
Fix OS400 scripts to make it compilable again.
Upgrade ILE/RPG binding to 7.21.7.
Update OS400 documentation accordingly.
Daniel Stenberg [Thu, 14 Jul 2011 09:03:03 +0000 (11:03 +0200)]
runtests: ignore the 'all_proxy' environment variable as well
We should probably also make sure that [protocol]_proxy for all possible
protocols libcurl supports are unset.
Julien Chaffraix [Thu, 14 Jul 2011 03:23:35 +0000 (20:23 -0700)]
curl_gssapi: Guard files with HAVE_GSSAPI.
Bug: http://curl.haxx.se/mail/lib-2011-07/0074.html
Reported and fix suggested by: Ben Greear
Daniel Stenberg [Wed, 13 Jul 2011 20:54:54 +0000 (22:54 +0200)]
gssapi: rename our files to avoid conflicts
gssapi.h is used as a header name by Heimdal-style GSSAPI so it would
conflict with a private header using that name, and while renaming the
header I figured we should name the .c file accordingly as well.
Bug: http://curl.haxx.se/mail/lib-2011-07/0071.html
Reported by: Ben Greear
Daniel Stenberg [Tue, 12 Jul 2011 21:24:52 +0000 (23:24 +0200)]
silence picky compilers: mark unused parameters
Modern gcc versions (4.6.X) get more picky by default and have started
to warn for unused parameters, but luckily gcc also allows us to mark
them as unused so that we can avoid the warnings.
Julien Chaffraix [Fri, 10 Jun 2011 15:26:34 +0000 (08:26 -0700)]
gssapi.c: Simplified the function.
Removed the parameters that were common to all our invocation.
Julien Chaffraix [Fri, 10 Jun 2011 15:16:06 +0000 (08:16 -0700)]
Added Curl_gss_init_sec_context.
This function wraps our calls to gss_init_sec_context so that we
have a unified way to talk to GSSAPI.
Julien Chaffraix [Mon, 27 Jun 2011 14:53:38 +0000 (07:53 -0700)]
http_negociate: Be consistent in gss_init_sec_context attributes.
This change makes this callsite match the rest of the code.
Daniel Stenberg [Mon, 4 Jul 2011 20:10:32 +0000 (22:10 +0200)]
code style: space between close paren and open brace
Daniel Stenberg [Mon, 4 Jul 2011 20:08:14 +0000 (22:08 +0200)]
checksrc: detect open brace without space
We use "if(condition) {" with a space between the close paren and the
open brace.
Daniel Stenberg [Mon, 4 Jul 2011 20:04:04 +0000 (22:04 +0200)]
polarssl.h: remove CVS leftover
Daniel Stenberg [Sun, 3 Jul 2011 20:13:18 +0000 (22:13 +0200)]
help output: more gnu like output
First, the -J/--remote-header-name was wrongly sorted in the --help
output as pointed out in bug report #3349271.
Then, I changed the format of the texts to follow the man page better in
that it now uses "-A, --long" intead of "-A/--long". I also made all
additional arguments get written as in "-A, --long FILENAME" instead of
the previous "<filename>" style.
Reported by: Herve Amblard
Bug: http://curl.haxx.se/bug/view.cgi?id=3349271