Daniel Stenberg
9cb68c6e32
- Modified the separators used for CURLOPT_CERTINFO in multi-part outputs. I
...
don't know how they got wrong in the first place, but using this output
format makes it possible to quite easily separate the string into an array
of multiple items.
2009-06-29 20:45:42 +00:00
Dan Fandrich
a9a89c604a
Fixed a compiler warning.
2009-06-27 06:05:08 +00:00
Michal Marek
ad1bfc5468
fix indentation.
2009-06-19 10:20:28 +00:00
Yang Tse
2c0c05e96d
sclose() function-like macro definition used to close a socket,
...
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
config file preprocessor definitions.
2009-06-19 00:41:03 +00:00
Michal Marek
0b317b72ae
- When doing non-anonymous ftp via http proxies and the password is not
...
provided in the url, add it there (squid needs this).
2009-06-16 13:16:28 +00:00
Patrick Monnerat
c32cf33a16
Replaced use of standard C library rand()/srand() by our own pseudo-random number generator.
2009-06-15 10:15:28 +00:00
Yang Tse
7eb59de7df
DEBUGBUILD / CURLDEBUG decoupling follow-up
2009-06-15 02:30:22 +00:00
Yang Tse
5931cf77f4
DEBUGBUILD / CURLDEBUG decoupling follow-up
2009-06-15 02:29:49 +00:00
Yang Tse
169e94d68b
improve usability with UNIX-like shells or a DOS command interpreters
2009-06-13 18:11:17 +00:00
Yang Tse
47e403640b
include <limits.h> for INT_MAX definition
2009-06-12 02:47:35 +00:00
Yang Tse
4ea513cc38
fix compiler warning
2009-06-12 02:41:16 +00:00
Yang Tse
2c93f889fd
DOS adjustments
2009-06-11 16:43:47 +00:00
Daniel Stenberg
352177090f
- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
...
contributed a range of patches to fix them.
2009-06-10 21:26:11 +00:00
Yang Tse
2c16681225
Adjusted to take in account that...
...
With the curl memory tracking feature decoupled from the debug build feature,
CURLDEBUG and DEBUGBUILD preprocessor symbol definitions are used as follows:
CURLDEBUG used for curl debug memory tracking specific code (--enable-curldebug)
DEBUGBUILD used for debug enabled specific code (--enable-debug)
2009-06-10 02:49:42 +00:00
Bill Hoffman
744dceaffe
ENH: lower case cmake functions and remove tabs and re-indent cmake code
2009-06-09 17:29:16 +00:00
Yang Tse
16ae283fb4
initialize fread callback pointer to avoid compiler warning
2009-06-09 00:49:34 +00:00
Daniel Stenberg
3e0c067e43
- Claes Jakobsson provided a patch for libcurl-NSS that fixed a bad refcount
...
issue with client certs that caused issues like segfaults.
http://curl.haxx.se/mail/lib-2009-05/0316.html
2009-06-08 21:25:16 +00:00
Yang Tse
01b74950b7
Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers
...
included from Makefile.inc
2009-06-08 15:49:02 +00:00
Daniel Stenberg
6f3e817372
../include/curl/curlbuild.h.dist is not present in release archives so
...
the makefile cannot depend on it
2009-06-08 13:53:23 +00:00
Yang Tse
8d581f7fe4
Revert delegating c-ares linking magic on libtool and auto-makefiles when using
...
the uninstalled c-ares libtool archive built from the CVS embedded tree.
This embedded c-ares linking is again handled from the configure script.
2009-06-06 13:20:39 +00:00
Daniel Stenberg
1012c5705a
- Setting the Content-Length: header from your app when you do a POST or PUT
...
is almost always a VERY BAD IDEA. Yet there are still apps out there doing
this, and now recently it triggered a bug/side-effect in libcurl as when
libcurl sends a POST or PUT with NTLM, it sends an empty post first when it
knows it will just get a 401/407 back. If the app then replaced the
Content-Length header, it caused the server to wait for input that libcurl
wouldn't send. Aaron Oneal reported this problem in bug report #2799008
http://curl.haxx.se/bug/view.cgi?id=2799008 ) and helped us verify the fix.
2009-06-05 06:18:42 +00:00
Yang Tse
1c2947581b
fix shadowing of a global declaration
2009-06-04 23:55:56 +00:00
Yang Tse
00883822be
allow building libcurl for VxWorks
2009-06-04 19:11:11 +00:00
Yang Tse
13fdb9d8a5
c-ares embbeded builds header include paths fully defined in makefiles
2009-06-04 04:13:39 +00:00
Yang Tse
cd5e6743f7
Delegate c-ares linking magic on libtool and auto-makefiles when using
...
the uninstalled c-ares libtool archive built from the CVS embedded tree.
2009-05-30 15:56:42 +00:00
Daniel Stenberg
c9188e2260
corrected comments
2009-05-29 07:43:43 +00:00
Dan Fandrich
15eaf27bc7
Fixed a few comment typos (from the FreeBSD ports)
2009-05-28 21:32:31 +00:00
Yang Tse
348ffbc47e
fix compiler warning: variable was set but never used
2009-05-28 16:19:03 +00:00
Yang Tse
f13cbcf175
fix compiler warning: unused parameter
2009-05-28 16:18:25 +00:00
Daniel Stenberg
0bf9c1e881
- Claes Jakobsson fixed libcurl-NSS to build fine even without the
...
PK11_CreateGenericObject() function.
2009-05-27 22:01:03 +00:00
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