platform/upstream/curl.git
15 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

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

15 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

15 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

15 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

15 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.

15 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.

15 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

15 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

15 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

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

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

15 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

15 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

15 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

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

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

15 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.

15 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()

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

15 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.

15 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()

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

15 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

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

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

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

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

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

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

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

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

15 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.

15 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()

15 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

15 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

15 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()

15 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

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

15 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.

15 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

15 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()

15 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()

15 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

15 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

15 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

15 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

15 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.

15 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

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

15 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

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

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

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

15 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()

15 years agoalso check for an 'unsigned int' for third argument of strerror_r()
Yang Tse [Fri, 12 Sep 2008 10:47:02 +0000 (10:47 +0000)]
also check for an 'unsigned int' for third argument of strerror_r()

15 years agoimprove detection of strerror_r()
Yang Tse [Fri, 12 Sep 2008 07:38:44 +0000 (07:38 +0000)]
improve detection of strerror_r()

15 years agochange CRLF into LF line endings
Yang Tse [Fri, 12 Sep 2008 05:08:18 +0000 (05:08 +0000)]
change CRLF into LF line endings

15 years agoANSI C compatibility fix
Yang Tse [Fri, 12 Sep 2008 03:24:27 +0000 (03:24 +0000)]
ANSI C compatibility fix

15 years agoadd some debug tracing
Yang Tse [Fri, 12 Sep 2008 01:42:07 +0000 (01:42 +0000)]
add some debug tracing

15 years agoimprove detection of fdopen() and strerror_r()
Yang Tse [Fri, 12 Sep 2008 01:16:26 +0000 (01:16 +0000)]
improve detection of fdopen() and strerror_r()

15 years agodo not check if gmtime_r usage is allowed when a previous check has failed
Yang Tse [Thu, 11 Sep 2008 04:15:43 +0000 (04:15 +0000)]
do not check if gmtime_r usage is allowed when a previous check has failed

15 years agostrdup() clone for systems/configurations which lack it
Yang Tse [Thu, 11 Sep 2008 04:02:49 +0000 (04:02 +0000)]
strdup() clone for systems/configurations which lack it

15 years agomove inclusion of ares_private.h last
Yang Tse [Thu, 11 Sep 2008 03:46:47 +0000 (03:46 +0000)]
move inclusion of ares_private.h last

15 years agoChecked in some code improvements and minor fixes that I discovered in the
Dan Fandrich [Wed, 10 Sep 2008 20:05:45 +0000 (20:05 +0000)]
Checked in some code improvements and minor fixes that I discovered in the
FreeBSD ports system.

15 years agoimprove detection of strdup() and ftruncate()
Yang Tse [Wed, 10 Sep 2008 19:26:30 +0000 (19:26 +0000)]
improve detection of strdup() and ftruncate()

15 years agoimprove detection of sigaction() and strtok_r()
Yang Tse [Wed, 10 Sep 2008 19:03:00 +0000 (19:03 +0000)]
improve detection of sigaction() and strtok_r()

15 years agoicc adjustments
Yang Tse [Wed, 10 Sep 2008 17:35:22 +0000 (17:35 +0000)]
icc adjustments

15 years agoimprove detection of gmtime_r() and strtoll()
Yang Tse [Wed, 10 Sep 2008 17:33:15 +0000 (17:33 +0000)]
improve detection of gmtime_r() and strtoll()

15 years ago#170 is done
Dan Fandrich [Wed, 10 Sep 2008 16:37:16 +0000 (16:37 +0000)]
#170 is done

15 years agofix compiler warning
Yang Tse [Wed, 10 Sep 2008 13:39:35 +0000 (13:39 +0000)]
fix compiler warning

15 years agoChecked in some grammatical and minor other fixes in the documentation and
Dan Fandrich [Wed, 10 Sep 2008 07:11:45 +0000 (07:11 +0000)]
Checked in some grammatical and minor other fixes in the documentation and
examples that I found in the FreeBSD ports system.

15 years agoFactored out Curl_isalnum
Dan Fandrich [Tue, 9 Sep 2008 21:15:50 +0000 (21:15 +0000)]
Factored out Curl_isalnum

15 years agoMike Revi discovered some swapped speed switches documented in the curl man
Dan Fandrich [Tue, 9 Sep 2008 18:45:52 +0000 (18:45 +0000)]
Mike Revi discovered some swapped speed switches documented in the curl man
page.

15 years agoicc adjustments
Yang Tse [Tue, 9 Sep 2008 12:19:16 +0000 (12:19 +0000)]
icc adjustments

15 years agoHammer home the fact that "multi interface" != "multi-threaded"
Dan Fandrich [Tue, 9 Sep 2008 05:39:59 +0000 (05:39 +0000)]
Hammer home the fact that "multi interface" != "multi-threaded"

15 years agofix compiler warning
Yang Tse [Mon, 8 Sep 2008 19:34:58 +0000 (19:34 +0000)]
fix compiler warning

15 years agoDisable all tests on i686 icc autobuilds to inspect build messages
Yang Tse [Mon, 8 Sep 2008 16:50:04 +0000 (16:50 +0000)]
Disable all tests on i686 icc autobuilds to inspect build messages

15 years agoSelect strict ANSI C89 conformance for icc
Yang Tse [Mon, 8 Sep 2008 16:48:58 +0000 (16:48 +0000)]
Select strict ANSI C89 conformance for icc

15 years agoRemoved: 166 167
Daniel Stenberg [Mon, 8 Sep 2008 12:49:23 +0000 (12:49 +0000)]
Removed: 166 167
Added : 172

15 years agoDmitry Kurochkin fixed pipelining over proxy using the multi interface
Daniel Stenberg [Mon, 8 Sep 2008 12:15:09 +0000 (12:15 +0000)]
Dmitry Kurochkin fixed pipelining over proxy using the multi interface

15 years ago- Stefan Krause pointed out that libcurl would wrongly send away cookies to
Daniel Stenberg [Mon, 8 Sep 2008 11:36:19 +0000 (11:36 +0000)]
- Stefan Krause pointed out that libcurl would wrongly send away cookies to
  sites in cases where the cookie clearly has a very old expiry date. The
  condition was simply that libcurl's date parser would fail to convert the
  date and it would then count as a (timed-based) match. Starting now, a
  missed date due to an unsupported date format or date range will now cause
  the cookie to not match.

15 years agocomment < 80 columns
Daniel Stenberg [Mon, 8 Sep 2008 07:39:05 +0000 (07:39 +0000)]
comment < 80 columns

15 years ago171 - [PATCH] add some locking for thread-safety to NSS implementation
Daniel Stenberg [Mon, 8 Sep 2008 07:37:57 +0000 (07:37 +0000)]
171 - [PATCH] add some locking for thread-safety to NSS implementation

15 years agoSOCKS5_RESOLVE_LOCAL was just never added as an option!
Daniel Stenberg [Sun, 7 Sep 2008 21:33:50 +0000 (21:33 +0000)]
SOCKS5_RESOLVE_LOCAL was just never added as an option!

15 years agoAdded HTTP 1.0 downgrade tests with proxies
Dan Fandrich [Sat, 6 Sep 2008 18:24:04 +0000 (18:24 +0000)]
Added HTTP 1.0 downgrade tests with proxies

15 years agoremove unnecessary typecasting of malloc()
Yang Tse [Sat, 6 Sep 2008 05:29:05 +0000 (05:29 +0000)]
remove unnecessary typecasting of malloc()

15 years agoremove unnecessary typecasting of calloc()
Yang Tse [Sat, 6 Sep 2008 04:47:14 +0000 (04:47 +0000)]
remove unnecessary typecasting of calloc()

15 years agoremove unnecessary typecasting of realloc()
Yang Tse [Sat, 6 Sep 2008 04:28:43 +0000 (04:28 +0000)]
remove unnecessary typecasting of realloc()

15 years agoOnly compile Curl_ssl_free_certinfo when SSL is enabled
Dan Fandrich [Fri, 5 Sep 2008 18:35:29 +0000 (18:35 +0000)]
Only compile Curl_ssl_free_certinfo when SSL is enabled

15 years agoImproved the logic the decides whether to use HTTP 1.1 features or not in a
Dan Fandrich [Fri, 5 Sep 2008 17:58:53 +0000 (17:58 +0000)]
Improved the logic the decides whether to use HTTP 1.1 features or not in a
request.

Detect cases where an upload must be sent chunked and the server supports
only HTTP 1.0 and return CURLE_UPLOAD_FAILED.

15 years agoUse realloc when paused in Curl_client_write
Dan Fandrich [Fri, 5 Sep 2008 17:21:54 +0000 (17:21 +0000)]
Use realloc when paused in Curl_client_write

15 years agoRemoved after commit:
Daniel Stenberg [Fri, 5 Sep 2008 16:14:51 +0000 (16:14 +0000)]
Removed after commit:

158 - Martin Drasar's CURLOPT_POSTREDIR work:
      http://curl.haxx.se/mail/lib-2008-08/0170.html

15 years ago- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames
Daniel Stenberg [Fri, 5 Sep 2008 16:13:20 +0000 (16:13 +0000)]
- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renames
  CURLOPT_POST301 (but adds a define for backwards compatibility for you who
  don't define CURL_NO_OLDIES). This option allows you to now also change the
  libcurl behavior for a HTTP response 302 after a POST to not use GET in the
  subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the
  patch somewhat before commit. The curl tool got a matching --post302
  option. Test case 1076 was added to verify this.

15 years ago- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By
Daniel Stenberg [Fri, 5 Sep 2008 14:29:21 +0000 (14:29 +0000)]
- Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By
  enabling this feature with CURLOPT_CERTINFO for a request using SSL (HTTPS
  or FTPS), libcurl will gather lots of server certificate info and that info
  can then get extracted by a client after the request has completed with
  curl_easy_getinfo()'s CURLINFO_CERTINFO option. Linus Nielsen Feltzing
  helped me test and smoothen out this feature.

  Unfortunately, this feature currently only works with libcurl built to use
  OpenSSL.

  This feature was sponsored by networking4all.com - thanks!

15 years ago- Dmitriy Sergeyev pointed out that curl_easy_pause() didn't unpause properly
Daniel Stenberg [Fri, 5 Sep 2008 09:37:37 +0000 (09:37 +0000)]
- Dmitriy Sergeyev pointed out that curl_easy_pause() didn't unpause properly
  during certain conditions. I also changed this code to use realloc() based
  on Daniel Fandrich's suggestion.

15 years agofive new recent issues to deal with
Daniel Stenberg [Fri, 5 Sep 2008 09:32:51 +0000 (09:32 +0000)]
five new recent issues to deal with

15 years agoStefan Krause's mail to curl-library at 03 Sep 2008 made me add these two
Daniel Stenberg [Fri, 5 Sep 2008 08:15:21 +0000 (08:15 +0000)]
Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these two
new date strings to get tested too.

15 years agosomewhat protect Mac OS X users from using Mac OS 9 config file
Yang Tse [Fri, 5 Sep 2008 01:27:24 +0000 (01:27 +0000)]
somewhat protect Mac OS X users from using Mac OS 9 config file

15 years agosync with reality
Yang Tse [Fri, 5 Sep 2008 00:16:35 +0000 (00:16 +0000)]
sync with reality