Yang Tse [Thu, 22 Mar 2007 18:25:38 +0000 (18:25 +0000)]
Add check for compiler variadic macro support in configuration script
Dan Fandrich [Thu, 22 Mar 2007 17:58:01 +0000 (17:58 +0000)]
Fixed unused variable compiler warning.
Dan Fandrich [Thu, 22 Mar 2007 17:18:41 +0000 (17:18 +0000)]
Use C99-style variadic macros when available.
Yang Tse [Thu, 22 Mar 2007 15:32:28 +0000 (15:32 +0000)]
Add a couple of local macros to improve code readability.
For completeness sake, wait_ms() might also get interrupted when
experimental CURL_ACKNOWLEDGE_EINTR is defined.
Daniel Stenberg [Thu, 22 Mar 2007 15:23:00 +0000 (15:23 +0000)]
-z hasn't supported "yesterday" for quite some time...
Yang Tse [Thu, 22 Mar 2007 14:41:10 +0000 (14:41 +0000)]
attempt to keep message length below 80 chars
Yang Tse [Wed, 21 Mar 2007 13:09:39 +0000 (13:09 +0000)]
reverted back to previous version => curl.haxx.se/mail/lib-2007-03/0258.html
Yang Tse [Wed, 21 Mar 2007 08:17:13 +0000 (08:17 +0000)]
avoid the use of variadic macros for greater portability
Yang Tse [Wed, 21 Mar 2007 07:29:03 +0000 (07:29 +0000)]
fix compiler warning: implicit conversion from "long" to "int"
Yang Tse [Tue, 20 Mar 2007 20:00:40 +0000 (20:00 +0000)]
Fixed: When a signal was caught awaiting for an event using Curl_select()
or Curl_poll() with a non-zero timeout both functions would restart the
specified timeout. This could even lead to the extreme case that if a
signal arrived with a frecuency lower to the specified timeout neither
function would ever exit.
Added experimental symbol definition check CURL_ACKNOWLEDGE_EINTR in
Curl_select() and Curl_poll(). When compiled with CURL_ACKNOWLEDGE_EINTR
defined both functions will return as soon as a signal is caught. Use it
at your own risk, all calls to these functions in the library should be
revisited and checked before fully supporting this feature.
Gisle Vanem [Tue, 20 Mar 2007 16:30:14 +0000 (16:30 +0000)]
Remove unneeded 'HAVE_*' defines.
Yang Tse [Mon, 19 Mar 2007 15:41:28 +0000 (15:41 +0000)]
Avoid false positive detection of yaSSL
Daniel Stenberg [Mon, 19 Mar 2007 12:14:49 +0000 (12:14 +0000)]
committed
Yang Tse [Mon, 19 Mar 2007 12:02:33 +0000 (12:02 +0000)]
Bryan Henderson fixed the progress function so that it can get called
more frequently allowing same calling frecuency for the client progress
callback, while keeping the once a second frecuency for speed calculations
and internal display of the transfer progress.
Daniel Stenberg [Sun, 18 Mar 2007 23:16:36 +0000 (23:16 +0000)]
language fix
Daniel Stenberg [Sun, 18 Mar 2007 23:13:45 +0000 (23:13 +0000)]
Removed: yassl build breaks
Added: Frequent calling of user progress callback
Daniel Stenberg [Sun, 18 Mar 2007 22:37:23 +0000 (22:37 +0000)]
detect and show if built with yassl, but also set the "openssl" flag internally
since that is the API yassl attempts to provide
Daniel Stenberg [Sun, 18 Mar 2007 22:36:34 +0000 (22:36 +0000)]
detect if built with the OpenSSL API "emulated" by yassl
Yang Tse [Sun, 18 Mar 2007 17:29:24 +0000 (17:29 +0000)]
Fix compiler warning/error: ISO C90 forbids mixed declarations and code
Yang Tse [Sun, 18 Mar 2007 04:51:40 +0000 (04:51 +0000)]
Code refactoring, extracting a new function wait_ms() from Curl_select and
Curl_poll() which is called whenever not a single valid file descriptor is
passed to these functions.
Improve readibility using a poll() macro to replace WSApoll().
Gisle Vanem [Sat, 17 Mar 2007 18:19:15 +0000 (18:19 +0000)]
Remove unneeded 'HAVE_*' defines. Detect i386 OS-target (gcc).
Gisle Vanem [Sat, 17 Mar 2007 17:58:45 +0000 (17:58 +0000)]
Added cvs id. Use TOPDIR variable. Updated CSOURCES.
Dependencies are now put in external file depend.dj.
Gisle Vanem [Sat, 17 Mar 2007 17:56:21 +0000 (17:56 +0000)]
Added a hack to work around the circular dependency when
CURL_DEBUG is defined.
Daniel Stenberg [Fri, 16 Mar 2007 22:44:46 +0000 (22:44 +0000)]
openssl/bio.h doesn't exist when we build with yassl so avoid trying
Dan Fandrich [Fri, 16 Mar 2007 04:34:53 +0000 (04:34 +0000)]
Fixed the test case to use a truly invalid urlglob range.
Daniel Stenberg [Thu, 15 Mar 2007 22:43:11 +0000 (22:43 +0000)]
Sebastien Trottier's issue
Daniel Stenberg [Thu, 15 Mar 2007 22:34:49 +0000 (22:34 +0000)]
eight fresh issues to keep track of
Dan Fandrich [Thu, 15 Mar 2007 22:29:10 +0000 (22:29 +0000)]
Various memory leaks plugged and NULL pointer fixes made in the ssh code.
Daniel Stenberg [Thu, 15 Mar 2007 22:05:01 +0000 (22:05 +0000)]
- Nick made the curl tool accept globbing ranges that only is one number, i.e
you can now use [1-1] without curl complaining.
Dan Fandrich [Thu, 15 Mar 2007 21:25:56 +0000 (21:25 +0000)]
Fixed some memory leaks in various error paths.
Yang Tse [Thu, 15 Mar 2007 15:35:51 +0000 (15:35 +0000)]
show better description for AMD64-linux static libraries PIC check
Dan Fandrich [Thu, 15 Mar 2007 00:04:41 +0000 (00:04 +0000)]
Fixed a memory leak.
Daniel Stenberg [Wed, 14 Mar 2007 23:40:46 +0000 (23:40 +0000)]
yassl doesn't have SSL_get_shutdown() in its OpenSSL() layer so we check for
it and avoid it, even if this cripples the CCC command
Dan Fandrich [Wed, 14 Mar 2007 02:04:17 +0000 (02:04 +0000)]
Fixed a NULL pointer dereference on sftp initialization failure.
Added some more debug logs.
Dan Fandrich [Tue, 13 Mar 2007 19:54:10 +0000 (19:54 +0000)]
--ftp-ssl-control is now honoured on ftps:// URLs
Gisle Vanem [Tue, 13 Mar 2007 12:52:28 +0000 (12:52 +0000)]
Use Curl_inet_pton() instead of inet_pton().
Dan Fandrich [Mon, 12 Mar 2007 20:50:16 +0000 (20:50 +0000)]
libcurl supplies its own crypto hash functions when SSL is disabled, so
'crypto' tests aren't dependent on SSL. Compiling with
--disable-crypto-auth will cause test failures, however.
Daniel Stenberg [Mon, 12 Mar 2007 13:20:39 +0000 (13:20 +0000)]
RECV is for download
Yang Tse [Mon, 12 Mar 2007 05:09:25 +0000 (05:09 +0000)]
Emmanuel Dreyfus fixed not being able to find ber_free() in
libldap when available in liblber.
Daniel Stenberg [Sun, 11 Mar 2007 22:48:58 +0000 (22:48 +0000)]
can just as well NULLify the pointer in a single spot
Daniel Stenberg [Sun, 11 Mar 2007 09:11:29 +0000 (09:11 +0000)]
reverted the pselect patch => curl.haxx.se/mail/lib-2007-03/0100.html
Yang Tse [Sun, 11 Mar 2007 00:26:01 +0000 (00:26 +0000)]
fix compiler warning: unused variable
Daniel Stenberg [Sat, 10 Mar 2007 22:51:20 +0000 (22:51 +0000)]
Eygene Ryabinkin fixed a use-after-free issue with HTTP transfers with the
multi interface
Daniel Stenberg [Sat, 10 Mar 2007 22:36:53 +0000 (22:36 +0000)]
Bryan Henderson
Daniel Stenberg [Sat, 10 Mar 2007 12:11:21 +0000 (12:11 +0000)]
- Bryan Henderson introduces two things:
1) the progress callback gets called more frequently (at times)
2) libcurl *might* call the callback when it receives a signal
Daniel Stenberg [Sat, 10 Mar 2007 11:54:38 +0000 (11:54 +0000)]
pycurl 7.16.1
Yang Tse [Sat, 10 Mar 2007 00:19:05 +0000 (00:19 +0000)]
change max allowed time for this test to complete to 90 seconds
Dan Fandrich [Fri, 9 Mar 2007 23:39:42 +0000 (23:39 +0000)]
Updated the test harness to add a new "crypto" feature check and updated the
appropriate test case to use it. For now, this is treated the same as the
"SSL" feature because curl doesn't list it separately.
Daniel Stenberg [Fri, 9 Mar 2007 22:48:07 +0000 (22:48 +0000)]
- Robert Iakobashvili fixed CURLOPT_INTERFACE for IPv6.
Daniel Stenberg [Fri, 9 Mar 2007 22:26:59 +0000 (22:26 +0000)]
- Robert A. Monat improved the maketgz and VC6/8 generating to set the correct
machine type too.
Daniel Stenberg [Fri, 9 Mar 2007 21:51:38 +0000 (21:51 +0000)]
- Justin Fletcher fixed a file descriptor leak in the curl tool when trying to
upload a file it couldn't open. Bug #1676581
(http://curl.haxx.se/bug/view.cgi?id=1676581)
Dan Fandrich [Fri, 9 Mar 2007 21:01:39 +0000 (21:01 +0000)]
Updated the test harness to check for protocol support before running each
test, fixing KNOWN_BUGS #11. Fixed some tests to more accurately specify
their required servers and features.
Dan Fandrich [Thu, 8 Mar 2007 20:00:28 +0000 (20:00 +0000)]
Made a few cleanups.
Dan Fandrich [Thu, 8 Mar 2007 19:50:32 +0000 (19:50 +0000)]
Added SSL as a required feature for test case 400.
Yang Tse [Thu, 8 Mar 2007 12:04:30 +0000 (12:04 +0000)]
remove code superceeded by the new method used to force
libtool to skip C++ and Fortran checks in patchset:
http://cool.haxx.se/cvs.cgi/curl/ares/configure.ac.diff?r1=1.60&r2=1.64
Dan Fandrich [Thu, 8 Mar 2007 02:38:49 +0000 (02:38 +0000)]
Added test infrastructure to support basic FTPS tests. This currently
supports only ftps:// URLs with --ftp-ssl-control specified, which
implicitly encrypts the control channel but not the data channels. That
allows stunnel to be used with an unmodified ftp server in exactly the
same way that the test https server is set up.
Added test case 400 as a basic FTPS test.
Dan Fandrich [Wed, 7 Mar 2007 22:42:05 +0000 (22:42 +0000)]
Honour --ftp-ssl-control on ftps:// URLs to allow encrypted control and
unencrypted data connections.
Yang Tse [Wed, 7 Mar 2007 18:02:35 +0000 (18:02 +0000)]
fix test leftover in previous commit
Yang Tse [Wed, 7 Mar 2007 17:59:03 +0000 (17:59 +0000)]
force libtool to build static libraries with PIC on AMD64
Yang Tse [Wed, 7 Mar 2007 01:13:03 +0000 (01:13 +0000)]
Autoconf redefines the M4 builtin macro 'm4_undefine' in such a way that
it fails if the macro that is being undefined is not already defined. To
make this work under all cases and be sure that at a certain point some
specific macro isn't defined we must use the following style in configure:
m4_ifdef([macro], [m4_undefine([macro])])
Dan Fandrich [Tue, 6 Mar 2007 19:55:11 +0000 (19:55 +0000)]
Fixed a couple of problems detected by valgrind in test cases 181 & 216
Dan Fandrich [Tue, 6 Mar 2007 18:08:20 +0000 (18:08 +0000)]
Autoconf 2.57 didn't like these m4_undefine for some reason (probably a bug).
Luckily, they weren't needed.
Yang Tse [Tue, 6 Mar 2007 16:53:53 +0000 (16:53 +0000)]
skip libtool C++ and Fortran linker checks
Yang Tse [Tue, 6 Mar 2007 05:05:50 +0000 (05:05 +0000)]
skip libtool C++ and Fortran checks
Yang Tse [Sat, 3 Mar 2007 05:16:57 +0000 (05:16 +0000)]
stricter newline policy
Yang Tse [Sat, 3 Mar 2007 04:27:19 +0000 (04:27 +0000)]
30 seconds isn't long enough for this test on a loaded server.
Yang Tse [Sat, 3 Mar 2007 02:06:44 +0000 (02:06 +0000)]
stricter newline policy
Daniel Stenberg [Fri, 2 Mar 2007 22:42:43 +0000 (22:42 +0000)]
- Robert A. Monat and Shmulik Regev helped out to fix the new */Makefile.vc8
makefiles that are included in the source release archives, generated from
the Makefile.vc6 files by the maketgz script. I also modified the root
Makefile to have a VC variable that defaults to vc6 but can be overridden to
allow it to be used for vc8 as well. Like this:
nmake VC=vc8 vc
Daniel Stenberg [Thu, 1 Mar 2007 21:26:23 +0000 (21:26 +0000)]
remove unncessary and wrong remark
Yang Tse [Thu, 1 Mar 2007 16:42:02 +0000 (16:42 +0000)]
Reduce the posibility of leaving the sockfilter hanging around when
tearing down the test ftp server due to a read error condition.
Yang Tse [Thu, 1 Mar 2007 12:02:17 +0000 (12:02 +0000)]
Do not remove CURLM_STATE_WAITPROXYCONNECT from the CURLMstate enum
in builds with HTTP support disabled to keep consistent enum values
for CURLMstate in all kind of builds.
Yang Tse [Wed, 28 Feb 2007 15:10:20 +0000 (15:10 +0000)]
proper symbol definition check for Novell NetWare
Yang Tse [Wed, 28 Feb 2007 14:45:48 +0000 (14:45 +0000)]
proper symbol definition check for all AmigaOS flavours
Daniel Stenberg [Wed, 28 Feb 2007 10:30:57 +0000 (10:30 +0000)]
clarify that -K files are expected to have one option per line
Yang Tse [Wed, 28 Feb 2007 05:15:56 +0000 (05:15 +0000)]
protect from themselves those who need it
Yang Tse [Tue, 27 Feb 2007 23:46:48 +0000 (23:46 +0000)]
log a 1120 chars long string to aid in quoted-printable and soft
line break detection in daily build logs.
Daniel Stenberg [Tue, 27 Feb 2007 22:12:15 +0000 (22:12 +0000)]
- Hang Kin Lau found and fixed: When I use libcurl to connect to an https
server through a proxy and have the remote https server port set using the
CURLOPT_PORT option, protocol gets reset to http from https after the first
request.
User defined URL was modified internally by libcurl and subsequent reuse of
the easy handle may lead to connection using a different protocol (if not
originally http).
I found that libcurl hardcoded the protocol to "http" when it tries to
regenerate the URL if CURLOPT_PORT is set. I tried to fix the problem as
follows and it's working fine so far
Gisle Vanem [Tue, 27 Feb 2007 15:44:25 +0000 (15:44 +0000)]
Added "CSOURCES = $(CURL_SOURCES)".
Gisle Vanem [Tue, 27 Feb 2007 15:35:06 +0000 (15:35 +0000)]
Added TOPDIR variable. Put dependencies in external file.
Added -DHAVE_STRUCT_TIMEVAL to CFLAGS.
Gisle Vanem [Tue, 27 Feb 2007 15:32:29 +0000 (15:32 +0000)]
Remove $(CURL_SOURCES).
Gisle Vanem [Tue, 27 Feb 2007 15:27:00 +0000 (15:27 +0000)]
Added TOPDIR variable. Put dependencies in external file.
config.h includes ../lib/config.dos.
Gisle Vanem [Tue, 27 Feb 2007 15:24:32 +0000 (15:24 +0000)]
Added TOPDIR variable. Put dependencies in external file.
Gisle Vanem [Tue, 27 Feb 2007 15:22:37 +0000 (15:22 +0000)]
Added TOPDIR variable. Updated package locations.
Simplified dependency generation.
Daniel Stenberg [Tue, 27 Feb 2007 13:51:20 +0000 (13:51 +0000)]
HTTP Digest header parsing fix
Daniel Stenberg [Tue, 27 Feb 2007 12:44:14 +0000 (12:44 +0000)]
Somewhat updated, changes include: I tried to be more agnostic about the
specific SSL library that might be used, and I cut out the closepolicy stuff
that we no longer support
Yang Tse [Tue, 27 Feb 2007 02:24:13 +0000 (02:24 +0000)]
no proxy support if libcurl is built with HTTP disabled
Daniel Stenberg [Mon, 26 Feb 2007 22:03:01 +0000 (22:03 +0000)]
Jose Kahan pointed out a Digest server that provided the algorith last in the
header line without quotes and with a CRLF immediately following...
Gisle Vanem [Mon, 26 Feb 2007 04:33:19 +0000 (04:33 +0000)]
Removed inclusion of <sys/types.h> in .c-files
since it's already included through "setup.h".
Gisle Vanem [Mon, 26 Feb 2007 04:24:26 +0000 (04:24 +0000)]
Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files
since they're already included through "setup.h".
Gisle Vanem [Mon, 26 Feb 2007 03:41:25 +0000 (03:41 +0000)]
Removed unneeded 'HAVE_x' defines.
Gisle Vanem [Mon, 26 Feb 2007 03:38:26 +0000 (03:38 +0000)]
Fix typo.
Gisle Vanem [Sun, 25 Feb 2007 18:02:27 +0000 (18:02 +0000)]
Constify some arguments.
Gisle Vanem [Sun, 25 Feb 2007 17:34:10 +0000 (17:34 +0000)]
Use dynamic version of libcurl. Use '\' in dependencies.
Daniel Stenberg [Sun, 25 Feb 2007 11:50:11 +0000 (11:50 +0000)]
Two new mirrors, but the total amount of mirrors still don't go up very much
due to the frequent dying of mirrors...
Daniel Stenberg [Sun, 25 Feb 2007 11:38:13 +0000 (11:38 +0000)]
- Adam D. Moss made the HTTP CONNECT procedure less blocking when used from
the multi interface. Note that it still does a part of the connection in a
blocking manner.
Daniel Stenberg [Fri, 23 Feb 2007 10:08:46 +0000 (10:08 +0000)]
Works for me
Daniel Stenberg [Fri, 23 Feb 2007 09:48:01 +0000 (09:48 +0000)]
- Added warning outputs if the command line uses more than one of the options
-v, --trace and --trace-ascii, since it could really confuse the user.
Clarified this fact in the man page.
Daniel Stenberg [Thu, 22 Feb 2007 21:21:05 +0000 (21:21 +0000)]
setting CURLOPT_PROXY to "" explicitly disables the use of a proxy (even if
there is an environment variable set)
Dan Fandrich [Thu, 22 Feb 2007 18:35:57 +0000 (18:35 +0000)]
5 seconds isn't always enough time to start a server on a loaded system.
Yang Tse [Thu, 22 Feb 2007 17:34:02 +0000 (17:34 +0000)]
remove redundant check in timestamp detection