platform/upstream/curl.git
17 years agouse same AIX XLC compiler options as curl's
Yang Tse [Wed, 7 Feb 2007 18:13:40 +0000 (18:13 +0000)]
use same AIX XLC compiler options as curl's

17 years agoAIX xlc has to have strict aliasing turned off. If not, the optimizer
Yang Tse [Wed, 7 Feb 2007 17:34:30 +0000 (17:34 +0000)]
AIX xlc has to have strict aliasing turned off. If not, the optimizer
assumes that pointers can only point to an object of the same type.

17 years ago*) Remove duplicate declaration of TYPE_SOCKADDR_STORAGE
Yang Tse [Wed, 7 Feb 2007 15:15:15 +0000 (15:15 +0000)]
*) Remove duplicate declaration of TYPE_SOCKADDR_STORAGE
*) Update CURL_CC_DEBUG_OPTS from curl's script

17 years agoINADDR_NONE no longer used.
Gisle Vanem [Tue, 6 Feb 2007 19:14:33 +0000 (19:14 +0000)]
INADDR_NONE no longer used.

17 years agoAdded debug option ('-d') for Watt-32 programs.
Gisle Vanem [Tue, 6 Feb 2007 19:12:38 +0000 (19:12 +0000)]
Added debug option ('-d') for Watt-32 programs.

17 years agoAdded HAVE_PROCESS_H for DOS/Win32.
Gisle Vanem [Tue, 6 Feb 2007 19:09:57 +0000 (19:09 +0000)]
Added HAVE_PROCESS_H for DOS/Win32.
Include <process.h> for getpid() in ares_init.c.

17 years agoFix compiler warning.
Gisle Vanem [Tue, 6 Feb 2007 19:00:42 +0000 (19:00 +0000)]
Fix compiler warning.

17 years agoInclude <sys/time.h> and <unistd.h> inside HAVE_x_H.
Gisle Vanem [Tue, 6 Feb 2007 18:56:34 +0000 (18:56 +0000)]
Include <sys/time.h> and <unistd.h> inside HAVE_x_H.
Added 'optind' and 'optarg' as in adig.c.

17 years agoInclude <sys/time.h> and <unistd.h> inside HAVE_x_H.
Gisle Vanem [Tue, 6 Feb 2007 18:54:35 +0000 (18:54 +0000)]
Include <sys/time.h> and <unistd.h> inside HAVE_x_H.

17 years agofix for millisecond resolution timeouts
Yang Tse [Tue, 6 Feb 2007 18:08:11 +0000 (18:08 +0000)]
fix for millisecond resolution timeouts

17 years agocompiler warning fix
Yang Tse [Tue, 6 Feb 2007 18:06:37 +0000 (18:06 +0000)]
compiler warning fix

17 years agonon-blocking SSH stuff
Daniel Stenberg [Tue, 6 Feb 2007 16:07:15 +0000 (16:07 +0000)]
non-blocking SSH stuff

17 years agoread SFTP with the non-blocking API
Daniel Stenberg [Tue, 6 Feb 2007 15:41:19 +0000 (15:41 +0000)]
read SFTP with the non-blocking API

17 years agocompiler warning fix
Yang Tse [Tue, 6 Feb 2007 03:31:27 +0000 (03:31 +0000)]
compiler warning fix

17 years ago- Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS
Daniel Stenberg [Mon, 5 Feb 2007 22:51:32 +0000 (22:51 +0000)]
- Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS
  and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the
  timeouts with millisecond resolution instead. The only restriction to that
  is the alarm() (sometimes) used to abort name resolves as that uses full
  seconds. I fixed the FTP response timeout part of the patch.

  Internally we now count and keep the timeouts in milliseconds but it also
  means we multiply set timeouts with 1000. The effect of this is that no
  timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which
  equals 24.86 days.  We probably couldn't before either since the code did
  *1000 on the timeout values on several places already.

17 years agoRemove '-Dselect=select_s'. Remove depend.dj-
Gisle Vanem [Mon, 5 Feb 2007 11:32:18 +0000 (11:32 +0000)]
Remove '-Dselect=select_s'. Remove depend.dj-

17 years agocompiler warning fix
Yang Tse [Mon, 5 Feb 2007 04:10:32 +0000 (04:10 +0000)]
compiler warning fix

17 years agocookie expiry date in several test cases set to year 2030/2035
Yang Tse [Mon, 5 Feb 2007 02:43:21 +0000 (02:43 +0000)]
cookie expiry date in several test cases set to year 2030/2035

17 years agoYear 2038 has its own problems (32 bit integer overflow).
Yang Tse [Mon, 5 Feb 2007 02:38:25 +0000 (02:38 +0000)]
Year 2038 has its own problems (32 bit integer overflow).
So cookie expiration date is lowered to expire at most in 2035.

17 years agoUse correct 3rd argument for ioctlsocket() under Watt-32.
Gisle Vanem [Sun, 4 Feb 2007 13:34:34 +0000 (13:34 +0000)]
Use correct 3rd argument for ioctlsocket() under Watt-32.

17 years agoUse correct calling convention.
Gisle Vanem [Sun, 4 Feb 2007 13:02:31 +0000 (13:02 +0000)]
Use correct calling convention.

17 years agoAdded DllMain() function for Watcom.
Gisle Vanem [Sun, 4 Feb 2007 12:50:53 +0000 (12:50 +0000)]
Added DllMain() function for Watcom.

17 years agoSuppress warning "'nread' might be used uninitialized in this function".
Gisle Vanem [Sun, 4 Feb 2007 12:18:22 +0000 (12:18 +0000)]
Suppress warning "'nread' might be used uninitialized in this function".

17 years agoConstify argument to suburl(). Remove trailing space.
Gisle Vanem [Sun, 4 Feb 2007 12:12:02 +0000 (12:12 +0000)]
Constify argument to suburl(). Remove trailing space.

17 years agosome additional info
Daniel Stenberg [Sat, 3 Feb 2007 21:35:11 +0000 (21:35 +0000)]
some additional info

17 years agocompiler warning fix
Yang Tse [Sat, 3 Feb 2007 13:05:28 +0000 (13:05 +0000)]
compiler warning fix

17 years ago- Yang Tse fixed the cookie expiry date in several test cases that started to
Daniel Stenberg [Sat, 3 Feb 2007 09:34:03 +0000 (09:34 +0000)]
- Yang Tse fixed the cookie expiry date in several test cases that started to
  fail since they used "1 feb 2007"...

- Manfred Schwarb reported that socks5 support was broken and help us pinpoint
  the problem. The code now tries harder to use httproxy and proxy where
  apppropriate, as not all proxies are HTTP...

17 years ago- Manfred Schwarb reported that socks5 support was broken and help us pinpoint
Daniel Stenberg [Sat, 3 Feb 2007 09:33:54 +0000 (09:33 +0000)]
- Manfred Schwarb reported that socks5 support was broken and help us pinpoint
  the problem. The code now tries harder to use httproxy and proxy where
  apppropriate, as not all proxies are HTTP...

17 years agocompiler warning fix
Yang Tse [Fri, 2 Feb 2007 17:16:06 +0000 (17:16 +0000)]
compiler warning fix

17 years agoadd debug messages for initialization failures
Yang Tse [Fri, 2 Feb 2007 16:01:55 +0000 (16:01 +0000)]
add debug messages for initialization failures

17 years agoadd missing strings for existing error codes
Yang Tse [Fri, 2 Feb 2007 16:01:15 +0000 (16:01 +0000)]
add missing strings for existing error codes

17 years agomove DEBUGF macro definition to setup_once.h
Yang Tse [Fri, 2 Feb 2007 15:31:32 +0000 (15:31 +0000)]
move DEBUGF macro definition to setup_once.h

17 years agoprefer using the (upcoming) non-blocking libssh2 API
Daniel Stenberg [Fri, 2 Feb 2007 15:26:57 +0000 (15:26 +0000)]
prefer using the (upcoming) non-blocking libssh2 API

17 years agodon't require OpenSSL for libssh2 linking to work, in preparation for
Daniel Stenberg [Fri, 2 Feb 2007 15:26:26 +0000 (15:26 +0000)]
don't require OpenSSL for libssh2 linking to work, in preparation for
upcoming libgcrypt-capable libssh2-versions

17 years agofix leftover updating cookie expiration date
Yang Tse [Fri, 2 Feb 2007 11:49:15 +0000 (11:49 +0000)]
fix leftover updating cookie expiration date

17 years agoIn testsuite, update test cookies expiration from 2007-Feb-1 to 2038-Feb-1
Yang Tse [Fri, 2 Feb 2007 02:30:16 +0000 (02:30 +0000)]
In testsuite, update test cookies expiration from 2007-Feb-1 to 2038-Feb-1

17 years agoreported in bug: #1566077 the former URL mentioned in the generated cookie
Yang Tse [Fri, 2 Feb 2007 02:12:34 +0000 (02:12 +0000)]
reported in bug: #1566077 the former URL mentioned in the generated cookie
jar has died and we now instead point out our own version of that

17 years agofix test case 62 which was failing due to cookies expiring 1 Feb 2007
Yang Tse [Fri, 2 Feb 2007 01:36:08 +0000 (01:36 +0000)]
fix test case 62 which was failing due to cookies expiring 1 Feb 2007

17 years agomore fixes for the testsuite cookie expiration issue
Yang Tse [Fri, 2 Feb 2007 01:05:50 +0000 (01:05 +0000)]
more fixes for the testsuite cookie expiration issue

17 years agocookie expiration time got us with pants at our knees.
Yang Tse [Fri, 2 Feb 2007 00:10:40 +0000 (00:10 +0000)]
cookie expiration time got us with pants at our knees.
Next time in 2038 :-)

17 years agocompiler warning fix
Yang Tse [Thu, 1 Feb 2007 15:36:56 +0000 (15:36 +0000)]
compiler warning fix

17 years agoSuppress the "'convbuf' might be used uninitialized in this function" warning.
Gisle Vanem [Thu, 1 Feb 2007 12:23:00 +0000 (12:23 +0000)]
Suppress the "'convbuf' might be used uninitialized in this function" warning.

17 years agofogot to change Curl_mk_connc in header file
Yang Tse [Thu, 1 Feb 2007 11:27:42 +0000 (11:27 +0000)]
fogot to change Curl_mk_connc in header file

17 years agocompiler warning fix
Yang Tse [Thu, 1 Feb 2007 01:42:13 +0000 (01:42 +0000)]
compiler warning fix

17 years agoProperly use libtool macros to fix OpenLDAP library name detection on Darwin.
Dan Fandrich [Wed, 31 Jan 2007 23:15:47 +0000 (23:15 +0000)]
Properly use libtool macros to fix OpenLDAP library name detection on Darwin.

17 years agoadd debug messages for initialization failures
Yang Tse [Wed, 31 Jan 2007 19:47:49 +0000 (19:47 +0000)]
add debug messages for initialization failures

17 years agowhen using select() instead of poll, skip the test if the number of
Yang Tse [Wed, 31 Jan 2007 15:34:53 +0000 (15:34 +0000)]
when using select() instead of poll, skip the test if the number of
open file descriptors is greater than FD_SETSIZE minus SAFETY_MARGIN,
also skip the test if any of the open file descriptors has a number
greater than FD_SETSIZE minus SAFETY_MARGIN.

17 years agoMarty Kuhrt's VMS updates
Daniel Stenberg [Wed, 31 Jan 2007 09:37:39 +0000 (09:37 +0000)]
Marty Kuhrt's VMS updates

17 years agofix temp string buffer variable name
Yang Tse [Tue, 30 Jan 2007 13:21:39 +0000 (13:21 +0000)]
fix temp string buffer variable name

17 years agoSupport for OpenWatcom (Win32): It do have getpid(), but no
Gisle Vanem [Tue, 30 Jan 2007 13:15:07 +0000 (13:15 +0000)]
Support for OpenWatcom (Win32): It do have getpid(), but no
<sys/time.h>.

17 years agostart working on 7.16.2
Daniel Stenberg [Tue, 30 Jan 2007 12:25:55 +0000 (12:25 +0000)]
start working on 7.16.2

17 years agoskip test on platforms on which we use select() instead
Yang Tse [Tue, 30 Jan 2007 03:48:29 +0000 (03:48 +0000)]
skip test on platforms on which we use select() instead
of poll() and select() happens to be bound by FD_SETSIZE

17 years agofix compiler warning "discards qualifiers from pointer target type" in debug builds
Yang Tse [Mon, 29 Jan 2007 20:56:27 +0000 (20:56 +0000)]
fix compiler warning "discards qualifiers from pointer target type" in debug builds

17 years agothe same source file is re-used for multiple tests and I missed to add the
Daniel Stenberg [Mon, 29 Jan 2007 20:37:02 +0000 (20:37 +0000)]
the same source file is re-used for multiple tests and I missed to add the
timval.c dependency on some of those

17 years agoSome compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.
Gisle Vanem [Mon, 29 Jan 2007 20:24:00 +0000 (20:24 +0000)]
Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.

17 years agoUse DOS line-endings.
Gisle Vanem [Mon, 29 Jan 2007 19:08:04 +0000 (19:08 +0000)]
Use DOS line-endings.

17 years agorelease time
Daniel Stenberg [Mon, 29 Jan 2007 14:53:01 +0000 (14:53 +0000)]
release time

17 years agothe user-agent fix
Daniel Stenberg [Mon, 29 Jan 2007 10:12:30 +0000 (10:12 +0000)]
the user-agent fix

17 years agothe libtest source codes that use curlx_tv* functions MUST use the
Daniel Stenberg [Mon, 29 Jan 2007 10:09:06 +0000 (10:09 +0000)]
the libtest source codes that use curlx_tv* functions MUST use the
lib/timeval.c source code since those functions are not in the API (and might
not be accessible)

17 years ago- Michael Wallner reported that when doing a CONNECT with a custom User-Agent
Daniel Stenberg [Mon, 29 Jan 2007 09:26:36 +0000 (09:26 +0000)]
- Michael Wallner reported that when doing a CONNECT with a custom User-Agent
  header, you got _two_ User-Agent headers in the CONNECT request...! Added
  test case 287 to verify the fix.

17 years agofixed segfault when compiled with MingW32 and cmd or command shell.
Gunter Knauf [Mon, 29 Jan 2007 00:51:02 +0000 (00:51 +0000)]
fixed segfault when compiled with MingW32 and cmd or command shell.

17 years agoAndreas Rieke added extra infof() for when a connection is not re-used due to
Daniel Stenberg [Sun, 28 Jan 2007 22:45:22 +0000 (22:45 +0000)]
Andreas Rieke added extra infof() for when a connection is not re-used due to
SSL conditions not being the same

17 years agosilence compiler warnings
Daniel Stenberg [Sun, 28 Jan 2007 22:36:23 +0000 (22:36 +0000)]
silence compiler warnings

17 years agoenabled build with sspi.
Gunter Knauf [Sun, 28 Jan 2007 21:54:10 +0000 (21:54 +0000)]
enabled build with sspi.

17 years agoenabled build with hardcoded ca-bundle path;
Gunter Knauf [Sun, 28 Jan 2007 15:31:06 +0000 (15:31 +0000)]
enabled build with hardcoded ca-bundle path;
added distclean target.

17 years agoforce to create ca-bunde.h even if it exists already.
Gunter Knauf [Sun, 28 Jan 2007 15:07:53 +0000 (15:07 +0000)]
force to create ca-bunde.h even if it exists already.

17 years agouse var for awk.
Gunter Knauf [Sun, 28 Jan 2007 14:43:25 +0000 (14:43 +0000)]
use var for awk.

17 years agocurl_easy_reset() now resets the CA bundle path correctly
Daniel Stenberg [Sun, 28 Jan 2007 12:58:13 +0000 (12:58 +0000)]
curl_easy_reset() now resets the CA bundle path correctly

17 years agoanother small fix to directory listing output; disabled CURL_LIBSSH2_DEBUG.
Gunter Knauf [Sun, 28 Jan 2007 12:35:39 +0000 (12:35 +0000)]
another small fix to directory listing output; disabled CURL_LIBSSH2_DEBUG.

17 years agorecent contributors
Daniel Stenberg [Sun, 28 Jan 2007 09:59:11 +0000 (09:59 +0000)]
recent contributors

17 years agoCompiler warning fix
Yang Tse [Sun, 28 Jan 2007 03:51:10 +0000 (03:51 +0000)]
Compiler warning fix

17 years ago- David McCreedy fixed the Curl command line tool for HTTP on non-ASCII
Daniel Stenberg [Sat, 27 Jan 2007 23:02:17 +0000 (23:02 +0000)]
- David McCreedy fixed the Curl command line tool for HTTP on non-ASCII
  platforms.

17 years agofix sftp directory listing so that it works without -v and is redirectable with ...
Gunter Knauf [Sat, 27 Jan 2007 12:14:02 +0000 (12:14 +0000)]
fix sftp directory listing so that it works without -v and is redirectable with -o/-O.

17 years agotell us what we put out here...
Gunter Knauf [Sat, 27 Jan 2007 11:50:42 +0000 (11:50 +0000)]
tell us what we put out here...

17 years agoupdate copyright year notice
Yang Tse [Sat, 27 Jan 2007 03:43:05 +0000 (03:43 +0000)]
update copyright year notice

17 years agoCompiler warning fix
Yang Tse [Sat, 27 Jan 2007 03:14:25 +0000 (03:14 +0000)]
Compiler warning fix

17 years agosync with lib/setup_once.h
Yang Tse [Sat, 27 Jan 2007 01:56:57 +0000 (01:56 +0000)]
sync with lib/setup_once.h

17 years agosync comment with reality
Yang Tse [Sat, 27 Jan 2007 01:56:20 +0000 (01:56 +0000)]
sync comment with reality

17 years agoremove the res file too with clean target.
Gunter Knauf [Fri, 26 Jan 2007 21:00:02 +0000 (21:00 +0000)]
remove the res file too with clean target.

17 years agoremoved CFLAGS from linking.
Gunter Knauf [Fri, 26 Jan 2007 20:05:38 +0000 (20:05 +0000)]
removed CFLAGS from linking.

17 years agofix redefine warning when build from CVS.
Gunter Knauf [Fri, 26 Jan 2007 20:00:55 +0000 (20:00 +0000)]
fix redefine warning when build from CVS.

17 years agoFixed compiler warning.
Dan Fandrich [Fri, 26 Jan 2007 17:50:06 +0000 (17:50 +0000)]
Fixed compiler warning.

17 years agoRemove LoadLibrary() (from my private build).
Gisle Vanem [Fri, 26 Jan 2007 16:36:59 +0000 (16:36 +0000)]
Remove LoadLibrary() (from my private build).

17 years agoFree 'config->libcurl' at exit.
Gisle Vanem [Fri, 26 Jan 2007 16:24:52 +0000 (16:24 +0000)]
Free 'config->libcurl' at exit.

17 years agoUse "%Od" instead of CURL_FORMAT_OFF_T for <curlx.h> functions.
Gisle Vanem [Fri, 26 Jan 2007 16:18:47 +0000 (16:18 +0000)]
Use "%Od" instead of CURL_FORMAT_OFF_T for <curlx.h> functions.

17 years agoOptions of type CURLOPTTYPE_FUNCTIONPOINT are never printable.
Gisle Vanem [Fri, 26 Jan 2007 15:15:27 +0000 (15:15 +0000)]
Options of type CURLOPTTYPE_FUNCTIONPOINT are never printable.

17 years agoupdated mingw build instructions for libssh2.
Gunter Knauf [Fri, 26 Jan 2007 13:55:18 +0000 (13:55 +0000)]
updated mingw build instructions for libssh2.

17 years agoadded project header to lib resource file; fixed header copyright.
Gunter Knauf [Fri, 26 Jan 2007 08:53:03 +0000 (08:53 +0000)]
added project header to lib resource file; fixed header copyright.

17 years agouse provided resource file for exe.
Gunter Knauf [Fri, 26 Jan 2007 08:50:06 +0000 (08:50 +0000)]
use provided resource file for exe.

17 years agofix compiler warnings for SSL-disabled builds
Daniel Stenberg [Thu, 25 Jan 2007 21:00:03 +0000 (21:00 +0000)]
fix compiler warnings for SSL-disabled builds

17 years agougha, prevent a buffer overflow and allow very long strings in the generated
Daniel Stenberg [Thu, 25 Jan 2007 20:47:47 +0000 (20:47 +0000)]
ugha, prevent a buffer overflow and allow very long strings in the generated
libcurl source...

17 years ago- Added the --libcurl [file] option to curl. Append this option to any
Daniel Stenberg [Thu, 25 Jan 2007 15:58:00 +0000 (15:58 +0000)]
- Added the --libcurl [file] option to curl. Append this option to any
  ordinary curl command line, and you will get a libcurl-using source code
  written to the file that does the equivalent operation of what your command
  line operation does!

17 years agoremoved unused define.
Gunter Knauf [Thu, 25 Jan 2007 15:00:01 +0000 (15:00 +0000)]
removed unused define.

17 years agoset proper lib extension for non-configure mingw32 builds on Win32.
Gunter Knauf [Thu, 25 Jan 2007 14:06:38 +0000 (14:06 +0000)]
set proper lib extension for non-configure mingw32 builds on Win32.

17 years agofixed copyright for new year.
Gunter Knauf [Thu, 25 Jan 2007 13:17:20 +0000 (13:17 +0000)]
fixed copyright for new year.

17 years agoadded targets for libssh2 builds.
Gunter Knauf [Thu, 25 Jan 2007 13:15:47 +0000 (13:15 +0000)]
added targets for libssh2 builds.

17 years agoenabled build with libssh2.
Gunter Knauf [Thu, 25 Jan 2007 13:14:42 +0000 (13:14 +0000)]
enabled build with libssh2.

17 years agofix non-SSL builds again
Daniel Stenberg [Thu, 25 Jan 2007 11:09:56 +0000 (11:09 +0000)]
fix non-SSL builds again

17 years agoFixed a dangling pointer problem that prevented the http_proxy environment
Dan Fandrich [Thu, 25 Jan 2007 01:35:43 +0000 (01:35 +0000)]
Fixed a dangling pointer problem that prevented the http_proxy environment
variable from being properly used in many cases (and caused test case 63
to fail).

17 years agoremoved not used define.
Gunter Knauf [Thu, 25 Jan 2007 00:26:29 +0000 (00:26 +0000)]
removed not used define.