Daniel Stenberg
bf07d37737
- Mike Crowe pointed out that setting CURLOPT_USERPWD to NULL used to clear
...
the auth credentials back in 7.19.0 and earlier while now you have to set ""
to get the same effect. His patch brings back the ability to use NULL.
2009-05-27 21:45:12 +00:00
Daniel Stenberg
eecb713616
- Andre Guibert de Bruet found a call to a OpenSSL function that didn't check
...
for a failure properly.
2009-05-27 21:15:38 +00:00
Daniel Stenberg
bf085e2c4b
- Frank McGeough provided a small OpenSSL #include fix to make libcurl compile
...
fine with Nokia 5th edition 1.0 SDK for Symbian.
2009-05-27 21:11:11 +00:00
Daniel Stenberg
1cf6c15ab4
- bug report #2796358 ( http://curl.haxx.se/bug/view.cgi?id=2796358 ) pointed
...
out that the cookie parser would leak memory when it parses cookies that are
received with domain, path etc set multiple times in the same header. While
such a cookie is questionable, they occur in the wild and libcurl no longer
leaks memory for them. I added such a header to test case 8.
2009-05-25 12:23:22 +00:00
Dan Fandrich
8519682564
Removed some obsolete digest code that caused a valgrind error in test 551.
2009-05-22 17:26:49 +00:00
Gunter Knauf
1bb68cbcfa
changed ssh.c to use HAVE_LIBSSH2_SESSION_BLOCK_DIRECTION define provided by libssh2.h; removed related define block from ssh.h.
2009-05-19 23:21:25 +00:00
Daniel Stenberg
de7a14003c
- Kamil Dudka brought the patch from the Redhat bug entry
...
https://bugzilla.redhat.com/show_bug.cgi?id=427966 which was libcurl closing
a bad file descriptor when closing down the FTP data connection. Caolan
McNamara seems to be the original author of it.
2009-05-19 20:54:31 +00:00
Yang Tse
4677778f85
Remove empty line used to force CVS to update the $Id date string format
2009-05-19 12:12:22 +00:00
Yang Tse
0427b783e2
Add empty line, to force CVS to update the $Id date string format
2009-05-18 12:33:51 +00:00
Yang Tse
4650732f4a
Update copyright year, to force CVS to update the $Id date string format
2009-05-18 12:25:45 +00:00
Yang Tse
0cf8d4f8e8
Simplify c-ares function capability check
2009-05-18 00:25:48 +00:00
Gunter Knauf
4c9c9f0b89
fixed case.
2009-05-17 18:22:39 +00:00
Yang Tse
13db2916de
Take in account c-ares 1.6.1 introduces ares_library_init() and ares_library_cleanup()
2009-05-17 17:40:30 +00:00
Daniel Stenberg
3cb06eb2b2
- James Bursa posted a patch to the mailing list that fixed a problem with
...
no_proxy which made it not skip the proxy if the URL entered contained a
user name. I added test case 1101 to verify.
2009-05-17 14:47:50 +00:00
Daniel Stenberg
80d2df7789
Reverted my change to use Curl_connected_proxy() here. Clearly I wasn't
...
thinking straight.
2009-05-12 18:56:33 +00:00
Daniel Stenberg
611b3584d6
make no proxy set return OK from Curl_connected_proxy() since it will be called
...
unconditionally
2009-05-12 07:38:31 +00:00
Daniel Stenberg
bcdbba05d3
moved variables more locally to get rid of one set of #ifdefs
2009-05-11 12:13:41 +00:00
Daniel Stenberg
51d1f309cd
Use Curl_connected_proxy() here instead of duplicating code. Spell out the
...
badness in the code flow even for the socks case.
2009-05-11 11:49:39 +00:00
Daniel Stenberg
f04720afb8
fix the Curl_connected_proxy function for when libcurl actually connects fine
...
to it in the actual connect call and not asynchronously.
2009-05-11 11:45:56 +00:00
Daniel Stenberg
242a17b9e0
- Balint Szilakszi reported a memory leak when libcurl did gzip decompression
...
of streams that had some parts (legitimately) missing. We now provide and use
a proper cleanup function for the content encoding submodule.
http://curl.haxx.se/mail/lib-2009-05/0092.html
2009-05-11 09:55:28 +00:00
Daniel Stenberg
6e1632c606
- Kamil Dudka provided a fix for libcurl-NSS reported by Michael Cronenworth
...
at https://bugzilla.redhat.com/show_bug.cgi?id=453612#c12
If an incorrect password is given while loading a private key, libcurl ends
up in an infinite loop consuming memory. The bug is critical.
2009-05-11 09:13:49 +00:00
Daniel Stenberg
56dab605f1
- I fixed the problem with doing NTLM, POST and then following a 302 redirect,
...
as reported by Ebenezer Ikonne (on curl-users) and Laurent Rabret (on
curl-library). The transfer was mistakenly marked to get more data to send
but since it didn't actually have that, it just hung there...
2009-05-11 08:55:58 +00:00
Daniel Stenberg
3aa3d7e629
Internal cleanup: KEEP_WRITE and KEEP_READ are now called KEEP_SEND and
...
KEEP_RECV to better match the general terminology: receive and send is what we
do from the (remote) servers. We read and write from and to the local fs.
2009-05-11 07:53:38 +00:00
Daniel Stenberg
effbd99384
- Andre Guibert de Bruet correctly pointed out an over-alloc with one wasted
...
byte in the digest code.
2009-05-10 21:33:55 +00:00
Yang Tse
b8c438f22d
Fix function call pointed data size argument mismatch on 64Bit systems
2009-05-10 10:25:23 +00:00
Yang Tse
a85271ce0a
Fix type cast
2009-05-10 10:24:53 +00:00
Daniel Stenberg
fd5e69f769
ConnectPlease() fixed for the new proxy connect functionality to make sure
...
'connected' truly is false when the socks connect fails.
Curl_done() fixed for the check-conn->bits.done-before-Curl_getoff_all_pipelines case
2009-05-09 21:34:48 +00:00
Yang Tse
ddb0b8d8b8
Fix libssh2 preprocessor symbol definition check
2009-05-09 15:32:59 +00:00
Yang Tse
f77f2709a9
Ignore more files for cvs
2009-05-09 10:09:33 +00:00
Yang Tse
9314e9e853
Fix CR
2009-05-08 19:09:36 +00:00
Yang Tse
838ddf8f55
Renamed vc6 workspace and project files to avoid filename clash when used for conversion to later VS versions.
2009-05-08 18:55:42 +00:00
Yang Tse
619869c639
Renamed vc6 workspace and project files to avoid filename clash when used for conversion to later VS versions.
2009-05-08 17:51:44 +00:00
Daniel Stenberg
e84c7db049
- Constantine Sapuntzakis fixed bug report #2784055
...
(http://curl.haxx.se/bug/view.cgi?id=2784055 ) identifying a problem to
connect to SOCKS proxies when using the multi interface. It turned out to
almost not work at all previously. We need to wait for the TCP connect to
be properly verified before doing the SOCKS magic.
There's still a flaw in the FTP code for this.
2009-05-08 10:59:40 +00:00
Daniel Stenberg
6ca321ca75
Curl_sndbufset is (at times) defined in the header, no need to do it again here
2009-05-07 20:02:51 +00:00
Daniel Stenberg
9c788a529b
- Made the SO_SNDBUF setting for the data connection socket for ftp uploads as
...
well. See change 28 Apr 2009.
2009-05-07 20:00:44 +00:00
Yang Tse
ac9d92587e
Fix an issue, affecting FTP transfers, introduced with the transfer.c patch committed May 4.
...
Additionally some identation fixes.
2009-05-07 18:03:49 +00:00
Daniel Stenberg
7bdd14a994
- Vijay G filed bug report #2723236
...
(http://curl.haxx.se/bug/view.cgi?id=2723236 ) identifying a problem with
libcurl's TFTP code and its lack of dealing with the OACK packet.
2009-05-07 08:30:43 +00:00
Yang Tse
a1708730c3
fix compiler warning
2009-05-05 13:04:33 +00:00
Daniel Stenberg
b40b989523
I simplified the SSL session id re-use code now to *always* ditch the previous
...
one and store the current one, as it makes the code less complex and I'm not
even sure I can check for the same session id using memcmp() like that.
2009-05-05 08:33:29 +00:00
Daniel Stenberg
915dfb494e
- Inspired by Michael Smith's session id fix for OpenSSL, I did the
...
corresponding fix in the GnuTLS code: make sure to store the new session id
in case the re-used one is rejected.
2009-05-04 22:20:09 +00:00
Daniel Stenberg
a16cca7680
- Michael Smith posted bug report #2786255
...
(http://curl.haxx.se/bug/view.cgi?id=2786255 ) with a patch, identifying how
libcurl did not deal with SSL session ids properly if the server rejected a
re-use of one. Starting now, it will forget the rejected one and remember
the new. This change was for OpenSSL only, it is likely that other SSL lib
code needs similar fixes.
2009-05-04 21:57:14 +00:00
Yang Tse
4422f80ae7
David McCreedy's "transfer.c fixes for CURL_DO_LINEEND_CONV and non-ASCII platform HTTP requests" patch
2009-05-04 09:47:02 +00:00
Yang Tse
9137e717b0
Use build-time configured curl_socklen_t instead of socklen_t
2009-05-02 02:37:32 +00:00
Yang Tse
0569c9c1be
David McCreedy's "http.c fix to Curl_proxyCONNECT for non-ASCII platforms" patch
2009-05-01 13:00:38 +00:00
Yang Tse
5a91746b80
David McCreedy's "TPF-platform specific changes to various files" patch
2009-05-01 12:39:40 +00:00
Yang Tse
c174b13f8b
fix compiler warning: unused parameter
2009-04-30 09:32:02 +00:00
Yang Tse
dd50e5bdf2
Use 'unsigned int' instead of size_t attempting to avoid header inclusion
2009-04-30 01:34:04 +00:00
Yang Tse
504ecd5f7a
NetWare LibC's getpeername() third argument data type is size_t
2009-04-30 00:11:20 +00:00
Yang Tse
01dabb774a
curl_socklen_t NetWare follow-up
2009-04-29 17:07:19 +00:00
Daniel Stenberg
e2c6e00570
- Based on bug report #2723219 ( http://curl.haxx.se/bug/view.cgi?id=2723219 )
...
I've now made TFTP "connections" not being kept for re-use within libcurl.
TFTP is UDP-based so the benefit was really low (if even existing) to begin
with so instead of tracking down to fix this problem we instead removed the
re-use. I also enabled test case 1099 that I wrote a few days ago to verify
that this change fixes the reported problem.
2009-04-29 11:30:03 +00:00