platform/upstream/curl.git
15 years agoInclude the Android make file in the source package even though the
Dan Fandrich [Tue, 11 Aug 2009 18:11:40 +0000 (18:11 +0000)]
Include the Android make file in the source package even though the
config.h issue hasn't been completely solved.  This will save some effort
for someone desperate to use curl on Android.

15 years agoFix definition of CURLOPT_SOCKS5_GSSAPI_SERVICE from LONG to OBJECTPOINT
Patrick Monnerat [Tue, 11 Aug 2009 14:07:08 +0000 (14:07 +0000)]
Fix definition of CURLOPT_SOCKS5_GSSAPI_SERVICE from LONG to OBJECTPOINT
Fix OS400 makefile for tests to use the new Makefile.inc in libtest
Update the OS400 wrappers and RPG binding according to the current CVS source state

15 years agoAdded links to more details on most issues. Moved all these issues to 7.19.7
Daniel Stenberg [Tue, 11 Aug 2009 07:56:16 +0000 (07:56 +0000)]
Added links to more details on most issues. Moved all these issues to 7.19.7
now since we won't manage to get them done for 7.19.6.

15 years agoFixed a memory leak in the FTP code and an off-by-one heap buffer overflow.
Dan Fandrich [Tue, 11 Aug 2009 02:30:53 +0000 (02:30 +0000)]
Fixed a memory leak in the FTP code and an off-by-one heap buffer overflow.

15 years agoFixed some memory leaks in the command-line tool that caused most of the
Dan Fandrich [Sun, 9 Aug 2009 23:15:20 +0000 (23:15 +0000)]
Fixed some memory leaks in the command-line tool that caused most of the
torture tests to fail.

15 years agofix cast for some systems which are broken due to absense of socklen_t, therefore...
Gunter Knauf [Fri, 7 Aug 2009 23:32:38 +0000 (23:32 +0000)]
fix cast for some systems which are broken due to absense of socklen_t, therefore now use curl_socklen_t.

15 years agoadded a cast to silent compiler warning with 64bit systems.
Gunter Knauf [Thu, 6 Aug 2009 13:23:00 +0000 (13:23 +0000)]
added a cast to silent compiler warning with 64bit systems.

15 years agofixed cast added with last commit.
Gunter Knauf [Thu, 6 Aug 2009 12:02:00 +0000 (12:02 +0000)]
fixed cast added with last commit.

15 years agocast to fix 64bit build warnings. From manpage:
Gunter Knauf [Thu, 6 Aug 2009 11:10:30 +0000 (11:10 +0000)]
cast to fix 64bit build warnings. From manpage:
POSIX.1-2001. Note that RFC 2553 defines a prototype where the last parameter cnt is of type size_t.
Many systems follow RFC 2553. Glibc 2.0 and 2.1 have size_t, but 2.2 has socklen_t.

15 years agoRFC1867 was updated by RFC2388
Daniel Stenberg [Tue, 4 Aug 2009 12:02:27 +0000 (12:02 +0000)]
RFC1867 was updated by RFC2388

15 years agoavoid possible NULL dereference caused by my previous fix
Daniel Stenberg [Mon, 3 Aug 2009 14:07:57 +0000 (14:07 +0000)]
avoid possible NULL dereference caused by my previous fix

15 years agoRemove call to LoadLibrary(). (leftover from debugging).
Gisle Vanem [Mon, 3 Aug 2009 12:20:03 +0000 (12:20 +0000)]
Remove call to LoadLibrary(). (leftover from debugging).

15 years agoFix bad sentence.
Gisle Vanem [Mon, 3 Aug 2009 12:16:00 +0000 (12:16 +0000)]
Fix bad sentence.

15 years ago- Timo Teras changed the reason code used in the resolve callback done when
Daniel Stenberg [Mon, 3 Aug 2009 11:51:06 +0000 (11:51 +0000)]
- Timo Teras changed the reason code used in the resolve callback done when
  ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to
  better allow the callback to know what's happening.

15 years ago256 - "More questions about ares behavior"
Daniel Stenberg [Mon, 3 Aug 2009 11:39:43 +0000 (11:39 +0000)]
256 - "More questions about ares behavior"
yet another issue not yet sorted out

15 years agoindentation fixes only
Daniel Stenberg [Mon, 3 Aug 2009 11:32:55 +0000 (11:32 +0000)]
indentation fixes only

15 years ago- Joshua Kwan fixed the init routine to fill in the defaults for stuff that
Daniel Stenberg [Mon, 3 Aug 2009 11:29:17 +0000 (11:29 +0000)]
- Joshua Kwan fixed the init routine to fill in the defaults for stuff that
  fails to get inited by other means. This fixes a case of when the c-ares
  init fails when internet access is fone.

15 years agorespect error code from ftruncate(), mentioned by Peter Sylvester
Daniel Stenberg [Mon, 3 Aug 2009 09:06:35 +0000 (09:06 +0000)]
respect error code from ftruncate(), mentioned by Peter Sylvester

15 years agoReverted the zero-byte-in-name check to instead rely on the fact that strlen
Daniel Stenberg [Mon, 3 Aug 2009 08:45:19 +0000 (08:45 +0000)]
Reverted the zero-byte-in-name check to instead rely on the fact that strlen
and the name length differ in those cases and thus leave the matching function
unmodified from before, as the matching functions never have to bother with
the zero bytes in legitimate cases. Peter Sylvester helped me realize that
this fix is slightly better as it leaves more code unmodified and makes the
detection a bit more obvious in the code.

15 years agoclarified configure detection of GnuTLS
Daniel Stenberg [Sun, 2 Aug 2009 22:38:15 +0000 (22:38 +0000)]
clarified configure detection of GnuTLS

15 years agoExtended my embedded-zero-in-cert-name fix based on a comment from Scott
Daniel Stenberg [Sun, 2 Aug 2009 22:34:00 +0000 (22:34 +0000)]
Extended my embedded-zero-in-cert-name fix based on a comment from Scott
Cantor. My previous attempt was half-baked and didn't cover the normal CN
case.

15 years agomention two crashing bugs we'd like fixed
Daniel Stenberg [Sun, 2 Aug 2009 21:43:04 +0000 (21:43 +0000)]
mention two crashing bugs we'd like fixed

15 years agoclarify the description of the null byte in cert name fix
Daniel Stenberg [Sat, 1 Aug 2009 22:18:37 +0000 (22:18 +0000)]
clarify the description of the null byte in cert name fix

15 years ago- Curt Bogmine reported a problem with SNI enabled on a particular server. We
Daniel Stenberg [Sat, 1 Aug 2009 22:11:58 +0000 (22:11 +0000)]
- Curt Bogmine reported a problem with SNI enabled on a particular server. We
  should introduce an option to disable SNI, but as we're in feature freeze
  now I've addressed the obvious bug here (pointed out by Peter Sylvester): we
  shouldn't try to enable SNI when SSLv2 or SSLv3 is explicitly selected.
  Code for OpenSSL and GnuTLS was fixed. NSS doesn't seem to have a particular
  option for SNI, or are we simply not using it?

15 years ago- Scott Cantor posted the bug report #2829955
Daniel Stenberg [Sat, 1 Aug 2009 21:56:59 +0000 (21:56 +0000)]
- Scott Cantor posted the bug report #2829955
  (http://curl.haxx.se/bug/view.cgi?id=2829955) mentioning the recent SSL cert
  verification flaw found and exploited by Moxie Marlinspike. The presentation
  he did at Black Hat is available here:
  https://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike

  Apparently at least one CA allowed a subjectAltName or CN that contain a
  zero byte, and thus clients that assumed they would never have zero bytes
  were exploited to OK a certificate that didn't actually match the site. Like
  if the name in the cert was "example.com\0theatualsite.com", libcurl would
  happily verify that cert for example.com.

  libcurl now better use the length of the extracted name, not assuming it is
  zero terminated.

15 years ago- Tanguy Fautre pointed out that OpenSSL's function RAND_screen() (present
Daniel Stenberg [Sat, 1 Aug 2009 11:09:02 +0000 (11:09 +0000)]
- Tanguy Fautre pointed out that OpenSSL's function RAND_screen() (present
  only in some OpenSSL installs - like on Windows) isn't thread-safe and we
  agreed that moving it to the global_init() function is a decent way to deal
  with this situation.

15 years ago- Alexander Beedie provided the patch for a noproxy problem: If I have set
Daniel Stenberg [Sat, 1 Aug 2009 11:02:10 +0000 (11:02 +0000)]
- Alexander Beedie provided the patch for a noproxy problem: If I have set
  CURLOPT_NOPROXY to "*", or to a host that should not use a proxy, I actually
  could still end up using a proxy if a proxy environment variable was set.

15 years agoupdated with recent issues
Daniel Stenberg [Sat, 1 Aug 2009 08:18:33 +0000 (08:18 +0000)]
updated with recent issues

15 years ago67. When creating multipart formposts. The file name part can be encoded with
Daniel Stenberg [Fri, 31 Jul 2009 11:16:04 +0000 (11:16 +0000)]
67. When creating multipart formposts. The file name part can be encoded with
  something beyond ascii but currently libcurl will only pass in the verbatim
  string the app provides. There are several browsers that already do this
  encoding. The key seems to be the updated draft to RFC2231:
  http://tools.ietf.org/html/draft-reschke-rfc2231-in-http-02

15 years agoCopy the libcurl header files into the right location for Android.
Dan Fandrich [Fri, 31 Jul 2009 00:10:38 +0000 (00:10 +0000)]
Copy the libcurl header files into the right location for Android.

15 years agouse --insecure for the SFTP and SCP tests
Daniel Stenberg [Tue, 28 Jul 2009 17:55:00 +0000 (17:55 +0000)]
use --insecure for the SFTP and SCP tests

15 years agomoved the changes that aren't strictly bugfixes until after 7.19.6 since I
Daniel Stenberg [Mon, 27 Jul 2009 21:14:30 +0000 (21:14 +0000)]
moved the changes that aren't strictly bugfixes until after 7.19.6 since I
can't seem to catch up

243 - ftp QUOTE commands that are allowed to fail but not close the connection
is done

15 years ago- All the quote options (CURLOPT_QUOTE, CURLOPT_POSTQUOTE and
Daniel Stenberg [Mon, 27 Jul 2009 18:36:56 +0000 (18:36 +0000)]
- All the quote options (CURLOPT_QUOTE, CURLOPT_POSTQUOTE and
  CURLOPT_PREQUOTE) now accept a preceeding asterisk before the command to
  send when using FTP, as a sign that libcurl shall simply ignore the response
  from the server instead of treating it as an error. Not treating a 400+ FTP
  response code as an error means that failed commands will not abort the
  chain of commands, nor will they cause the connection to get disconnected.

15 years agoFrom: Johan van Selst
Daniel Stenberg [Mon, 27 Jul 2009 18:31:48 +0000 (18:31 +0000)]
From: Johan van Selst
"you replaced the old SSLeay_add_ssl_algorithms() call
with OpenSSL_add_all_algorithms(), however unlike the name suggests,
the second function is not a superset of the first. When using SSL
both these functions will need to be called in order to offer complete
functionality"

15 years ago- Bug report #2825989 (http://curl.haxx.se/bug/view.cgi?id=2825989) pointed
Daniel Stenberg [Sun, 26 Jul 2009 17:33:36 +0000 (17:33 +0000)]
- Bug report #2825989 (curl.haxx.se/bug/view.cgi?id=2825989) pointed
  out that OpenSSL-powered libcurl didn't support the SHA-2 digest algorithm,
  and provided the solution too: to use OpenSSL_add_all_algorithms() instead
  of the older SSLeay_* alternative. OpenSSL_add_all_algorithms was added in
  OpenSSL 0.9.5

15 years agoproperly free data returned by aprintf(), and bring back the code to be
Daniel Stenberg [Sat, 25 Jul 2009 18:09:57 +0000 (18:09 +0000)]
properly free data returned by aprintf(), and bring back the code to be
independent of libssh2 version as the client code isn't really meant to adapt
to such build-time constraints.

15 years agoblocked new stuff with HAVE_LIBSSH2_KNOWNHOST_API to check if this is our current...
Gunter Knauf [Sat, 25 Jul 2009 04:16:00 +0000 (04:16 +0000)]
blocked  new stuff with HAVE_LIBSSH2_KNOWNHOST_API to check if this is our current memory leak.

15 years agochanges to silent compiler warnings with 64bit systems.
Gunter Knauf [Fri, 24 Jul 2009 22:20:22 +0000 (22:20 +0000)]
changes to silent compiler warnings with 64bit systems.

15 years agochanges to silent compiler warnings with 64bit systems.
Gunter Knauf [Fri, 24 Jul 2009 22:06:19 +0000 (22:06 +0000)]
changes to silent compiler warnings with 64bit systems.

15 years agochanges to silent compiler warnings with 64bit systems.
Gunter Knauf [Thu, 23 Jul 2009 04:53:08 +0000 (04:53 +0000)]
changes to silent compiler warnings with 64bit systems.

15 years agofixed brace error.
Gunter Knauf [Thu, 23 Jul 2009 03:54:01 +0000 (03:54 +0000)]
fixed brace error.

15 years agochanges to silent compiler warnings with 64bit systems.
Gunter Knauf [Thu, 23 Jul 2009 02:48:05 +0000 (02:48 +0000)]
changes to silent compiler warnings with 64bit systems.

15 years agoblocked sshkeycallback() with HAVE_LIBSSH2_KNOWNHOST_API to avoid compiler warnings.
Gunter Knauf [Thu, 23 Jul 2009 02:15:00 +0000 (02:15 +0000)]
blocked sshkeycallback() with HAVE_LIBSSH2_KNOWNHOST_API to avoid compiler warnings.

15 years ago242 - SSH knownhost support (powered by libssh2 1.2)
Daniel Stenberg [Wed, 22 Jul 2009 22:51:00 +0000 (22:51 +0000)]
242 - SSH knownhost support (powered by libssh2 1.2)
Committed now. Not yet thoroughly degbugged etc, but at least the funtionality
is now present.

15 years ago- Added CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION, CURLOPT_SSH_KEYDATA.
Daniel Stenberg [Wed, 22 Jul 2009 22:49:01 +0000 (22:49 +0000)]
- Added CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION, CURLOPT_SSH_KEYDATA.
  They introduce known_host support for SSH keys to libcurl. See docs for
  details.

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.