platform/upstream/curl.git
14 years agoMention the minimum size of CURL_MAX_WRITE_SIZE
Dan Fandrich [Wed, 10 Feb 2010 21:17:53 +0000 (21:17 +0000)]
Mention the minimum size of CURL_MAX_WRITE_SIZE

14 years ago- remove extra "\r\n" from doc404_RTSP
Yang Tse [Wed, 10 Feb 2010 13:03:32 +0000 (13:03 +0000)]
- remove extra "\r\n" from doc404_RTSP

- avoid memory alignment issue when setting RTSP packet length

14 years agoRemoved some erroneous "compressed" key words
Dan Fandrich [Tue, 9 Feb 2010 22:50:52 +0000 (22:50 +0000)]
Removed some erroneous "compressed" key words

14 years agostart working on 7.20.1
Daniel Stenberg [Tue, 9 Feb 2010 11:37:10 +0000 (11:37 +0000)]
start working on 7.20.1

14 years agospell and 7.20.0
Daniel Stenberg [Tue, 9 Feb 2010 10:06:48 +0000 (10:06 +0000)]
spell and 7.20.0

14 years ago- When downloading compressed content over HTTP and the app as asked libcurl
Daniel Stenberg [Tue, 9 Feb 2010 09:35:48 +0000 (09:35 +0000)]
- When downloading compressed content over HTTP and the app as asked libcurl
  to automatically uncompress it with the CURLOPT_ENCODING option, libcurl
  could wrongly provide the callback with more data than what the maximum
  documented amount. An application could thus get tricked into badness if the
  maximum limit was trusted to be enforced by libcurl itself (as it is
  documented).

  This is further detailed and explained in the libcurl security advisory
  20100209 at

    http://curl.haxx.se/docs/adv_20100209.html

14 years agoset VERSIONINFO accordingly for the 7.20.0 release
Daniel Stenberg [Tue, 9 Feb 2010 09:35:07 +0000 (09:35 +0000)]
set VERSIONINFO accordingly for the 7.20.0 release

14 years agowarning fix
Yang Tse [Sat, 6 Feb 2010 17:31:09 +0000 (17:31 +0000)]
warning fix

14 years agoOOM handling fix
Yang Tse [Sat, 6 Feb 2010 17:30:06 +0000 (17:30 +0000)]
OOM handling fix

14 years agoOOM handling fix
Yang Tse [Sat, 6 Feb 2010 13:21:45 +0000 (13:21 +0000)]
OOM handling fix

14 years agofix compiler warning
Yang Tse [Fri, 5 Feb 2010 20:52:00 +0000 (20:52 +0000)]
fix compiler warning

14 years agofix compiler warning
Yang Tse [Fri, 5 Feb 2010 19:24:22 +0000 (19:24 +0000)]
fix compiler warning

14 years agofix compiler warning
Yang Tse [Fri, 5 Feb 2010 19:19:34 +0000 (19:19 +0000)]
fix compiler warning

14 years agoAddes OOM handling for curl_easy_setopt() calls in test
Yang Tse [Fri, 5 Feb 2010 18:07:19 +0000 (18:07 +0000)]
Addes OOM handling for curl_easy_setopt() calls in test

14 years ago- avoid OpenSSL 0.9.8 ENGINE_by_id memory leak
Yang Tse [Fri, 5 Feb 2010 09:33:36 +0000 (09:33 +0000)]
- avoid OpenSSL 0.9.8 ENGINE_by_id memory leak

- cleanup parenthesis usage in return statements

14 years ago- attempt to workaround icc 9.1 optimizer issue
Yang Tse [Fri, 5 Feb 2010 09:32:11 +0000 (09:32 +0000)]
- attempt to workaround icc 9.1 optimizer issue

14 years agofix printf-style format strings
Yang Tse [Thu, 4 Feb 2010 19:44:31 +0000 (19:44 +0000)]
fix printf-style format strings

14 years agoValidate server port argument
Yang Tse [Thu, 4 Feb 2010 17:17:19 +0000 (17:17 +0000)]
Validate server port argument

14 years agoFix variable initialization
Yang Tse [Thu, 4 Feb 2010 14:50:58 +0000 (14:50 +0000)]
Fix variable initialization

14 years agoModified test case 557 to additionally verify libcurl's internal curl_m*printf()
Yang Tse [Thu, 4 Feb 2010 14:41:01 +0000 (14:41 +0000)]
Modified test case 557 to additionally verify libcurl's internal curl_m*printf()
functions formatting functionality when handling signed and unsigned shorts.

14 years agoAdded size check for 'short' data type
Yang Tse [Thu, 4 Feb 2010 14:40:11 +0000 (14:40 +0000)]
Added size check for 'short' data type

14 years agoFix compiler warning: unused variable
Yang Tse [Thu, 4 Feb 2010 10:08:39 +0000 (10:08 +0000)]
Fix compiler warning: unused variable

14 years agoadded an additional second to allow test to pass on heavily loaded servers
Yang Tse [Thu, 4 Feb 2010 09:55:45 +0000 (09:55 +0000)]
added an additional second to allow test to pass on heavily loaded servers

14 years agoChanged the Watcom makefiles to make them easier to keep in sync with
Dan Fandrich [Wed, 3 Feb 2010 23:07:11 +0000 (23:07 +0000)]
Changed the Watcom makefiles to make them easier to keep in sync with
Makefile.inc since that can't be included directly.

14 years agomore symbols added in 7.20.0
Daniel Stenberg [Wed, 3 Feb 2010 18:18:13 +0000 (18:18 +0000)]
more symbols added in 7.20.0

14 years agoFix OOM handling
Yang Tse [Wed, 3 Feb 2010 13:28:47 +0000 (13:28 +0000)]
Fix OOM handling

14 years agoFix progressmode Configurable struct member data type. Changed to
Yang Tse [Wed, 3 Feb 2010 10:57:42 +0000 (10:57 +0000)]
Fix progressmode Configurable struct member data type. Changed to
'int' which fits better with existing CURL_PROGRESS_* definitions.

14 years agoFix portability issue related with unaligned memory access
Yang Tse [Wed, 3 Feb 2010 06:49:27 +0000 (06:49 +0000)]
Fix portability issue related with unaligned memory access

14 years agoFix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible...
Yang Tse [Wed, 3 Feb 2010 06:44:18 +0000 (06:44 +0000)]
Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data

14 years agocookies with same path length might get sorted in different order when
Yang Tse [Wed, 3 Feb 2010 01:53:47 +0000 (01:53 +0000)]
cookies with same path length might get sorted in different order when
using different qsort implementations. In order to make this test give
same results on different systems, paths now have different lengths.

14 years agoadded an additional second to allow test to pass on heavily loaded servers
Yang Tse [Wed, 3 Feb 2010 01:41:07 +0000 (01:41 +0000)]
added an additional second to allow test to pass on heavily loaded servers

14 years agoFix compiler warning: conditional expression is constant
Yang Tse [Tue, 2 Feb 2010 16:25:07 +0000 (16:25 +0000)]
Fix compiler warning: conditional expression is constant

14 years agoFix compiler warning: local variable may be used without having been initialized.
Yang Tse [Tue, 2 Feb 2010 16:23:42 +0000 (16:23 +0000)]
Fix compiler warning: local variable may be used without having been initialized.

14 years agoFix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible...
Yang Tse [Tue, 2 Feb 2010 16:23:01 +0000 (16:23 +0000)]
Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data

14 years agoFix compiler warnings:
Yang Tse [Tue, 2 Feb 2010 16:21:37 +0000 (16:21 +0000)]
Fix compiler warnings:

(1) conversion from 'const int ' to 'unsigned char ', possible loss of data
(2) conditional expression is constant

14 years agomention a couple of changes back from November
Yang Tse [Tue, 2 Feb 2010 15:23:13 +0000 (15:23 +0000)]
mention a couple of changes back from November

14 years agomention run time statistics options
Yang Tse [Tue, 2 Feb 2010 14:46:55 +0000 (14:46 +0000)]
mention run time statistics options

14 years ago- Symbol CURL_FORMAT_OFF_T now obsoleted, will be removed in a future release,
Yang Tse [Tue, 2 Feb 2010 12:58:49 +0000 (12:58 +0000)]
- Symbol CURL_FORMAT_OFF_T now obsoleted, will be removed in a future release,
  symbol will not be available when building with CURL_NO_OLDIES defined. Use
  of CURL_FORMAT_CURL_OFF_T is preferred since 7.19.0

14 years agoavoid possibility of using obsoleted stuff
Yang Tse [Tue, 2 Feb 2010 12:39:10 +0000 (12:39 +0000)]
avoid possibility of using obsoleted stuff

14 years agoremove setup.h inclusion which is already done from test.h inclusion
Yang Tse [Tue, 2 Feb 2010 12:36:16 +0000 (12:36 +0000)]
remove setup.h inclusion which is already done from test.h inclusion

14 years agomention SOCKS related problems in the curl(1) man page
Kamil Dudka [Tue, 2 Feb 2010 12:27:12 +0000 (12:27 +0000)]
mention SOCKS related problems in the curl(1) man page

14 years agoFix compiler warning: variable was set but never used
Yang Tse [Tue, 2 Feb 2010 09:15:52 +0000 (09:15 +0000)]
Fix compiler warning: variable was set but never used

Simplify preprocessor symbol checking

14 years agoJulien Chaffraix pointed out a comment mistake, and I re-indented the code
Daniel Stenberg [Tue, 2 Feb 2010 08:48:58 +0000 (08:48 +0000)]
Julien Chaffraix pointed out a comment mistake, and I re-indented the code
slightly while editing

14 years agoinclude headers
Yang Tse [Tue, 2 Feb 2010 07:01:21 +0000 (07:01 +0000)]
include headers

14 years agoConroy added a check to the coded message size since the docs stipulate
Yang Tse [Mon, 1 Feb 2010 22:14:22 +0000 (22:14 +0000)]
Conroy added a check to the coded message size since the docs stipulate
that each call will contain a full protocol packet.

14 years agoConroy's fix to make the code match with the RTP documentation regarding
Yang Tse [Mon, 1 Feb 2010 22:13:55 +0000 (22:13 +0000)]
Conroy's fix to make the code match with the RTP documentation regarding
writing out the whole header. The docs say it writes the whole header,
but the code (before this patch) did not write out the leading $.

14 years agoWe introduce a loop in lib/multi.c around all calls to multi_runsingle() and
Daniel Stenberg [Mon, 1 Feb 2010 21:42:44 +0000 (21:42 +0000)]
We introduce a loop in lib/multi.c around all calls to multi_runsingle() and
simply check for CURLM_CALL_MULTI_PERFORM internally. This has the added
benefit that this goes in line with my long-term wishes to get rid of the
CURLM_CALL_MULTI_PERFORM all together from the public API.

14 years agoupdate rtsp server header field from SWS to RTSPD
Yang Tse [Mon, 1 Feb 2010 19:57:11 +0000 (19:57 +0000)]
update rtsp server header field from SWS to RTSPD

14 years agoTest suite support for RTSP
Yang Tse [Mon, 1 Feb 2010 12:05:08 +0000 (12:05 +0000)]
Test suite support for RTSP

14 years agoMake Curl_pop3_write() additionally truncate trailing POP3_EOB from received
Yang Tse [Sat, 30 Jan 2010 05:22:30 +0000 (05:22 +0000)]
Make Curl_pop3_write() additionally truncate trailing POP3_EOB from received
string buffer, otherwise Curl_client_write() call with zero size would write
to the end of string buffer including matched POP3_EOB.

14 years agoWIN32 fix, _beginthreadex() may return either 0 or -1L upon failure
Yang Tse [Fri, 29 Jan 2010 17:47:54 +0000 (17:47 +0000)]
WIN32 fix, _beginthreadex() may return either 0 or -1L upon failure

14 years agofix errno usage for WIN32 builds
Yang Tse [Fri, 29 Jan 2010 16:38:43 +0000 (16:38 +0000)]
fix errno usage for WIN32 builds

14 years agofix printf-style format strings
Yang Tse [Fri, 29 Jan 2010 12:29:26 +0000 (12:29 +0000)]
fix printf-style format strings

14 years agoChris Conroy fixed test #568 issues with carriage returns
Yang Tse [Fri, 29 Jan 2010 02:58:39 +0000 (02:58 +0000)]
Chris Conroy fixed test #568 issues with carriage returns

14 years agoRTSP followup fix. Both the pipelined and non-pipelined case need to
Yang Tse [Fri, 29 Jan 2010 01:16:23 +0000 (01:16 +0000)]
RTSP followup fix. Both the pipelined and non-pipelined case need to
check for (excess > 0 && !k->ignorebody).

14 years ago- Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't
Daniel Stenberg [Thu, 28 Jan 2010 22:03:48 +0000 (22:03 +0000)]
- Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't
  check for broken connections like ares_process() did. Based on that, I
  merged the two functions into a single generic one with two front-ends.

14 years agofix printf-style format strings
Yang Tse [Thu, 28 Jan 2010 15:34:18 +0000 (15:34 +0000)]
fix printf-style format strings

14 years agoUse 'size_t' for GETNAMEINFO_TYPE_ARG2 definition for VMS.
Yang Tse [Thu, 28 Jan 2010 10:56:43 +0000 (10:56 +0000)]
Use 'size_t' for GETNAMEINFO_TYPE_ARG2 definition for VMS.

http://curl.haxx.se/mail/lib-2009-12/0293.html

14 years agoportability fix
Yang Tse [Thu, 28 Jan 2010 10:27:09 +0000 (10:27 +0000)]
portability fix

14 years agofix printf-style format strings
Yang Tse [Thu, 28 Jan 2010 07:52:12 +0000 (07:52 +0000)]
fix printf-style format strings

14 years agoKnown bug #64 fixed by Constantine Sapuntzakis and Joshua Kwan in 7.20.0
Yang Tse [Thu, 28 Jan 2010 05:09:19 +0000 (05:09 +0000)]
Known bug #64 fixed by Constantine Sapuntzakis and Joshua Kwan in 7.20.0

14 years agoChris Conroy provided first RTSP tests
Yang Tse [Thu, 28 Jan 2010 04:58:03 +0000 (04:58 +0000)]
Chris Conroy provided first RTSP tests

14 years agoRTSP tests disabled until test harness RTSP support is updated
Yang Tse [Thu, 28 Jan 2010 04:55:19 +0000 (04:55 +0000)]
RTSP tests disabled until test harness RTSP support is updated

14 years agoChris Conroy's RTSP followup fixes
Yang Tse [Thu, 28 Jan 2010 01:39:16 +0000 (01:39 +0000)]
Chris Conroy's RTSP followup fixes

14 years agomention asynchronous DNS lookups enhancements
Yang Tse [Wed, 27 Jan 2010 18:10:35 +0000 (18:10 +0000)]
mention asynchronous DNS lookups enhancements

14 years agoRestore normal operation:
Yang Tse [Wed, 27 Jan 2010 06:59:02 +0000 (06:59 +0000)]
Restore normal operation:

  c-ares is only enabled when specifically requested.

  Consequently, c-ares default setting is disabled.

14 years agofix c-ares assumed check being skipped
Yang Tse [Wed, 27 Jan 2010 04:56:07 +0000 (04:56 +0000)]
fix c-ares assumed check being skipped

14 years agofix compiler warning
Yang Tse [Wed, 27 Jan 2010 03:43:34 +0000 (03:43 +0000)]
fix compiler warning

14 years agofix LDFLAGS preservation in CURL_CHECK_LIB_ARES
Yang Tse [Wed, 27 Jan 2010 03:41:05 +0000 (03:41 +0000)]
fix LDFLAGS preservation in CURL_CHECK_LIB_ARES

14 years agono need to take precautiono for how things were before 7.16.0 since that
Daniel Stenberg [Tue, 26 Jan 2010 23:02:13 +0000 (23:02 +0000)]
no need to take precautiono for how things were before 7.16.0 since that
is now a very long time ago

14 years ago- Mike Crowe made libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the
Daniel Stenberg [Tue, 26 Jan 2010 22:59:43 +0000 (22:59 +0000)]
- Mike Crowe made libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the
  proxy that cannot be resolved when using c-ares. This matches the behaviour
  when not using c-ares.

14 years agoAdded curl_threads.c to a few more non-configure build files
Dan Fandrich [Tue, 26 Jan 2010 18:51:39 +0000 (18:51 +0000)]
Added curl_threads.c to a few more non-configure build files

14 years agominor fixes for --enable-ares configure option
Yang Tse [Tue, 26 Jan 2010 15:07:40 +0000 (15:07 +0000)]
minor fixes for --enable-ares configure option

14 years agoAndre Guibert de Bruet improved the libssh2 error code translation
Daniel Stenberg [Tue, 26 Jan 2010 12:25:03 +0000 (12:25 +0000)]
Andre Guibert de Bruet improved the libssh2 error code translation

14 years agoresolver selection for non-configure Windows builds, default is threaded DNS
Yang Tse [Tue, 26 Jan 2010 12:13:39 +0000 (12:13 +0000)]
resolver selection for non-configure Windows builds, default is threaded DNS

14 years agoadd curl_threads.c to non-configure target build files
Yang Tse [Tue, 26 Jan 2010 09:20:09 +0000 (09:20 +0000)]
add curl_threads.c to non-configure target build files

14 years agoonstantine Sapuntzakis threaded resolver enhancements
Yang Tse [Tue, 26 Jan 2010 08:43:21 +0000 (08:43 +0000)]
onstantine Sapuntzakis threaded resolver enhancements

14 years agoConstantine Sapuntzakis threaded resolver enhancements
Yang Tse [Mon, 25 Jan 2010 23:50:13 +0000 (23:50 +0000)]
Constantine Sapuntzakis threaded resolver enhancements

14 years agoConstantine Sapuntzakis provided initial thread abstraction layer
Yang Tse [Mon, 25 Jan 2010 23:46:27 +0000 (23:46 +0000)]
Constantine Sapuntzakis provided initial thread abstraction layer

14 years agomake Curl_handler_*_proxy definition static
Yang Tse [Mon, 25 Jan 2010 23:41:02 +0000 (23:41 +0000)]
make Curl_handler_*_proxy definition static

14 years agoUpdated minimum library sizes
Dan Fandrich [Mon, 25 Jan 2010 23:28:09 +0000 (23:28 +0000)]
Updated minimum library sizes

14 years agofix compiler warning
Yang Tse [Mon, 25 Jan 2010 04:36:13 +0000 (04:36 +0000)]
fix compiler warning

14 years agoJulien Chaffraix corrected bad #elif lines to silence warnings
Daniel Stenberg [Sun, 24 Jan 2010 22:44:10 +0000 (22:44 +0000)]
Julien Chaffraix corrected bad #elif lines to silence warnings

14 years agoHAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 builds
Yang Tse [Sun, 24 Jan 2010 01:13:47 +0000 (01:13 +0000)]
HAVE_GETADDRINFO_THREADSAFE definition for non-configure win32 builds

14 years agoMention -J change
Bjorn Stenberg [Sat, 23 Jan 2010 20:14:39 +0000 (20:14 +0000)]
Mention -J change

14 years agoAdded -J/--remote-header-name.
Bjorn Stenberg [Sat, 23 Jan 2010 20:07:12 +0000 (20:07 +0000)]
Added -J/--remote-header-name.

14 years ago"remove progress meter from libcurl" at next API break
Daniel Stenberg [Sat, 23 Jan 2010 20:02:50 +0000 (20:02 +0000)]
"remove progress meter from libcurl" at next API break

14 years agoadd inclusion of curl_memory.h
Yang Tse [Sat, 23 Jan 2010 17:31:54 +0000 (17:31 +0000)]
add inclusion of curl_memory.h

14 years agoadjust preprocessor symbol definition check relative to resolver specialty
Yang Tse [Sat, 23 Jan 2010 13:53:33 +0000 (13:53 +0000)]
adjust preprocessor symbol definition check relative to resolver specialty

14 years agoPKTSIZE might have been already defined in arpa/tftp.h
Yang Tse [Sat, 23 Jan 2010 13:51:53 +0000 (13:51 +0000)]
PKTSIZE might have been already defined in arpa/tftp.h

14 years agoInclude "curl_memory.h" to get the strdup replacement when necessary
Dan Fandrich [Sat, 23 Jan 2010 10:04:04 +0000 (10:04 +0000)]
Include "curl_memory.h" to get the strdup replacement when necessary

14 years agowrap long lines and do some indent policing
Daniel Stenberg [Fri, 22 Jan 2010 23:21:39 +0000 (23:21 +0000)]
wrap long lines and do some indent policing

14 years agoDefinitions of resolver specialty compile-time defines CURLRES_* moved
Yang Tse [Fri, 22 Jan 2010 20:27:48 +0000 (20:27 +0000)]
Definitions of resolver specialty compile-time defines CURLRES_* moved
from hostip.h to setup.h in order to allow proper inclusion in any file.

This represents no functional change at all in which resolver is used,
everything still works as usual, internally and externally there is no
difference in behavior.

14 years agoadjust rtsp protocol support in curl-config and libcurl.pc when http is disabled
Yang Tse [Fri, 22 Jan 2010 16:38:32 +0000 (16:38 +0000)]
adjust rtsp protocol support in curl-config and libcurl.pc when http is disabled

14 years agodeal with the possibility that CURL_DISABLE_RTSP may already be defined
Yang Tse [Fri, 22 Jan 2010 15:15:08 +0000 (15:15 +0000)]
deal with the possibility that CURL_DISABLE_RTSP may already be defined

14 years agofix compiler warning: statement is unreachable
Yang Tse [Fri, 22 Jan 2010 14:21:28 +0000 (14:21 +0000)]
fix compiler warning: statement is unreachable

14 years agofix compilation when http is disabled
Yang Tse [Fri, 22 Jan 2010 14:20:56 +0000 (14:20 +0000)]
fix compilation when http is disabled

14 years agodisabling of rtsp when http isn't enabled required here for non-configure systems
Yang Tse [Fri, 22 Jan 2010 14:20:08 +0000 (14:20 +0000)]
disabling of rtsp when http isn't enabled required here for non-configure systems

14 years agowrap long lines, remove (very old) attribution from code
Daniel Stenberg [Fri, 22 Jan 2010 13:52:35 +0000 (13:52 +0000)]
wrap long lines, remove (very old) attribution from code

14 years agocleanups by Julien Chaffraix
Daniel Stenberg [Fri, 22 Jan 2010 13:14:51 +0000 (13:14 +0000)]
cleanups by Julien Chaffraix