platform/upstream/curl.git
13 years agocurl_gssapi: refine the handling of CURLOPT_GSSAPI_DELEGATION
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.

13 years agoAdd new CURLOPT_GSSAPI_DELEGATION option.
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>
13 years agoconfigure: add check for <sys/wait.h>
Yang Tse [Sun, 31 Jul 2011 20:36:54 +0000 (22:36 +0200)]
configure: add check for <sys/wait.h>

13 years agoNTLM single-sign on adjustments (VIII)
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]

13 years agoRenumbered test2005 to test1310
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.

13 years agocurl-functions.m4 serial # bump
Yang Tse [Fri, 29 Jul 2011 18:29:48 +0000 (20:29 +0200)]
curl-functions.m4 serial # bump

13 years agoRevert "configure: additional flag checks for fcntl() socket() and socketpair()"
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.

13 years agoconfigure: additional flag checks for fcntl() socket() and socketpair()
Yang Tse [Fri, 29 Jul 2011 16:28:04 +0000 (18:28 +0200)]
configure: additional flag checks for fcntl() socket() and socketpair()

13 years agoNTLM single-sign on adjustments (VII)
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.

13 years agosocketpair() usage tracking to allow fd leak detection
Yang Tse [Fri, 29 Jul 2011 11:25:52 +0000 (13:25 +0200)]
socketpair() usage tracking to allow fd leak detection

13 years agofix compiler warning
Yang Tse [Fri, 29 Jul 2011 11:21:30 +0000 (13:21 +0200)]
fix compiler warning

13 years agoAvoid a "shadows global declaration" warning on old MIT Kerberos
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.

13 years agoNTLM single-sign on adjustments (VI)
Yang Tse [Thu, 28 Jul 2011 20:47:42 +0000 (22:47 +0200)]
NTLM single-sign on adjustments (VI)

Fix compiler warning

13 years agoGive the NTLM SSO helper a moment to cleanly shut down if needed
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

13 years agoRemoved an extraneous \n that violated the SSO daemon protocol
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.

13 years agoNTLM single-sign on adjustments (V)
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.

13 years agoFixed a couple of memory leaks in NTLM SSO support
Dan Fandrich [Thu, 28 Jul 2011 01:07:02 +0000 (18:07 -0700)]
Fixed a couple of memory leaks in NTLM SSO support

13 years agoNTLM single-sign on adjustments (IV)
Yang Tse [Wed, 27 Jul 2011 18:10:02 +0000 (20:10 +0200)]
NTLM single-sign on adjustments (IV)

Fix compiler warning

13 years agoNTLM single-sign on adjustments (III)
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.

13 years agoNTLM single-sign on adjustments (II)
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.

13 years agoNTLM single-sign on adjustments (I)
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.

13 years agoFixed test 2005 to work in out-of-tree builds
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.

13 years agofix compiler warning
Yang Tse [Tue, 26 Jul 2011 19:36:35 +0000 (21:36 +0200)]
fix compiler warning

13 years agofix compiler warning
Yang Tse [Tue, 26 Jul 2011 17:42:16 +0000 (19:42 +0200)]
fix compiler warning

13 years agostdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h
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

13 years agoWIN32 io.h and fcntl.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

13 years agotime.h and sys/time.h inclusion conditionally 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

13 years agoerrno.h inclusion conditionally done in setup_once.h - followup
Yang Tse [Mon, 25 Jul 2011 01:10:24 +0000 (03:10 +0200)]
errno.h inclusion conditionally done in setup_once.h - followup

13 years agoerrno.h inclusion conditionally done in setup_once.h
Yang Tse [Sun, 24 Jul 2011 02:39:43 +0000 (04:39 +0200)]
errno.h inclusion conditionally done in setup_once.h

13 years agoprogress: reset flags at transfer start
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

13 years agoRELEASE-NOTES: HTTP error handling on request body send
Daniel Stenberg [Sun, 17 Jul 2011 21:47:59 +0000 (23:47 +0200)]
RELEASE-NOTES: HTTP error handling on request body send

13 years agohttp error response: stop sending when error is received
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

13 years agosso_ntlm_initiate: unassigned variable
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

13 years agotest2005: require a debug build
Daniel Stenberg [Tue, 19 Jul 2011 21:50:34 +0000 (23:50 +0200)]
test2005: require a debug build

13 years agoruntests: add 'debug' as a feature a test can require
Daniel Stenberg [Tue, 19 Jul 2011 21:49:40 +0000 (23:49 +0200)]
runtests: add 'debug' as a feature a test can require

13 years agoconfigure: avoid "test -e"
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

13 years agosymbols-in-versions: add NTLM_SSO symbols
Daniel Stenberg [Mon, 18 Jul 2011 22:54:41 +0000 (00:54 +0200)]
symbols-in-versions: add NTLM_SSO symbols

13 years agogitignore: ignore fake_ntlm
Daniel Stenberg [Mon, 18 Jul 2011 21:49:31 +0000 (23:49 +0200)]
gitignore: ignore fake_ntlm

13 years agotest2005: verify ntlm single-signon
Mandy Wu [Mon, 18 Jul 2011 21:39:52 +0000 (23:39 +0200)]
test2005: verify ntlm single-signon

13 years agoNTLM single-sign on supported
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

13 years agosws: don't enable pipelining for requests with content-length
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

13 years agoFix OS400 scripts to make it compilable again.
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.

13 years agoruntests: ignore the 'all_proxy' environment variable as well
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.

13 years agocurl_gssapi: Guard files with HAVE_GSSAPI.
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

13 years agogssapi: rename our files to avoid conflicts
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

13 years agosilence picky compilers: mark unused parameters
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.

13 years agogssapi.c: Simplified the function.
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.

13 years agoAdded Curl_gss_init_sec_context.
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.

13 years agohttp_negociate: Be consistent in gss_init_sec_context attributes.
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.

13 years agocode style: space between close paren and open brace
Daniel Stenberg [Mon, 4 Jul 2011 20:10:32 +0000 (22:10 +0200)]
code style: space between close paren and open brace

13 years agochecksrc: detect open brace without space
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.

13 years agopolarssl.h: remove CVS leftover
Daniel Stenberg [Mon, 4 Jul 2011 20:04:04 +0000 (22:04 +0200)]
polarssl.h: remove CVS leftover

13 years agohelp output: more gnu like output
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

13 years agosws: allow multiple commands in <servercmd>
Daniel Stenberg [Sun, 3 Jul 2011 17:15:06 +0000 (19:15 +0200)]
sws: allow multiple commands in <servercmd>

13 years agoCurl_http_readwrite_headers: minor indent fix
Daniel Stenberg [Fri, 1 Jul 2011 20:57:28 +0000 (22:57 +0200)]
Curl_http_readwrite_headers: minor indent fix

13 years agogitignore: config.cache
Daniel Stenberg [Thu, 30 Jun 2011 07:58:45 +0000 (09:58 +0200)]
gitignore: config.cache

13 years agodocs: FTP quotes support '*' prefix to ignore errors
Daniel Stenberg [Thu, 30 Jun 2011 07:57:23 +0000 (09:57 +0200)]
docs: FTP quotes support '*' prefix to ignore errors

By default libcurl stops processing quote commands on failures.

13 years agoTHANKS: new contributors from 7.21.7
Daniel Stenberg [Wed, 29 Jun 2011 18:42:02 +0000 (20:42 +0200)]
THANKS: new contributors from 7.21.7

13 years agoget_gss_name: proxy auth without proxy set equals error
Daniel Stenberg [Wed, 29 Jun 2011 10:26:23 +0000 (12:26 +0200)]
get_gss_name: proxy auth without proxy set equals error

Previously it would access a NULL pointer and die.

Bug: http://curl.haxx.se/mail/lib-2011-06/0170.html
Reported by: Christian Hagele

13 years agoexamples: cleanup curl includes
Daniel Stenberg [Tue, 28 Jun 2011 17:08:51 +0000 (19:08 +0200)]
examples: cleanup curl includes

Only <curl/curl.h> is needed typically and curl/types.h has been removed

13 years agolibtests: stop checking for CURLM_CALL_MULTI_PERFORM
Daniel Stenberg [Sun, 26 Jun 2011 21:12:08 +0000 (23:12 +0200)]
libtests: stop checking for CURLM_CALL_MULTI_PERFORM

CURLM_CALL_MULTI_PERFORM stopped being a valid return code from
curl_multi_perform back in 7.20.0. All the libcurl tests are ajusted to
this and no longer check for this return code. Makes them simpler.

13 years agoFixed test 1300 to pass the memory torture test
Dan Fandrich [Fri, 24 Jun 2011 19:32:38 +0000 (12:32 -0700)]
Fixed test 1300 to pass the memory torture test

13 years agoDisplay notes from setup file in testcurl.pl
Dan Fandrich [Fri, 24 Jun 2011 05:38:33 +0000 (22:38 -0700)]
Display notes from setup file in testcurl.pl

Autobuild submitters can use this to add some text to their
setup files to describe issues they've found with the build
or tests. This could include laying blame on test failures on
network issues or dependent libraries, explaining away compiler
warnings or providing any additional information that could be
useful to people reviewing and investigating problems with the
publicly available autobuild logs.  Note that persistent test
failures that are not issues with curl itself should normally be
fixed by excluding them from the test run instead.

This is an entirely optional field that is not entered by the
user the first time a new build is created.

13 years agoAdded a leap second test to test517
Dan Fandrich [Fri, 24 Jun 2011 04:20:29 +0000 (21:20 -0700)]
Added a leap second test to test517

13 years agoruntests.pl: warn if a test is explicitly disabled
Daniel Stenberg [Thu, 23 Jun 2011 21:10:00 +0000 (23:10 +0200)]
runtests.pl: warn if a test is explicitly disabled

Just to make sure a user is aware of it.

13 years agobump release: start working towards 7.21.8
Daniel Stenberg [Thu, 23 Jun 2011 11:02:47 +0000 (13:02 +0200)]
bump release: start working towards 7.21.8

13 years agoparsedate: detect more invalid dates better
Daniel Stenberg [Tue, 21 Jun 2011 21:18:05 +0000 (23:18 +0200)]
parsedate: detect more invalid dates better

13 years agocurl_formfree: clarify which pointer to free
Daniel Stenberg [Thu, 23 Jun 2011 07:31:12 +0000 (09:31 +0200)]
curl_formfree: clarify which pointer to free

13 years agoRELEASE-NOTES: mention security issue 20110623
Daniel Stenberg [Wed, 22 Jun 2011 21:12:39 +0000 (23:12 +0200)]
RELEASE-NOTES: mention security issue 20110623

libcurl inappropriate GSSAPI delegation. Full details at
http://curl.haxx.se/docs/adv_20110623.html

13 years agoRELEASE-NOTES: synced with 9016958aa8989
Daniel Stenberg [Wed, 22 Jun 2011 11:07:24 +0000 (13:07 +0200)]
RELEASE-NOTES: synced with 9016958aa8989

13 years agoCurl_input_negotiate: do not delegate GSSAPI credentials
Daniel Stenberg [Tue, 7 Jun 2011 22:10:26 +0000 (00:10 +0200)]
Curl_input_negotiate: do not delegate GSSAPI credentials

This is a security flaw. See curl advisory 20110623 for details.

Reported by: Richard Silverman

13 years agowindows build: use correct MS CRT
Josue Andrade Gomes [Tue, 21 Jun 2011 18:05:06 +0000 (20:05 +0200)]
windows build: use correct MS CRT

13 years agoMerge pull request #23 from salty-horse/pop3_list_space
Daniel Stenberg [Tue, 21 Jun 2011 15:54:25 +0000 (08:54 -0700)]
Merge pull request #23 from salty-horse/pop3_list_space

[pop3] remove extra space in LIST command

13 years ago[pop3] remove extra space in LIST command
Ori Avtalion [Mon, 20 Jun 2011 22:33:32 +0000 (01:33 +0300)]
[pop3] remove extra space in LIST command

Some servers, e.g. mail.bezeqint.net:110, consider it a syntax error

13 years agohttp: fix compiler warning
Yang Tse [Tue, 21 Jun 2011 14:28:15 +0000 (16:28 +0200)]
http: fix compiler warning

compiler warning: conditional expression is constant

13 years agoasyn-thread: fix compiler warning
Yang Tse [Tue, 21 Jun 2011 14:06:56 +0000 (16:06 +0200)]
asyn-thread: fix compiler warning

compiler warning: variable is initialized but not referenced

13 years agocmake: remove spurious definition
Yang Tse [Tue, 21 Jun 2011 13:26:24 +0000 (15:26 +0200)]
cmake: remove spurious definition

13 years agoFAQ: more blurb on persistent connections
Daniel Stenberg [Tue, 21 Jun 2011 06:44:42 +0000 (08:44 +0200)]
FAQ: more blurb on persistent connections

13 years agoxc-translit.m4 fix quoting
Yang Tse [Mon, 20 Jun 2011 22:02:49 +0000 (00:02 +0200)]
xc-translit.m4 fix quoting

13 years agoINSTALL: mention the GIT-INFO file
Daniel Stenberg [Mon, 20 Jun 2011 20:20:22 +0000 (22:20 +0200)]
INSTALL: mention the GIT-INFO file

13 years agoAdded LOCAL_MODULE_TAGS to support Android gingerbread
Dan Fandrich [Mon, 20 Jun 2011 19:01:38 +0000 (12:01 -0700)]
Added LOCAL_MODULE_TAGS to support Android gingerbread

13 years agounitteset: Curl_llist_move
Amr Shahin [Sun, 19 Jun 2011 00:27:22 +0000 (03:27 +0300)]
unitteset: Curl_llist_move

adding unit test for Curl_llist_move, documenting unit-tested functions
in llist.c, changing unit-test to unittest, replacing assert calls with
abort_unless calls

13 years agoCURLFORM_STREAM: acknowledge CURLFORM_FILENAME
Daniel Stenberg [Fri, 17 Jun 2011 20:21:36 +0000 (22:21 +0200)]
CURLFORM_STREAM: acknowledge CURLFORM_FILENAME

The CURLFORM_STREAM is documented to only insert a file name (and thus
look like a file upload) in the part if CURLFORM_FILENAME is set, but in
reality it always inserted a filename="" and if CURLFORM_FILENAME wasn't
set, it would insert insert rubbish (or possibly crash).

This is now fixed to work as documented, and test 554 has been extended
to verify this.

Reported by: Sascha Swiercy
Bug: http://curl.haxx.se/mail/lib-2011-06/0070.html

13 years agoconfigure: avoid direct usage of AS_TR_* macros
Yang Tse [Fri, 17 Jun 2011 19:01:41 +0000 (21:01 +0200)]
configure: avoid direct usage of AS_TR_* macros

13 years agoxc-translit.m4 provides transliteration macros with well defined behavior.
Yang Tse [Fri, 17 Jun 2011 18:59:58 +0000 (20:59 +0200)]
xc-translit.m4 provides transliteration macros with well defined behavior.

13 years agoRELEASE-NOTES: add more contributors for this release
Daniel Stenberg [Tue, 14 Jun 2011 17:17:41 +0000 (19:17 +0200)]
RELEASE-NOTES: add more contributors for this release

13 years agoRELEASE-NOTES: synced with 0aedccc18a33a778535
Daniel Stenberg [Tue, 14 Jun 2011 12:45:44 +0000 (14:45 +0200)]
RELEASE-NOTES: synced with 0aedccc18a33a778535

13 years agocurl_formget: fix FILE * leak
Daniel Stenberg [Mon, 13 Jun 2011 20:32:00 +0000 (22:32 +0200)]
curl_formget: fix FILE * leak

Properly deal with the fact that the last fread() call most probably is
a short read, and when using callbacks in fact all calls can be short
reads. No longer consider a file read done until it returns a 0 from the
read function.

Reported by: Aaron Orenstein
Bug: http://curl.haxx.se/mail/lib-2011-06/0048.html

13 years agocurl_formget: treat CURLFORM_STREAM better
Daniel Stenberg [Mon, 13 Jun 2011 20:05:13 +0000 (22:05 +0200)]
curl_formget: treat CURLFORM_STREAM better

If a piece is set to use a callback to get the data, it should not be
treated as data. It unfortunately also requires that curl_easy_perform()
or similar has been used as otherwise the callback function hasn't been
figured out and curl_formget won't know how to get the content.

13 years agocurl_formget.3: CURLFORM_STREAM has its drawbacks
Daniel Stenberg [Mon, 13 Jun 2011 20:03:33 +0000 (22:03 +0200)]
curl_formget.3: CURLFORM_STREAM has its drawbacks

Due to a design flaw, the CURLFORM_STREAM option doesn't really work
with curl_formget until after curl_easy_perform (or similar).

13 years agoFAQ: binding clarification
Daniel Stenberg [Mon, 13 Jun 2011 17:02:38 +0000 (19:02 +0200)]
FAQ: binding clarification

We don't author the bindings, they are created outside the main project.

13 years agoAdded http as a dependency of test 1308
Dan Fandrich [Sun, 12 Jun 2011 00:02:37 +0000 (17:02 -0700)]
Added http as a dependency of test 1308

13 years agotest1309: added to the dist
Daniel Stenberg [Sat, 11 Jun 2011 22:10:51 +0000 (00:10 +0200)]
test1309: added to the dist

13 years agowrite: add return code checks when used
Daniel Stenberg [Sat, 11 Jun 2011 21:01:09 +0000 (23:01 +0200)]
write: add return code checks when used

These were just warnings in test code but it still makes it nicer to not
generate them.

13 years agolong/int mess
Daniel Stenberg [Sat, 11 Jun 2011 20:56:45 +0000 (22:56 +0200)]
long/int mess

Typecast when converting to int from long to avoid some compiler warnings

13 years agoconfigure: OpenSSL API detection cleanup
Yang Tse [Sat, 11 Jun 2011 16:39:34 +0000 (18:39 +0200)]
configure: OpenSSL API detection cleanup

13 years agoFixed test 1309 to pass the torture test
Dan Fandrich [Sat, 11 Jun 2011 07:10:09 +0000 (00:10 -0700)]
Fixed test 1309 to pass the torture test

Removing dynamic allocations also simplifies the test.

13 years agosplay: add unit tests
Daniel Stenberg [Fri, 10 Jun 2011 18:19:35 +0000 (20:19 +0200)]
splay: add unit tests

The test code that was #ifdef'ed in the code was converted into unit
tests in test case 1309. I also removed the #if 0'ed code from splay.c

13 years agounittest: mark all unit tested functions
Daniel Stenberg [Fri, 10 Jun 2011 12:40:46 +0000 (14:40 +0200)]
unittest: mark all unit tested functions

With "@unittest: [num]" in the header comment for each tested function.
Shows we have a log way to go still...

13 years agoCURLOPT_WRITEHEADER: clarify the docs
Daniel Stenberg [Fri, 10 Jun 2011 11:17:17 +0000 (13:17 +0200)]
CURLOPT_WRITEHEADER: clarify the docs