Yang Tse
bcbac913d6
socketpair() usage tracking to allow fd leak detection
2011-07-29 13:27:10 +02:00
Yang Tse
5cdbfa1837
fix compiler warning
2011-07-29 13:27:08 +02:00
Dan Fandrich
c01c000b16
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.
2011-07-28 14:04:13 -07:00
Yang Tse
35051d274f
NTLM single-sign on adjustments (VI)
...
Fix compiler warning
2011-07-28 22:47:42 +02:00
Dan Fandrich
9779553221
Give the NTLM SSO helper a moment to cleanly shut down if needed
2011-07-28 12:42:39 -07:00
Dan Fandrich
435e2bc757
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.
2011-07-28 12:41:44 -07:00
Yang Tse
99848d3dab
NTLM single-sign on adjustments (V)
...
Enhance test harness fake_ntlm logging upon invalid input.
2011-07-28 21:12:41 +02:00
Dan Fandrich
02e59579ef
Fixed a couple of memory leaks in NTLM SSO support
2011-07-27 18:08:10 -07:00
Yang Tse
dddf9aa610
NTLM single-sign on adjustments (IV)
...
Fix compiler warning
2011-07-27 20:10:02 +02:00
Yang Tse
4eb08ac1c0
NTLM single-sign on adjustments (III)
...
Provide some error tracing and fix execl() calling.
2011-07-27 19:12:06 +02:00
Yang Tse
6ac4eeab2f
NTLM single-sign on adjustments (II)
...
Ensure test harness fake_ntlm main function can properly handle arguments.
2011-07-27 19:04:55 +02:00
Yang Tse
8350fb8f2f
NTLM single-sign on adjustments (I)
...
Use fake_ntlm absolute filename in NTLM_AUTH environment variable for test
2005 definition.
2011-07-27 18:58:21 +02:00
Dan Fandrich
cfcca89b76
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.
2011-07-26 12:48:16 -07:00
Yang Tse
41c6c78a08
fix compiler warning
2011-07-26 21:36:35 +02:00
Yang Tse
78bbd0eecf
fix compiler warning
2011-07-26 19:42:16 +02:00
Yang Tse
f1586cb477
stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h
2011-07-26 17:23:27 +02:00
Yang Tse
983f3d70f9
WIN32 io.h and fcntl.h inclusion done in setup_once.h
2011-07-25 05:30:14 +02:00
Yang Tse
0337b87197
time.h and sys/time.h inclusion conditionally done in setup_once.h
2011-07-25 04:08:08 +02:00
Yang Tse
0a26b0e3e7
errno.h inclusion conditionally done in setup_once.h - followup
2011-07-25 03:10:24 +02:00
Yang Tse
ef2176109f
errno.h inclusion conditionally done in setup_once.h
2011-07-24 04:39:43 +02:00
Ben Winslow
27b8814017
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
2011-07-22 22:50:58 +02:00
Daniel Stenberg
dcc8481a13
RELEASE-NOTES: HTTP error handling on request body send
2011-07-20 00:08:41 +02:00
Daniel Stenberg
3f9b4afdfd
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
2011-07-20 00:08:41 +02:00
Michael Mueller
d007c3ca76
sso_ntlm_initiate: unassigned variable
...
Bug: http://curl.haxx.se/mail/lib-2011-07/0109.html
2011-07-19 23:54:21 +02:00
Daniel Stenberg
0ae15092d4
test2005: require a debug build
2011-07-19 23:50:34 +02:00
Daniel Stenberg
b9313af838
runtests: add 'debug' as a feature a test can require
2011-07-19 23:49:40 +02:00
Daniel Stenberg
d0d36f312f
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
2011-07-19 20:12:58 +02:00
Daniel Stenberg
d95f45cd40
symbols-in-versions: add NTLM_SSO symbols
2011-07-19 00:54:41 +02:00
Daniel Stenberg
177fd0a14c
gitignore: ignore fake_ntlm
2011-07-18 23:49:31 +02:00
Mandy Wu
aa26c2751a
test2005: verify ntlm single-signon
2011-07-18 23:48:53 +02:00
Mandy Wu
a6d4807d02
NTLM single-sign on supported
...
With the use of the 'ntlm_auth' tool from the Samba project
2011-07-18 23:36:36 +02:00
Daniel Stenberg
650a504b2f
sws: don't enable pipelining for requests with content-length
...
Log texts also modified and some white space edits
2011-07-17 00:39:23 +02:00
Patrick Monnerat
e3a9804d3a
Fix OS400 scripts to make it compilable again.
...
Upgrade ILE/RPG binding to 7.21.7.
Update OS400 documentation accordingly.
2011-07-14 17:07:35 +02:00
Daniel Stenberg
9c1f50c583
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.
2011-07-14 11:04:00 +02:00
Julien Chaffraix
6e3285d5b1
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
2011-07-13 21:16:03 -07:00
Daniel Stenberg
44b5847237
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
2011-07-13 22:54:54 +02:00
Daniel Stenberg
ee4ed46128
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.
2011-07-12 23:24:52 +02:00
Julien Chaffraix
2af0287856
gssapi.c: Simplified the function.
...
Removed the parameters that were common to all our invocation.
2011-07-12 07:06:26 -07:00
Julien Chaffraix
20485a4885
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.
2011-07-12 07:06:25 -07:00
Julien Chaffraix
6488e03f44
http_negociate: Be consistent in gss_init_sec_context attributes.
...
This change makes this callsite match the rest of the code.
2011-07-12 07:06:25 -07:00
Daniel Stenberg
b680fd180b
code style: space between close paren and open brace
2011-07-04 22:10:32 +02:00
Daniel Stenberg
dc97475ded
checksrc: detect open brace without space
...
We use "if(condition) {" with a space between the close paren and the
open brace.
2011-07-04 22:08:14 +02:00
Daniel Stenberg
c6e3081090
polarssl.h: remove CVS leftover
2011-07-04 22:04:04 +02:00
Daniel Stenberg
902d3dc33d
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
2011-07-03 22:13:18 +02:00
Daniel Stenberg
c7a4df16e0
sws: allow multiple commands in <servercmd>
2011-07-03 19:15:06 +02:00
Daniel Stenberg
bcf50283fc
Curl_http_readwrite_headers: minor indent fix
2011-07-01 22:57:28 +02:00
Daniel Stenberg
3e16c3e73e
gitignore: config.cache
2011-06-30 09:58:45 +02:00
Daniel Stenberg
3e71ebe4eb
docs: FTP quotes support '*' prefix to ignore errors
...
By default libcurl stops processing quote commands on failures.
2011-06-30 09:57:23 +02:00
Daniel Stenberg
bfca0e2f50
THANKS: new contributors from 7.21.7
2011-06-29 20:42:02 +02:00
Daniel Stenberg
2e2e5f247a
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
2011-06-29 12:27:37 +02:00