platform/upstream/curl.git
15 years agodon't set READDATA since it isn't used and only confuses readers
Daniel Stenberg [Wed, 22 Jul 2009 22:08:01 +0000 (22:08 +0000)]
don't set READDATA since it isn't used and only confuses readers

15 years ago- David Binderman found a memory and fd leak in lib/gtls.c:load_file()
Michal Marek [Wed, 22 Jul 2009 09:48:32 +0000 (09:48 +0000)]
- David Binderman found a memory and fd leak in lib/gtls.c:load_file()
  (https://bugzilla.novell.com/523919). When looking at the code, I found
  that also the ptr pointer can leak.

15 years ago66. When using telnet, the time limitation options don't work.
Daniel Stenberg [Tue, 21 Jul 2009 22:30:31 +0000 (22:30 +0000)]
66. When using telnet, the time limitation options don't work.
  http://curl.haxx.se/bug/view.cgi?id=2818950

15 years ago- Claes Jakobsson improved the support for client certificates handling
Kamil Dudka [Mon, 20 Jul 2009 21:50:21 +0000 (21:50 +0000)]
- Claes Jakobsson improved the support for client certificates handling
  in NSS-powered libcurl. Now the client certificates can be selected
  automatically by a NSS built-in hook. Additionally pre-login to all PKCS11
  slots is no more performed. It used to cause problems with HW tokens.

- Fixed reference counting for NSS client certificates. Now the PEM reader
  module should be always properly unloaded on Curl_nss_cleanup(). If the unload
  fails though, libcurl will try to reuse the already loaded instance.

15 years agotrial to fix a win64 compiler warning.
Gunter Knauf [Fri, 17 Jul 2009 22:34:16 +0000 (22:34 +0000)]
trial to fix a win64 compiler warning.

15 years agoadded a cast to silent compiler warning with 64bit systems.
Gunter Knauf [Thu, 16 Jul 2009 17:39:14 +0000 (17:39 +0000)]
added a cast to silent compiler warning with 64bit systems.

15 years agotest if adding ../lib to includes can fix the current break ...
Gunter Knauf [Thu, 16 Jul 2009 12:20:16 +0000 (12:20 +0000)]
test if adding ../lib to includes can fix the current break ...

15 years agoAdded nonblock.c to the non-automake makefiles (note that the dependencies
Dan Fandrich [Wed, 15 Jul 2009 21:49:47 +0000 (21:49 +0000)]
Added nonblock.c to the non-automake makefiles (note that the dependencies
in the Watcom makefiles aren't quite correct).

15 years agoENH: fix build with ssl
Bill Hoffman [Wed, 15 Jul 2009 21:30:46 +0000 (21:30 +0000)]
ENH: fix build with ssl

15 years agoENH: move dashboard location
Bill Hoffman [Wed, 15 Jul 2009 19:40:46 +0000 (19:40 +0000)]
ENH: move dashboard location

15 years agoBUG: curl did not build with cmake with VS 2005 for two reasons, ws2tcpip.h requires...
Bill Hoffman [Wed, 15 Jul 2009 19:25:22 +0000 (19:25 +0000)]
BUG: curl did not build with cmake with VS 2005 for two reasons, ws2tcpip.h requires winsock2.h to be included before it with that compiler, and wldap32 is not available with the default install of the compiler, so disable ldap support if that is not found

15 years ago- Changed the description of CURLINFO_OS_ERRNO to make it clear that the
Michal Marek [Wed, 15 Jul 2009 11:49:12 +0000 (11:49 +0000)]
- Changed the description of CURLINFO_OS_ERRNO to make it clear that the
  errno is not reset on success.

15 years agofixed typo.
Gunter Knauf [Wed, 15 Jul 2009 01:10:18 +0000 (01:10 +0000)]
fixed typo.

15 years agoENH: add optional support for c-ares
Bill Hoffman [Tue, 14 Jul 2009 19:03:31 +0000 (19:03 +0000)]
ENH: add optional support for c-ares

15 years agorenamed generated config.h to curl_config.h in order to avoid clashes when libcurl...
Gunter Knauf [Tue, 14 Jul 2009 15:36:12 +0000 (15:36 +0000)]
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h (missing bits)

15 years agoupdated openssl version to latest; removed obsolete link to openssl patch since its...
Gunter Knauf [Tue, 14 Jul 2009 14:01:11 +0000 (14:01 +0000)]
updated openssl version to latest; removed obsolete link to openssl patch since its now in the openssl releases.

15 years agoENH: move config.h.cmake to curl_config.h.cmake so it builds again
Bill Hoffman [Tue, 14 Jul 2009 13:46:45 +0000 (13:46 +0000)]
ENH: move config.h.cmake to curl_config.h.cmake so it builds again

15 years agorenamed generated config.h to ares_config.h in order to avoid clashes when libcurl...
Gunter Knauf [Tue, 14 Jul 2009 13:38:50 +0000 (13:38 +0000)]
renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.

15 years agoENH: add nonblock.c to build for CMake
Bill Hoffman [Tue, 14 Jul 2009 13:35:10 +0000 (13:35 +0000)]
ENH: add nonblock.c to build for CMake

15 years agoENH: do not report if zlib is not found as it still works
Bill Hoffman [Tue, 14 Jul 2009 13:34:37 +0000 (13:34 +0000)]
ENH: do not report if zlib is not found as it still works

15 years agorenamed generated config.h to curl_config.h in order to avoid clashes when libcurl...
Gunter Knauf [Tue, 14 Jul 2009 13:30:24 +0000 (13:30 +0000)]
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.

15 years agorenamed generated config.h to curl_config.h in order to avoid clashes when libcurl...
Gunter Knauf [Tue, 14 Jul 2009 13:25:14 +0000 (13:25 +0000)]
renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.

15 years agoadded PKG_CONFIG_PATH to output to better verify if it gets properly set with cross...
Gunter Knauf [Mon, 13 Jul 2009 23:33:57 +0000 (23:33 +0000)]
added PKG_CONFIG_PATH to output to better verify if it gets properly set with cross compiles.

15 years agosilence a compiler warning
Daniel Stenberg [Sat, 11 Jul 2009 09:57:54 +0000 (09:57 +0000)]
silence a compiler warning

15 years agoadd these new files to CVS as well
Daniel Stenberg [Thu, 9 Jul 2009 21:55:26 +0000 (21:55 +0000)]
add these new files to CVS as well

15 years ago241 - expose Curl_nonblock as curlx_nonblock
Daniel Stenberg [Thu, 9 Jul 2009 21:50:33 +0000 (21:50 +0000)]
241 - expose Curl_nonblock as curlx_nonblock
done

15 years ago- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
Daniel Stenberg [Thu, 9 Jul 2009 21:47:24 +0000 (21:47 +0000)]
- Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for
  setting a file descriptor non-blocking. Used by the functionality Eric
  himself brough on June 15th.

15 years ago240 - GnuTLS configure fix to find older installations
Daniel Stenberg [Thu, 9 Jul 2009 21:15:12 +0000 (21:15 +0000)]
240 - GnuTLS configure fix to find older installations
done

15 years agobring back the libgnutls-config use for checking for GnuTLS if pkg-config
Daniel Stenberg [Thu, 9 Jul 2009 18:10:25 +0000 (18:10 +0000)]
bring back the libgnutls-config use for checking for GnuTLS if pkg-config
doesn't work, to better fine older gnutls installs

15 years agotwo more pending issues
Daniel Stenberg [Thu, 9 Jul 2009 16:39:38 +0000 (16:39 +0000)]
two more pending issues

15 years ago245 - HTTP version getinfo
Daniel Stenberg [Wed, 8 Jul 2009 16:59:11 +0000 (16:59 +0000)]
245 - HTTP version getinfo

15 years agoupdated with the actions I want to have done before the 7.19.6 release
Daniel Stenberg [Wed, 8 Jul 2009 08:51:32 +0000 (08:51 +0000)]
updated with the actions I want to have done before the 7.19.6 release

15 years agoMarkus Koetter's man page updates for the FTPPORT ranges
Daniel Stenberg [Wed, 8 Jul 2009 07:20:42 +0000 (07:20 +0000)]
Markus Koetter's man page updates for the FTPPORT ranges

15 years ago- Constantine Sapuntzakis posted bug report #2813123
Daniel Stenberg [Wed, 8 Jul 2009 07:00:40 +0000 (07:00 +0000)]
- Constantine Sapuntzakis posted bug report #2813123
  (http://curl.haxx.se/bug/view.cgi?id=2813123) and an a patch that fixes the
  problem:

  Url A is accessed using auth. Url A redirects to Url B (on a different
  server0. Url B reuses a persistent connection. Url B has auth, even though
  it's on a different server.

  Note: if Url B does not reuse a persistent connection, auth is not sent.

15 years agoadded INET_ADDRSTRLEN define in case system headers dont provide.
Gunter Knauf [Sat, 4 Jul 2009 11:27:42 +0000 (11:27 +0000)]
added INET_ADDRSTRLEN define in case system headers dont provide.

15 years agoremoved NIFLAGS which is no longer used; added NI_MAXHOST since its missing with...
Gunter Knauf [Sat, 4 Jul 2009 11:06:00 +0000 (11:06 +0000)]
removed NIFLAGS which is no longer used; added NI_MAXHOST since its missing with some platforms.

15 years agoMarkus Koetter provided a patch to avoid getnameinfo() usage which broke a couple...
Gunter Knauf [Sat, 4 Jul 2009 01:04:23 +0000 (01:04 +0000)]
Markus Koetter provided a patch to avoid getnameinfo() usage which broke a couple of both IPv4 and IPv6 autobuilds.

15 years agosilly typo, pointed out by Fabian Keil
Daniel Stenberg [Tue, 30 Jun 2009 21:32:52 +0000 (21:32 +0000)]
silly typo, pointed out by Fabian Keil

15 years agoTor Arntsen pointed out a missing #ifdef for IPv6, and I changed another one
Daniel Stenberg [Tue, 30 Jun 2009 21:30:39 +0000 (21:30 +0000)]
Tor Arntsen pointed out a missing #ifdef for IPv6, and I changed another one
to use the "standard" ENABLE_IPV6 one. Also, if port number cannot be figured
out to connect to after a name resolve (due to it not being IPv4 or IPv6),
that particular address will now simply be skipped.

15 years agomy CURLINFO_CERTINFO fix
Daniel Stenberg [Mon, 29 Jun 2009 20:46:50 +0000 (20:46 +0000)]
my CURLINFO_CERTINFO fix

15 years ago- Markus Koetter made CURLOPT_FTPPORT (and curl's -P/--ftpport) support a port
Daniel Stenberg [Mon, 29 Jun 2009 20:46:01 +0000 (20:46 +0000)]
- Markus Koetter made CURLOPT_FTPPORT (and curl's -P/--ftpport) support a port
  range if given colon-separated after the host name/address part. Like
  "192.168.0.1:2000-10000"

15 years ago- Modified the separators used for CURLOPT_CERTINFO in multi-part outputs. I
Daniel Stenberg [Mon, 29 Jun 2009 20:45:42 +0000 (20:45 +0000)]
- 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.

15 years agoFixed a compiler warning.
Dan Fandrich [Sat, 27 Jun 2009 06:05:08 +0000 (06:05 +0000)]
Fixed a compiler warning.

15 years agoRefactor how libraries are checked for connect() function, follow-up.
Yang Tse [Sun, 21 Jun 2009 02:42:34 +0000 (02:42 +0000)]
Refactor how libraries are checked for connect() function, follow-up.

15 years agoRefactor how libraries are checked for connect() function,
Yang Tse [Sat, 20 Jun 2009 17:24:43 +0000 (17:24 +0000)]
Refactor how libraries are checked for connect() function,
and check for connect() as it is done for other functions.

15 years agoRemove unneeded defines.
Gisle Vanem [Sat, 20 Jun 2009 13:08:53 +0000 (13:08 +0000)]
Remove unneeded defines.

15 years agoUse select_s() and not select().
Gisle Vanem [Sat, 20 Jun 2009 13:07:59 +0000 (13:07 +0000)]
Use select_s() and not select().

15 years agoavoid pressanykey() call when curl finishes and was launched from bash.
Gunter Knauf [Sat, 20 Jun 2009 10:19:49 +0000 (10:19 +0000)]
avoid pressanykey() call when curl finishes and was launched from bash.

15 years agofix indentation.
Michal Marek [Fri, 19 Jun 2009 10:20:28 +0000 (10:20 +0000)]
fix indentation.

15 years agosclose() function-like macro definition used to close a socket,
Yang Tse [Fri, 19 Jun 2009 00:41:03 +0000 (00:41 +0000)]
sclose() function-like macro definition used to close a socket,
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
config file preprocessor definitions.

15 years agoadd CloseSocket camel case function check
Yang Tse [Thu, 18 Jun 2009 12:36:10 +0000 (12:36 +0000)]
add CloseSocket camel case function check

15 years agocheck for socket() and closesocket() as it is done for other functions
Yang Tse [Wed, 17 Jun 2009 12:52:46 +0000 (12:52 +0000)]
check for socket() and closesocket() as it is done for other functions

15 years agosocket() and closesocket() prototypes might be in socket.h
Yang Tse [Wed, 17 Jun 2009 12:51:24 +0000 (12:51 +0000)]
socket() and closesocket() prototypes might be in socket.h

15 years agocheck for socket() and closesocket() as it is done for other functions
Yang Tse [Wed, 17 Jun 2009 09:12:19 +0000 (09:12 +0000)]
check for socket() and closesocket() as it is done for other functions

15 years agoAdded a few more compiler warning options for gcc.
Dan Fandrich [Wed, 17 Jun 2009 02:26:39 +0000 (02:26 +0000)]
Added a few more compiler warning options for gcc.

15 years ago- Reuven Wachtfogel made curl -o - properly produce a binary output on windows
Daniel Stenberg [Tue, 16 Jun 2009 18:03:28 +0000 (18:03 +0000)]
- Reuven Wachtfogel made curl -o - properly produce a binary output on windows
  (no newline translations). Use -B/--use-ascii if you rather get the ascii
  approach.

15 years ago- When doing non-anonymous ftp via http proxies and the password is not
Michal Marek [Tue, 16 Jun 2009 13:16:28 +0000 (13:16 +0000)]
- When doing non-anonymous ftp via http proxies and the password is not
  provided in the url, add it there (squid needs this).

15 years agofix compiler warning
Yang Tse [Tue, 16 Jun 2009 00:06:30 +0000 (00:06 +0000)]
fix compiler warning

15 years agofixed TRUE/FALSE case typo.
Gunter Knauf [Mon, 15 Jun 2009 23:45:59 +0000 (23:45 +0000)]
fixed TRUE/FALSE case typo.

15 years ago- Eric Wong's patch:
Daniel Stenberg [Mon, 15 Jun 2009 21:13:00 +0000 (21:13 +0000)]
- Eric Wong's patch:

  This allows curl(1) to be used as a client-side tunnel for arbitrary stream
  protocols by abusing chunked transfer encoding in both the HTTP request and
  HTTP response.  This requires server support for sending a response while a
  request is still being read, of course.

  If attempting to read from stdin returns EAGAIN, then we pause our sender.
  This leaves curl to attempt to read from the socket while reading from stdin
  (and thus sending) is paused.

15 years agocurl_multi_socket_action() is the one to use nowadays, as Mohun Biswas
Daniel Stenberg [Mon, 15 Jun 2009 20:49:23 +0000 (20:49 +0000)]
curl_multi_socket_action() is the one to use nowadays, as Mohun Biswas
pointed out!

15 years agoReplaced use of standard C library rand()/srand() by our own pseudo-random number...
Patrick Monnerat [Mon, 15 Jun 2009 10:15:28 +0000 (10:15 +0000)]
Replaced use of standard C library rand()/srand() by our own pseudo-random number generator.

15 years agoDEBUGBUILD / CURLDEBUG decoupling follow-up
Yang Tse [Mon, 15 Jun 2009 02:30:22 +0000 (02:30 +0000)]
DEBUGBUILD / CURLDEBUG decoupling follow-up

15 years ago DEBUGBUILD / CURLDEBUG decoupling follow-up
Yang Tse [Mon, 15 Jun 2009 02:29:49 +0000 (02:29 +0000)]
 DEBUGBUILD / CURLDEBUG decoupling follow-up

15 years agoRemove HAVE_CONFIG_H definition from here,
Yang Tse [Sat, 13 Jun 2009 20:52:30 +0000 (20:52 +0000)]
Remove HAVE_CONFIG_H definition from here,
CFLAGS from common.dj already defines it.

15 years agoadd default USE_CURLDEBUG setting
Yang Tse [Sat, 13 Jun 2009 20:47:19 +0000 (20:47 +0000)]
add default USE_CURLDEBUG setting

15 years agoinitial step towards decoupling c-ares from libcurl for DOS
Yang Tse [Sat, 13 Jun 2009 18:13:00 +0000 (18:13 +0000)]
initial step towards decoupling c-ares from libcurl for DOS

15 years agoimprove usability with UNIX-like shells or a DOS command interpreters
Yang Tse [Sat, 13 Jun 2009 18:11:17 +0000 (18:11 +0000)]
improve usability with UNIX-like shells or a DOS command interpreters

15 years agodon't ignore these subdirs, they must be removed first
Yang Tse [Sat, 13 Jun 2009 01:44:45 +0000 (01:44 +0000)]
don't ignore these subdirs, they must be removed first

15 years agoRemove DEBUGBUILD symbol definition, is not required for programs using the library.
Yang Tse [Sat, 13 Jun 2009 01:02:04 +0000 (01:02 +0000)]
Remove DEBUGBUILD symbol definition, is not required for programs using the library.

15 years agoDEBUGBUILD symbol definition for debug builds
Yang Tse [Sat, 13 Jun 2009 00:52:48 +0000 (00:52 +0000)]
DEBUGBUILD symbol definition for debug builds

15 years agoignore some subdirs
Yang Tse [Sat, 13 Jun 2009 00:30:08 +0000 (00:30 +0000)]
ignore some subdirs

15 years agofix comment
Yang Tse [Sat, 13 Jun 2009 00:20:41 +0000 (00:20 +0000)]
fix comment

15 years agoTry to make more clear that --enable-curldebug has nothing to do with --enable-debug...
Yang Tse [Fri, 12 Jun 2009 23:51:28 +0000 (23:51 +0000)]
Try to make more clear that --enable-curldebug has nothing to do with --enable-debug for this library.

15 years agoRevert last change, it is inappropriate.
Yang Tse [Fri, 12 Jun 2009 23:50:33 +0000 (23:50 +0000)]
Revert last change, it is inappropriate.

15 years agoReplace CURLDEBUG with DEBUGBUILD.
Gisle Vanem [Fri, 12 Jun 2009 14:15:13 +0000 (14:15 +0000)]
Replace CURLDEBUG with DEBUGBUILD.

15 years agofix compiler warning
Yang Tse [Fri, 12 Jun 2009 09:01:41 +0000 (09:01 +0000)]
fix compiler warning

15 years agoFixed to take in account the different interpretation of double
Yang Tse [Fri, 12 Jun 2009 08:40:55 +0000 (08:40 +0000)]
Fixed to take in account the different interpretation of double
quootes on UNIX-like shells vs DOS-like command interpreters.

15 years agoinclude <limits.h> for INT_MAX definition
Yang Tse [Fri, 12 Jun 2009 02:47:35 +0000 (02:47 +0000)]
include <limits.h> for INT_MAX definition

15 years agofix compiler warning
Yang Tse [Fri, 12 Jun 2009 02:41:16 +0000 (02:41 +0000)]
fix compiler warning

15 years agofix compiler warning
Yang Tse [Thu, 11 Jun 2009 17:46:33 +0000 (17:46 +0000)]
fix compiler warning

15 years agowhen running automake copy missing files instead of symlinking them
Yang Tse [Thu, 11 Jun 2009 17:46:12 +0000 (17:46 +0000)]
when running automake copy missing files instead of symlinking them

15 years agoDOS adjustments
Yang Tse [Thu, 11 Jun 2009 16:43:47 +0000 (16:43 +0000)]
DOS adjustments

15 years agoadded header inclusion guard
Yang Tse [Thu, 11 Jun 2009 11:57:46 +0000 (11:57 +0000)]
added header inclusion guard

15 years agomention configure --enable-curldebug decoupled from --enable-debug
Yang Tse [Thu, 11 Jun 2009 01:51:45 +0000 (01:51 +0000)]
mention configure --enable-curldebug decoupled from --enable-debug

15 years agochanged testcurl script to allow building test harness
Yang Tse [Thu, 11 Jun 2009 01:22:35 +0000 (01:22 +0000)]
changed testcurl script to allow building test harness
programs when cross-compiling for a *-*-mingw* host.

15 years ago- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
Daniel Stenberg [Wed, 10 Jun 2009 21:26:11 +0000 (21:26 +0000)]
- Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and
  contributed a range of patches to fix them.

15 years agoextended the CURLOPT_HEADERFUNCTION description with Aaron Oneal's help
Daniel Stenberg [Wed, 10 Jun 2009 18:43:07 +0000 (18:43 +0000)]
extended the CURLOPT_HEADERFUNCTION description with Aaron Oneal's help

15 years agoVMS adjustments
Yang Tse [Wed, 10 Jun 2009 18:02:11 +0000 (18:02 +0000)]
VMS adjustments

15 years agoENH: extract version from curlver.h
Bill Hoffman [Wed, 10 Jun 2009 14:08:00 +0000 (14:08 +0000)]
ENH: extract version from curlver.h

15 years agoVMS adjustment
Yang Tse [Wed, 10 Jun 2009 12:59:59 +0000 (12:59 +0000)]
VMS adjustment

15 years agofix language in comment
Yang Tse [Wed, 10 Jun 2009 04:25:01 +0000 (04:25 +0000)]
fix language in comment

15 years agoTrackMemory is another feature not supported by curl-config
Yang Tse [Wed, 10 Jun 2009 04:06:06 +0000 (04:06 +0000)]
TrackMemory is another feature not supported by curl-config

15 years agoAdjusted to take in account that...
Yang Tse [Wed, 10 Jun 2009 02:49:42 +0000 (02:49 +0000)]
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)

15 years agoAdded --enable-curldebug configure option to enable and disable building
Yang Tse [Tue, 9 Jun 2009 17:59:28 +0000 (17:59 +0000)]
Added --enable-curldebug configure option to enable and disable building
with the low-level curl debug memory tracking 'feature' to allow decoupled
setting from --enable-debug.

15 years agoc-ares' --enable-debug --enable-curldebug decoupling follow-up
Yang Tse [Tue, 9 Jun 2009 17:58:34 +0000 (17:58 +0000)]
c-ares' --enable-debug --enable-curldebug decoupling follow-up

15 years agoENH: lower case cmake functions and remove tabs and re-indent cmake code
Bill Hoffman [Tue, 9 Jun 2009 17:29:16 +0000 (17:29 +0000)]
ENH: lower case cmake functions and remove tabs and re-indent cmake code

15 years agoproviding two more answers
Daniel Stenberg [Tue, 9 Jun 2009 09:02:39 +0000 (09:02 +0000)]
providing two more answers

15 years agoinitialize fread callback pointer to avoid compiler warning
Yang Tse [Tue, 9 Jun 2009 00:49:34 +0000 (00:49 +0000)]
initialize fread callback pointer to avoid compiler warning

15 years agofix compiler warning
Yang Tse [Tue, 9 Jun 2009 00:00:28 +0000 (00:00 +0000)]
fix compiler warning