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

14 years agoalphabetically sort the list of supported protocols
Daniel Stenberg [Fri, 22 Jan 2010 13:06:50 +0000 (13:06 +0000)]
alphabetically sort the list of supported protocols

14 years agoIn spite claiming to tbe disabled by default, RTSP is enabled and it now
Daniel Stenberg [Fri, 22 Jan 2010 12:52:35 +0000 (12:52 +0000)]
In spite claiming to tbe disabled by default, RTSP is enabled and it now
also says so. I also made the list of protocols get sorted.

14 years agoexpanded to provide info about the newer protocols too
Daniel Stenberg [Fri, 22 Jan 2010 12:27:38 +0000 (12:27 +0000)]
expanded to provide info about the newer protocols too

14 years agos/RTPFUNCTION/INTERLEAVEFUNCTION/
Daniel Stenberg [Fri, 22 Jan 2010 12:17:03 +0000 (12:17 +0000)]
s/RTPFUNCTION/INTERLEAVEFUNCTION/
s/RTPDATA/INTERLEAVEDATA/

14 years agokeep lines shorter than 80 columns, and reduce/remove the use of the word
Daniel Stenberg [Fri, 22 Jan 2010 09:19:10 +0000 (09:19 +0000)]
keep lines shorter than 80 columns, and reduce/remove the use of the word
'note' in most description as it is mostly useless.

14 years agoJulien Chaffraix adjusted "<name> section" line length
Yang Tse [Fri, 22 Jan 2010 07:32:09 +0000 (07:32 +0000)]
Julien Chaffraix adjusted "<name> section" line length

14 years agoConstantine Sapuntzakis refactoring of async callbacks, allowing
Yang Tse [Fri, 22 Jan 2010 06:36:52 +0000 (06:36 +0000)]
Constantine Sapuntzakis refactoring of async callbacks, allowing
removal of Curl_addrinfo_copy(), Curl_addrinfo6_callback(), and
Curl_addrinfo4_callback()

14 years agoAdded rtsp.c to the non-configure target build files
Dan Fandrich [Thu, 21 Jan 2010 22:03:26 +0000 (22:03 +0000)]
Added rtsp.c to the non-configure target build files

14 years agofix compiler warning
Yang Tse [Thu, 21 Jan 2010 19:27:32 +0000 (19:27 +0000)]
fix compiler warning

14 years agomake tftp_translate_code() static, it is only used from within tftp.c
Yang Tse [Thu, 21 Jan 2010 14:44:28 +0000 (14:44 +0000)]
make tftp_translate_code() static, it is only used from within tftp.c

14 years agofix warning triggered when debugging on cygwin
Yang Tse [Thu, 21 Jan 2010 14:29:04 +0000 (14:29 +0000)]
fix warning triggered when debugging on cygwin

14 years agoallow exporting of exe_ext() sub
Yang Tse [Thu, 21 Jan 2010 14:26:32 +0000 (14:26 +0000)]
allow exporting of exe_ext() sub

14 years agoimprove displaylogcontent() sub fixing a warning
Yang Tse [Thu, 21 Jan 2010 14:25:41 +0000 (14:25 +0000)]
improve displaylogcontent() sub fixing a warning

14 years agoremove typedef we ended up not using
Daniel Stenberg [Thu, 21 Jan 2010 14:05:06 +0000 (14:05 +0000)]
remove typedef we ended up not using

14 years agoChris Conroy brought support for RTSP transfers, and with it comes 8(!) new
Daniel Stenberg [Thu, 21 Jan 2010 13:58:30 +0000 (13:58 +0000)]
Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new
libcurl options for controlling what to get and how to receive posssibly
interleaved RTP data. Initial commit.

14 years agoJulien Chaffraix fixed line lengths
Daniel Stenberg [Thu, 21 Jan 2010 12:28:29 +0000 (12:28 +0000)]
Julien Chaffraix fixed line lengths

14 years agoJulien Chaffraix removed an old obsolete typedef
Daniel Stenberg [Thu, 21 Jan 2010 11:48:48 +0000 (11:48 +0000)]
Julien Chaffraix removed an old obsolete typedef

14 years agoYun Fu pointed out a flaw in the loop that checks handles, and I indented
Daniel Stenberg [Thu, 21 Jan 2010 09:53:30 +0000 (09:53 +0000)]
Yun Fu pointed out a flaw in the loop that checks handles, and I indented
the code more curl-style

14 years ago"5.3 Sort outgoing cookies" removed, we now sort them
Daniel Stenberg [Thu, 21 Jan 2010 09:32:51 +0000 (09:32 +0000)]
"5.3 Sort outgoing cookies" removed, we now sort them

14 years agoSIGTERM is the signal to trap here, SIGKILL can't be caught.
Yang Tse [Wed, 20 Jan 2010 21:16:32 +0000 (21:16 +0000)]
SIGTERM is the signal to trap here, SIGKILL can't be caught.

14 years agoUse killsockfilters() to kill sockfilter processes, this ensures that when
Yang Tse [Wed, 20 Jan 2010 20:42:21 +0000 (20:42 +0000)]
Use killsockfilters() to kill sockfilter processes, this ensures that when
killing a sockfilter process the actual PID from the pid file is used and
not the one returned by open2() which might be different.

14 years agoAllow killsockfilters() to take a 5th optional parameter that when provided
Yang Tse [Wed, 20 Jan 2010 20:39:56 +0000 (20:39 +0000)]
Allow killsockfilters() to take a 5th optional parameter that when provided
indicates that only one of the two possible sockfilter processes should be
killed.  Valid values for this parameter are 'main' and 'data'.

14 years agoUse delete() to unset environment variables instead of assigning undef which
Yang Tse [Wed, 20 Jan 2010 20:08:50 +0000 (20:08 +0000)]
Use delete() to unset environment variables instead of assigning undef which
generates warning 'Use of uninitialized value in scalar assignment' with perl
versions older than 5.10

14 years agoAdjust valgrind logs file name detection.
Yang Tse [Wed, 20 Jan 2010 18:31:52 +0000 (18:31 +0000)]
Adjust valgrind logs file name detection.

Adjust environment vars setting and restoring from test definition.

Avoid using strftime in torture sub.

14 years agomodified test case 8 to also make sure that we deal with cookies using
Daniel Stenberg [Wed, 20 Jan 2010 09:39:40 +0000 (09:39 +0000)]
modified test case 8 to also make sure that we deal with cookies using
identical names but different paths properly

14 years ago- As was pointed out on the http-state mailing list, the order of cookies in a
Daniel Stenberg [Tue, 19 Jan 2010 23:19:59 +0000 (23:19 +0000)]
- As was pointed out on the http-state mailing list, the order of cookies in a
  HTTP Cookie: header _needs_ to be sorted on the path length in the cases
  where two cookies using the same name are set more than once using
  (overlapping) paths. Realizing this, identically named cookies must be
  sorted correctly. But detecting only identically named cookies and take care
  of them individually is harder than just to blindly and unconditionally sort
  all cookies based on their path lengths. All major browsers also already do
  this, so this makes our behavior one step closer to them in the cookie area.

  Test case 8 was the only one that broke due to this change and I updated it
  accordingly.

14 years agooops, I forgot to cvs add this before my previous commit (Dan Fandrich
Daniel Stenberg [Tue, 19 Jan 2010 22:22:54 +0000 (22:22 +0000)]
oops, I forgot to cvs add this before my previous commit (Dan Fandrich
pointed it out to me)

14 years ago- David McCreedy brought a fix and a new test case (129) to make libcurl work
Daniel Stenberg [Tue, 19 Jan 2010 21:39:10 +0000 (21:39 +0000)]
- David McCreedy brought a fix and a new test case (129) to make libcurl work
  again when downloading files over FTP using ASCII and it turns out that the
  final size of the file is not the same as the initial size the server
  reported. This is very common since servers don't take the newline
  conversions into account.

14 years ago"260 - IMAP, POP3 and SMTP support" done!
Daniel Stenberg [Tue, 19 Jan 2010 21:29:29 +0000 (21:29 +0000)]
"260 - IMAP, POP3 and SMTP support" done!

14 years agoavoid "Use of uninitialized value $l in concatenation"
Daniel Stenberg [Tue, 19 Jan 2010 21:20:24 +0000 (21:20 +0000)]
avoid "Use of uninitialized value $l in concatenation"

14 years agoFail harder when curl coredumps trying to verify http and ftp servers.
Yang Tse [Tue, 19 Jan 2010 17:40:15 +0000 (17:40 +0000)]
Fail harder when curl coredumps trying to verify http and ftp servers.

Add some debug messages to see what's going on with valgrind logs.

14 years agoprevent %runcert hash growth when clearing items
Yang Tse [Tue, 19 Jan 2010 02:01:01 +0000 (02:01 +0000)]
prevent %runcert hash growth when clearing items

14 years agoupdate copyright year notice
Yang Tse [Tue, 19 Jan 2010 01:30:07 +0000 (01:30 +0000)]
update copyright year notice

14 years agoConstantine Sapuntzakis enhancements to make memory tracking log file writing
Yang Tse [Mon, 18 Jan 2010 20:22:04 +0000 (20:22 +0000)]
Constantine Sapuntzakis enhancements to make memory tracking log file writing
of messages atomic, on systems where an fwrite of a memory buffer is atomic.

14 years agoAdded PEM certificate keyword
Dan Fandrich [Mon, 18 Jan 2010 20:20:07 +0000 (20:20 +0000)]
Added PEM certificate keyword

14 years agofix warnings
Yang Tse [Mon, 18 Jan 2010 17:47:01 +0000 (17:47 +0000)]
fix warnings