platform/upstream/curl.git
16 years agothree more patches in the pipe
Daniel Stenberg [Mon, 29 Sep 2008 06:07:20 +0000 (06:07 +0000)]
three more patches in the pipe

16 years agoFixed a few comment typos
Dan Fandrich [Fri, 26 Sep 2008 19:55:12 +0000 (19:55 +0000)]
Fixed a few comment typos

16 years agoif a test execution is aborted due to a signal, and the process
Yang Tse [Fri, 26 Sep 2008 18:56:56 +0000 (18:56 +0000)]
if a test execution is aborted due to a signal, and the process
returns no other exitcode, use 2000 + signal number as return code

16 years agosiginterrupt, signal and sigsetjmp checks
Yang Tse [Fri, 26 Sep 2008 18:28:32 +0000 (18:28 +0000)]
siginterrupt, signal and sigsetjmp checks

16 years agomore
Daniel Stenberg [Fri, 26 Sep 2008 18:17:01 +0000 (18:17 +0000)]
more

16 years agouse shift right. Division result is not integral.
Yang Tse [Fri, 26 Sep 2008 14:08:33 +0000 (14:08 +0000)]
use shift right. Division result is not integral.

16 years agoAvoid the use of the '? :' operator inside the call to our
Yang Tse [Fri, 26 Sep 2008 11:21:22 +0000 (11:21 +0000)]
Avoid the use of the '? :' operator inside the call to our
test-server logging function. It doesn't work on some systems.

16 years agoattempt to avoid HTTP server startup misdetection on some systems
Yang Tse [Fri, 26 Sep 2008 01:08:24 +0000 (01:08 +0000)]
attempt to avoid HTTP server startup misdetection on some systems

16 years agofix potential buffer overflow in test-server logging function
Yang Tse [Fri, 26 Sep 2008 00:17:01 +0000 (00:17 +0000)]
fix potential buffer overflow in test-server logging function

16 years agogive proper credit!
Daniel Stenberg [Thu, 25 Sep 2008 22:35:57 +0000 (22:35 +0000)]
give proper credit!

16 years ago- Fixed the HTTP Digest auth code to not behave badly when getting a blank realm
Daniel Stenberg [Thu, 25 Sep 2008 14:09:22 +0000 (14:09 +0000)]
- Fixed the HTTP Digest auth code to not behave badly when getting a blank realm
  with realm="". http://curl.haxx.se/bug/view.cgi?id=2126435

16 years agoHAVE_INET_PTON will only be defined when an IPv6 capable working
Yang Tse [Wed, 24 Sep 2008 19:13:01 +0000 (19:13 +0000)]
HAVE_INET_PTON will only be defined when an IPv6 capable working
inet_pton function is available.

16 years agoconfigure script now checks availability of the inet_ntop() function,
Yang Tse [Wed, 24 Sep 2008 16:43:40 +0000 (16:43 +0000)]
configure script now checks availability of the inet_ntop() function,
and when not crosscompiling verifies if it is IPv6 capable.

HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.

16 years agoHAVE_INET_NTOP will only be defined when an IPv6 capable working
Yang Tse [Wed, 24 Sep 2008 16:43:12 +0000 (16:43 +0000)]
HAVE_INET_NTOP will only be defined when an IPv6 capable working
inet_ntop function is available.

16 years agoOfficial OpenSSL released versions up to and including 0.9.8i as well as
Yang Tse [Wed, 24 Sep 2008 13:55:23 +0000 (13:55 +0000)]
Official OpenSSL released versions up to and including 0.9.8i as well as
2008-09-24 stable snapshot have a buf_mem_st.length structure member with
'int' data type.

OpenSSL un-released 0.9.9 CVS version has a buf_mem_st.length structure member
with 'size_t' data type since 2007-Oct-09.

These 4 typecasts should silence compiler warnings in all cases.

16 years agotemporarily enable CURL_CHECK_FUNC_INET_NTOA_R
Yang Tse [Wed, 24 Sep 2008 12:38:11 +0000 (12:38 +0000)]
temporarily enable CURL_CHECK_FUNC_INET_NTOA_R

16 years agontoa() and inet_ntoa_r() no longer used
Yang Tse [Wed, 24 Sep 2008 12:22:16 +0000 (12:22 +0000)]
ntoa() and inet_ntoa_r() no longer used

16 years ago4.16 My HTTP POST or PUT requests are slow!
Daniel Stenberg [Wed, 24 Sep 2008 07:50:46 +0000 (07:50 +0000)]
4.16 My HTTP POST or PUT requests are slow!

16 years agoAdded "5.14 Using C++ non-static functions for callbacks?"
Daniel Stenberg [Wed, 24 Sep 2008 07:39:42 +0000 (07:39 +0000)]
Added "5.14 Using C++ non-static functions for callbacks?"

16 years agoRe-enable test #100 on i686 icc autobuilds
Yang Tse [Wed, 24 Sep 2008 01:29:23 +0000 (01:29 +0000)]
Re-enable test #100 on i686 icc autobuilds

16 years agoMake sure not to dereference the wrong UrlState proto union member when
Dan Fandrich [Wed, 24 Sep 2008 01:08:01 +0000 (01:08 +0000)]
Make sure not to dereference the wrong UrlState proto union member when
switching from one protocol to another in a single request (e.g.
redirecting from HTTP to FTP as in test 1055) by resetting
state.expect100header before every request.

16 years agoRemove usage of inet_ntoa and inet_ntoa_r
Yang Tse [Tue, 23 Sep 2008 19:17:19 +0000 (19:17 +0000)]
Remove usage of inet_ntoa and inet_ntoa_r

16 years agoReplace inet_ntoa and inet_ntoa_r with Curl_inet_ntop
Yang Tse [Tue, 23 Sep 2008 19:16:56 +0000 (19:16 +0000)]
Replace inet_ntoa and inet_ntoa_r with Curl_inet_ntop

16 years agoAvoid 'warning: comparison between signed and unsigned'.
Gisle Vanem [Tue, 23 Sep 2008 13:16:36 +0000 (13:16 +0000)]
Avoid 'warning: comparison between signed and unsigned'.

16 years ago172 was applied, 173 is now being discussed
Daniel Stenberg [Tue, 23 Sep 2008 11:31:57 +0000 (11:31 +0000)]
172 was applied, 173 is now being discussed

16 years agoremove the entire comment now when we no longer set TZ
Daniel Stenberg [Tue, 23 Sep 2008 11:02:56 +0000 (11:02 +0000)]
remove the entire comment now when we no longer set TZ

16 years ago- Introducing Jamie Lokier's function for date to epoch conversion used in the
Daniel Stenberg [Tue, 23 Sep 2008 11:00:01 +0000 (11:00 +0000)]
- Introducing Jamie Lokier's function for date to epoch conversion used in the
  date parser function. This makes our function less dependent on system-
  provided functions and instead we do all the magic ourselves. We also no
  longer depend on the TZ environment variable.

16 years agoissue #171 is now in CVS
Daniel Stenberg [Tue, 23 Sep 2008 10:27:41 +0000 (10:27 +0000)]
issue #171 is now in CVS

16 years ago- Rob Crittenden brought a patch to "add some locking for thread-safety to NSS
Daniel Stenberg [Tue, 23 Sep 2008 10:27:04 +0000 (10:27 +0000)]
- Rob Crittenden brought a patch to "add some locking for thread-safety to NSS
  implementation".

16 years ago- Made the SOCKS code use the new Curl_read_plain() function to fix the bug
Daniel Stenberg [Mon, 22 Sep 2008 23:12:00 +0000 (23:12 +0000)]
- Made the SOCKS code use the new Curl_read_plain() function to fix the bug
  Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html

- recv() errors other than those equal to EAGAIN now cause proper
  CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now
  disabled it until we can figure out another way to exercise that logic.

16 years agoremoved issue #162 as mentioned on the mailing list http://curl.haxx.se/mail/archive...
Daniel Stenberg [Mon, 22 Sep 2008 22:27:43 +0000 (22:27 +0000)]
removed issue #162 as mentioned on the mailing list curl.haxx.se/mail/archive-2008-09/0086.html

16 years agobetter description
Daniel Stenberg [Mon, 22 Sep 2008 21:33:18 +0000 (21:33 +0000)]
better description

16 years ago- Michael Goffioul filed bug report #2107377 "Problem with mutli + GnuTLS +
Daniel Stenberg [Mon, 22 Sep 2008 20:42:13 +0000 (20:42 +0000)]
- Michael Goffioul filed bug report #2107377 "Problem with mutli + GnuTLS +
  proxy" (http://curl.haxx.se/bug/view.cgi?id=2107377) that showed how a multi
  interface using program didn't work when built with GnuTLS and a CONNECT
  request was done over a proxy (basically test 502 over a proxy to a HTTPS
  site). It turned out the ssl connect function would get called twice which
  caused the second call to fail.

16 years agoRe-enable tests #1 on i686 icc autobuilds
Yang Tse [Mon, 22 Sep 2008 18:55:42 +0000 (18:55 +0000)]
Re-enable tests #1 on i686 icc autobuilds

16 years agoicc adjustments for icc 9.0 and prior versions:
Yang Tse [Mon, 22 Sep 2008 18:42:48 +0000 (18:42 +0000)]
icc adjustments for icc 9.0 and prior versions:

  Disable remark #279: controlling expression is constant

      Remark triggered mostly on va_arg() and FD_ZERO() macros.

16 years agoArgument to CURLMOPT_MAXCONNECTS must be a long
Dan Fandrich [Mon, 22 Sep 2008 17:27:24 +0000 (17:27 +0000)]
Argument to CURLMOPT_MAXCONNECTS must be a long

16 years agoFixed test 539 to handle an out of memory condition that shows up now
Dan Fandrich [Mon, 22 Sep 2008 17:20:29 +0000 (17:20 +0000)]
Fixed test 539 to handle an out of memory condition that shows up now
that memdebug.h is included in the test programs.

16 years agoattempt to make work the gethostname function
Yang Tse [Mon, 22 Sep 2008 00:44:10 +0000 (00:44 +0000)]
attempt to make work the gethostname function
check for winsock build target configurations

16 years ago#175 has a patch
Daniel Stenberg [Sun, 21 Sep 2008 22:20:59 +0000 (22:20 +0000)]
#175 has a patch

16 years agothree new topics to check out
Daniel Stenberg [Sun, 21 Sep 2008 21:36:13 +0000 (21:36 +0000)]
three new topics to check out

16 years agoAdded HAVE_NETDB_H, HAVE_ARPA_INET_H, HAVE_STRCASECMP
Gisle Vanem [Sun, 21 Sep 2008 13:03:07 +0000 (13:03 +0000)]
Added HAVE_NETDB_H, HAVE_ARPA_INET_H, HAVE_STRCASECMP
and HAVE_STRNCASECMP.

16 years agofix compiler warning: defined but not used
Yang Tse [Sun, 21 Sep 2008 04:02:13 +0000 (04:02 +0000)]
fix compiler warning: defined but not used

16 years agofix compiler warning: external declaration in primary source file
Yang Tse [Sun, 21 Sep 2008 03:48:25 +0000 (03:48 +0000)]
fix compiler warning: external declaration in primary source file

16 years agofix compiler warning: defined but not used
Yang Tse [Sun, 21 Sep 2008 02:35:20 +0000 (02:35 +0000)]
fix compiler warning: defined but not used

16 years agofix regression in configure script which affected OpenSSL builds on MSYS
Yang Tse [Sat, 20 Sep 2008 12:44:44 +0000 (12:44 +0000)]
fix regression in configure script which affected OpenSSL builds on MSYS

16 years agofix compiler warning: external definition with no prior declaration
Yang Tse [Sat, 20 Sep 2008 12:33:02 +0000 (12:33 +0000)]
fix compiler warning: external definition with no prior declaration

16 years agoinclude "memdebug.h"
Yang Tse [Sat, 20 Sep 2008 04:26:55 +0000 (04:26 +0000)]
include "memdebug.h"

16 years agoHAVE_ALARM definition for static config-*.h files
Yang Tse [Fri, 19 Sep 2008 23:51:16 +0000 (23:51 +0000)]
HAVE_ALARM definition for static config-*.h files

16 years agoconfigure script now checks availability of the alarm() function
Yang Tse [Fri, 19 Sep 2008 18:39:24 +0000 (18:39 +0000)]
configure script now checks availability of the alarm() function

16 years agoOnly define alarmfunc when signals are used
Dan Fandrich [Fri, 19 Sep 2008 17:46:59 +0000 (17:46 +0000)]
Only define alarmfunc when signals are used

16 years agoicc adjustments:
Yang Tse [Fri, 19 Sep 2008 15:59:28 +0000 (15:59 +0000)]
icc adjustments:

  Disable remark #981: operands are evaluated in unspecified order

      Function calls which are triggering this remark, today, do not depend
      on the order of evaluation of its arguments.

  Disable remark #1469: "cc" clobber ignored

      Remark triggered on htons() and ntohs() due to glibc header files.

16 years agoDon't bother to install a SIGALRM handler unless alarm() is available.
Dan Fandrich [Fri, 19 Sep 2008 00:43:51 +0000 (00:43 +0000)]
Don't bother to install a SIGALRM handler unless alarm() is available.
Also, leave the existing SIGALRM handler alone if the timeout is too small
to handle.

16 years agofix compiler warning: external definition with no prior declaration
Yang Tse [Thu, 18 Sep 2008 19:17:28 +0000 (19:17 +0000)]
fix compiler warning: external definition with no prior declaration

16 years agofix compiler warning: external definition with no prior declaration
Yang Tse [Thu, 18 Sep 2008 19:02:40 +0000 (19:02 +0000)]
fix compiler warning: external definition with no prior declaration

16 years agofix compiler warning: external declaration in primary source file
Yang Tse [Thu, 18 Sep 2008 16:21:09 +0000 (16:21 +0000)]
fix compiler warning: external declaration in primary source file

16 years agoicc adjustments
Yang Tse [Thu, 18 Sep 2008 13:56:56 +0000 (13:56 +0000)]
icc adjustments

16 years agosync up with reality
Yang Tse [Thu, 18 Sep 2008 11:35:59 +0000 (11:35 +0000)]
sync up with reality

16 years agofix false negative strerror_r detection
Yang Tse [Thu, 18 Sep 2008 11:21:55 +0000 (11:21 +0000)]
fix false negative strerror_r detection

16 years agofix wrong number used in comparison
Yang Tse [Thu, 18 Sep 2008 10:12:16 +0000 (10:12 +0000)]
fix wrong number used in comparison

16 years agofix wrong variable used in comparison
Yang Tse [Thu, 18 Sep 2008 10:07:52 +0000 (10:07 +0000)]
fix wrong variable used in comparison

16 years agofix netdb.h prerequisite inclusion
Yang Tse [Thu, 18 Sep 2008 02:23:33 +0000 (02:23 +0000)]
fix netdb.h prerequisite inclusion

16 years agoFixed a syntax error
Dan Fandrich [Wed, 17 Sep 2008 17:36:58 +0000 (17:36 +0000)]
Fixed a syntax error

16 years agoRemoved reference to curl-ca-bundle.crt in the host verification failure
Dan Fandrich [Wed, 17 Sep 2008 17:33:23 +0000 (17:33 +0000)]
Removed reference to curl-ca-bundle.crt in the host verification failure
error message.

16 years agoimprove detection of gethostbyaddr_r() and gethostbyname_r()
Yang Tse [Wed, 17 Sep 2008 16:03:49 +0000 (16:03 +0000)]
improve detection of gethostbyaddr_r() and gethostbyname_r()

16 years agoimprove detection of getservbyport_r()
Yang Tse [Wed, 17 Sep 2008 11:31:37 +0000 (11:31 +0000)]
improve detection of getservbyport_r()

16 years agoOn Linux Intel's icc uses gcc's header files, so
Yang Tse [Wed, 17 Sep 2008 09:37:41 +0000 (09:37 +0000)]
On Linux Intel's icc uses gcc's header files, so
we select ANSI C89 dialect plus GNU extensions.

16 years agoimprove detection of gethostname(), localtime_r() and strstr()
Yang Tse [Wed, 17 Sep 2008 08:14:28 +0000 (08:14 +0000)]
improve detection of gethostname(), localtime_r() and strstr()

16 years agoimprove detection of gethostname()
Yang Tse [Wed, 17 Sep 2008 08:14:00 +0000 (08:14 +0000)]
improve detection of gethostname()

16 years agoNetWare builds include "nameser.h" from the c-ares subdir
Yang Tse [Wed, 17 Sep 2008 06:59:31 +0000 (06:59 +0000)]
NetWare builds include "nameser.h" from the c-ares subdir

16 years agoinclude <strings.h>
Yang Tse [Wed, 17 Sep 2008 03:25:52 +0000 (03:25 +0000)]
include <strings.h>

16 years agosync up with reality
Yang Tse [Wed, 17 Sep 2008 01:45:16 +0000 (01:45 +0000)]
sync up with reality

16 years agoSync up with reality
Yang Tse [Wed, 17 Sep 2008 01:33:43 +0000 (01:33 +0000)]
Sync up with reality

16 years agoadjust inclusion of "nameser.h"
Yang Tse [Wed, 17 Sep 2008 01:02:57 +0000 (01:02 +0000)]
adjust inclusion of "nameser.h"

16 years agoreorder some lines in file
Yang Tse [Wed, 17 Sep 2008 00:07:49 +0000 (00:07 +0000)]
reorder some lines in file

16 years agocode cleanup
Yang Tse [Tue, 16 Sep 2008 18:43:25 +0000 (18:43 +0000)]
code cleanup

16 years agoNetWare seems to have writev()
Yang Tse [Tue, 16 Sep 2008 18:23:16 +0000 (18:23 +0000)]
NetWare seems to have writev()

16 years agoNetWare seems to have writev()
Yang Tse [Tue, 16 Sep 2008 18:18:14 +0000 (18:18 +0000)]
NetWare seems to have writev()

16 years agorearrange to allow internal/private use of ares_writev to any system
Yang Tse [Tue, 16 Sep 2008 16:42:48 +0000 (16:42 +0000)]
rearrange to allow internal/private use of ares_writev to any system
that lacks the writev function.

16 years agoNetWare CLIB target has stricmp() and strnicmp()
Yang Tse [Tue, 16 Sep 2008 01:21:04 +0000 (01:21 +0000)]
NetWare CLIB target has stricmp() and strnicmp()

16 years agoChanged the test data file so it passes an XML syntax check
Dan Fandrich [Mon, 15 Sep 2008 22:35:09 +0000 (22:35 +0000)]
Changed the test data file so it passes an XML syntax check

16 years agoNote that the long long issue is fixed in Symbian OS 9.4
Dan Fandrich [Mon, 15 Sep 2008 18:24:23 +0000 (18:24 +0000)]
Note that the long long issue is fixed in Symbian OS 9.4

16 years agoNetWare CLIB target has stricmp() and strnicmp()
Yang Tse [Mon, 15 Sep 2008 17:31:34 +0000 (17:31 +0000)]
NetWare CLIB target has stricmp() and strnicmp()

16 years agoinclude header file only when available
Yang Tse [Mon, 15 Sep 2008 17:14:29 +0000 (17:14 +0000)]
include header file only when available

16 years agoremove debug tracing
Yang Tse [Mon, 15 Sep 2008 15:32:53 +0000 (15:32 +0000)]
remove debug tracing

16 years agorearrange to allow internal/private use of ares_strcasecmp to any system that
Yang Tse [Mon, 15 Sep 2008 15:28:26 +0000 (15:28 +0000)]
rearrange to allow internal/private use of ares_strcasecmp to any system that
lacks the strcasecmp function.

16 years agoHAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32
Yang Tse [Mon, 15 Sep 2008 14:57:56 +0000 (14:57 +0000)]
HAVE_STRNCASECMP and HAVE_STRNICMP definitions for WIN32

16 years agoimprove detection of:
Yang Tse [Mon, 15 Sep 2008 00:32:08 +0000 (00:32 +0000)]
improve detection of:
  strcasecmp()
  strcasestr()
  strcmpi()
  stricmp()
  strlcat()
  strncasecmp()
  strncmpi()
  strnicmp()

16 years agoimprove detection of:
Yang Tse [Mon, 15 Sep 2008 00:31:42 +0000 (00:31 +0000)]
improve detection of:
  strcasecmp()
  strcmpi()
  stricmp()
  strncasecmp()
  strncmpi()
  strnicmp()

16 years agofix compiler warning: external declaration in primary source file
Yang Tse [Sat, 13 Sep 2008 16:37:16 +0000 (16:37 +0000)]
fix compiler warning: external declaration in primary source file

16 years agofix compiler warning: defined but not used
Yang Tse [Sat, 13 Sep 2008 15:59:14 +0000 (15:59 +0000)]
fix compiler warning: defined but not used

16 years agofix compiler warning: external declaration in primary source file
Yang Tse [Sat, 13 Sep 2008 03:55:21 +0000 (03:55 +0000)]
fix compiler warning: external declaration in primary source file

16 years agofix compiler warning: external declaration in primary source file
Yang Tse [Sat, 13 Sep 2008 03:49:33 +0000 (03:49 +0000)]
fix compiler warning: external declaration in primary source file

16 years agoDisable tracking of fdopen() calls in the low-level memory leak tracking
Yang Tse [Sat, 13 Sep 2008 03:45:03 +0000 (03:45 +0000)]
Disable tracking of fdopen() calls in the low-level memory leak tracking
code when fdopen() is not available, to avoid compiler error.

16 years agoremove dead code portion inoperative long time ago
Yang Tse [Sat, 13 Sep 2008 01:54:45 +0000 (01:54 +0000)]
remove dead code portion inoperative long time ago

16 years ago*** empty log message ***
Yang Tse [Sat, 13 Sep 2008 01:35:15 +0000 (01:35 +0000)]
*** empty log message ***

16 years agofix compiler warning: enumerated type mixed with another type
Yang Tse [Sat, 13 Sep 2008 01:12:07 +0000 (01:12 +0000)]
fix compiler warning: enumerated type mixed with another type

16 years agodjgpp does have strdup().
Gisle Vanem [Fri, 12 Sep 2008 14:13:36 +0000 (14:13 +0000)]
djgpp does have strdup().

16 years agosync with reality
Yang Tse [Fri, 12 Sep 2008 11:19:54 +0000 (11:19 +0000)]
sync with reality

16 years agoANSI C compatibility adjustment
Yang Tse [Fri, 12 Sep 2008 11:18:17 +0000 (11:18 +0000)]
ANSI C compatibility adjustment

16 years agoensure that errno is not modified inside Curl_strerror()
Yang Tse [Fri, 12 Sep 2008 10:51:57 +0000 (10:51 +0000)]
ensure that errno is not modified inside Curl_strerror()