Daniel Stenberg
4180ca7638
don't do the GOT_NOTHING error check if the DONE function was called with
...
premature set TRUE, which means it was done before the request comleted. It
could then very well not have received any data.
2008-02-17 13:40:35 +00:00
Daniel Stenberg
0e73361a06
added a comment about the ignoring of the Curl_done() return code
2008-02-17 13:38:19 +00:00
Daniel Stenberg
550d6f74b9
oops, that was debug code not meant to be committed like this...
2008-02-16 13:44:23 +00:00
Daniel Stenberg
f7b71c2abe
fix warnings about shadowing
2008-02-16 13:41:55 +00:00
Gunter Knauf
0da90b5d91
seems that curently we dont need the imports from (l)ldapx.imp.
2008-02-16 00:44:14 +00:00
Gunter Knauf
3e635a2334
re-ordered the module dependency list;
...
removed unsused ldap module dependency since the module didnt autounload from protected address space.
2008-02-16 00:15:30 +00:00
Daniel Stenberg
e78652d850
- Made the gnutls code path not even try to get the server cert if no peer
...
verification is requested. Previously it would even return failure if gnutls
failed to get the server cert even though no verification was asked for.
- Fix my Curl_timeleft() leftover mistake in the gnutls code
2008-02-15 22:37:00 +00:00
Daniel Stenberg
48918c3047
mention that we explicitly ignore the return code
2008-02-15 21:38:54 +00:00
Yang Tse
dc42d6fb8d
log SSH public key authentication failure and reason
2008-02-15 17:00:56 +00:00
Daniel Stenberg
d25aab2704
- Pooyan McSporran found and fixed a flaw where you first would do a normal
...
http request and then you'd reuse the handle and replace the Accept: header,
as then libcurl would send two Accept: headers!
2008-02-15 08:56:06 +00:00
Gunter Knauf
cfaf88aab4
fixed version var.
2008-02-15 00:41:54 +00:00
Gunter Knauf
ecc75be6f3
moved info block up before help block so that it can also be displayed before help option; trial to add a version number.
2008-02-15 00:26:26 +00:00
Daniel Stenberg
fcc320ee40
Yang Tse pointed out a few remaining quirks from my timeout refactoring from
...
Feb 7 that didn't abort properly on timeouts. These are actually old
problems but now they should be fixed.
2008-02-11 22:03:31 +00:00
Gunter Knauf
019f6a1926
open pipe to openssl commandline instead of writing into temp file.
2008-02-11 18:52:45 +00:00
Dan Fandrich
44fba11b34
Fixed unused variable warning.
2008-02-11 18:27:36 +00:00
Gunter Knauf
df07c87b89
added strict to make sure all vars are properly defined;
...
added -t switch to make text info of CAs optional;
added -q switch to be really quiet.
2008-02-11 15:00:00 +00:00
Yang Tse
736af32b49
Bug report #1888932 ( http://curl.haxx.se/bug/view.cgi?id=1888932 ) points
...
out and provides test program that demonstrates that libcurl might not set
error description message for error CURLE_COULDNT_RESOLVE_HOST for Windows
threaded name resolver builds. Fixed now.
2008-02-10 04:20:09 +00:00
Gunter Knauf
08e5c0812f
added -b switch to provide a backup functionality for existing ca-bundle.crt file.
2008-02-10 01:29:24 +00:00
Gunter Knauf
a8c71961e0
fixed another wrong var in error message.
2008-02-09 15:32:54 +00:00
Gunter Knauf
63d595a047
fixed wrong var in error message.
2008-02-09 15:00:07 +00:00
Daniel Stenberg
4c841a1f0c
- Mike Hommey filed and fixed bug report #1889856
...
(http://curl.haxx.se/bug/view.cgi?id=1889856 ): When using the gnutls ssl
layer, cleaning-up and reinitializing curl ends up with https requests
failing with "ASN1 parser: Element was not found" errors. Obviously a
regression added in 7.16.3.
2008-02-08 22:02:00 +00:00
Daniel Stenberg
a2bff51ede
include mk-ca-bundle.pl in the tarballs
2008-02-08 09:56:23 +00:00
Gunter Knauf
c764331dd9
use argument to specify output filename if present.
2008-02-08 02:38:12 +00:00
Gunter Knauf
586444b6b8
fixed regex to fetch certdata.txt version since it was replaced by CVS (argh!)
...
added a switch to display certdata.txt version header.
2008-02-08 01:58:11 +00:00
Gunter Knauf
d76a74cc5e
added Perl script to create a fresh ca-bundle.crt.
2008-02-08 01:08:25 +00:00
Daniel Stenberg
1b701c746f
- Refactored a lot of timeout code into a few functions in an attempt to make
...
them all use the same (hopefully correct) logic to make it less error-prone
and easier to introduce library-wide where it should be used.
2008-02-07 22:25:04 +00:00
Daniel Stenberg
15bf168527
ca-bundle.crt documentational updates that more clearly describe the bundle
...
ca-bundle.crt file as outdated and in need for replacement by anyone who wants
to verify modern peers as the one we have is from year 2000!
2008-02-07 15:43:36 +00:00
Yang Tse
20e9fc73e2
Fix problem in strdup replacement when dealing with absolutely huge strings.
2008-02-06 19:01:13 +00:00
Gunter Knauf
7bd098f670
fixed entry symbols when linked with posix prelude.
2008-02-04 22:40:59 +00:00
Gunter Knauf
4b5c504bd4
added makefile flag to link with NLM POSIX semantics.
2008-02-04 22:29:52 +00:00
Daniel Stenberg
ffae4f6b48
- Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
...
use of the "is_in_pipeline" struct field.
2008-02-03 12:31:35 +00:00
Daniel Stenberg
a62e155ca4
- Niklas Angebrand made the cookie support in libcurl properly deal with the
...
"HttpOnly" feature introduced by Microsoft and apparently also supported by
Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
is now supported when received from servers in HTTP headers, when written to
cookie jars and when read from existing cookie jars.
2008-01-31 12:21:57 +00:00
Daniel Stenberg
b620e62f0f
- Dmitry Kurochkin moved several struct fields from the connectdata struct to
...
the SingleRequest one to make pipelining better. It is a bit tricky to keep
them in the right place, to keep things related to the actual request or to
the actual connection in the right place.
2008-01-31 12:04:33 +00:00
Gunter Knauf
ea3f63281c
silent stupid 'del' message when no files to delete found;
...
added curl.res to clean target.
2008-01-29 23:46:41 +00:00
Daniel Stenberg
1bfbd25027
- Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously
...
crash!
2008-01-29 12:58:25 +00:00
Daniel Stenberg
33d68653f0
this was modified this year so we bump the copyright year
2008-01-28 11:56:13 +00:00
Daniel Stenberg
87fdfe770d
Dmitry Kurochkin: In "real world" testing I found more bugs in
...
pipelining. Broken connection is not restored and we get into infinite
loop. It happens because of wrong is_in_pipeline values.
2008-01-27 22:53:09 +00:00
Daniel Stenberg
c6df788866
- Kevin Reed filed bug report #1879375
...
(http://curl.haxx.se/bug/view.cgi?id=1879375 ) which describes how libcurl
got lost in this scenario: proxy tunnel (or HTTPS over proxy), ask to do any
proxy authentication and the proxy replies with an auth (like NTLM) and then
closes the connection after that initial informational response.
libcurl would not properly re-initialize the connection to the proxy and
continue the auth negotiation like supposed. It does now however, as it will
now detect if one or more authentication methods were available and asked
for, and will thus retry the connection and continue from there.
- I made the progress callback get called properly during proxy CONNECT.
2008-01-25 23:33:45 +00:00
Gunter Knauf
d54c14ccf9
updated makefiles to use global copyright define.
2008-01-24 15:28:47 +00:00
Gunter Knauf
2d38d0d515
minor makefile tweaks.
2008-01-24 15:05:56 +00:00
Gunter Knauf
e322513698
use copyright define instead of hardcoded string.
2008-01-24 14:10:59 +00:00
Daniel Stenberg
c914e6ea5d
"Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so
...
did "SESS". Fixed now.
2008-01-23 22:22:12 +00:00
Daniel Stenberg
79cb74f03a
Dmitry Kurochkin's pipelining close-down segfault fix
2008-01-23 12:22:04 +00:00
Yang Tse
34cf35051a
update openssl version
2008-01-23 07:27:40 +00:00
Gunter Knauf
5ee3f41e0d
happy new year
2008-01-23 02:12:13 +00:00
Gunter Knauf
64e88ff6a7
removed inclusion of libcurl memory debug headers since this lib stub is a well proofed method suggested by Novell. This enables usage of the stub with language bindings.
2008-01-23 02:10:40 +00:00
Yang Tse
acd7c94598
when unable to initialize sftp session, also log failure reason
2008-01-22 17:26:42 +00:00
Yang Tse
bdb2beb8e4
check availability of poll.h header at configuration time, and include
...
it when sys/poll.h is unavailable
2008-01-22 14:52:54 +00:00
Yang Tse
727e23322f
update copyright year
2008-01-22 03:48:16 +00:00
Daniel Stenberg
ef0ed9b720
Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed
...
that it is bad anyway. Starting now, removing a handle that is in used in a
pipeline will break the pipeline - it'll be set back up again but still...
2008-01-21 23:48:58 +00:00