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
Yang Tse [Thu, 22 Feb 2007 16:44:43 +0000 (16:44 +0000)]
include <sys/types.h> when checking availability of the bool type
Yang Tse [Thu, 22 Feb 2007 07:39:45 +0000 (07:39 +0000)]
compiler warning fix
Yang Tse [Thu, 22 Feb 2007 06:22:19 +0000 (06:22 +0000)]
Fix compiler warning "statement is unreachable"
Yang Tse [Thu, 22 Feb 2007 06:19:39 +0000 (06:19 +0000)]
Fix compiler warnings
"case label value exceeds maximum value for type" and
"comparison is always false due to limited range of data type"
Both triggered when using a bool variable as the switch variable
in a switch statement and using enums for the case targets.
Yang Tse [Thu, 22 Feb 2007 02:51:54 +0000 (02:51 +0000)]
Check for stdbool.h at configuration stage, and include it if available.
Check for lowercase 'bool' type at configuration stage. If not available
provide a suitable replacement with a type definition of 'unsigned char'
in setup_once.h
Move definitions of TRUE and FALSE to setup_once.h
Daniel Stenberg [Wed, 21 Feb 2007 22:02:13 +0000 (22:02 +0000)]
silence two cases of "comparison between signed and unsigned"
Daniel Stenberg [Wed, 21 Feb 2007 21:59:40 +0000 (21:59 +0000)]
- Ravi Pratap provided work on libcurl making pipelining more robust and
fixing some bugs:
o Don't mix GET and POST requests in a pipeline
o Fix the order in which requests are dispatched from the pipeline
o Fixed several curl bugs with pipelining when the server is returning
chunked encoding:
* Added states to chunked parsing for final CRLF
* Rewind buffer after parsing chunk with data remaining
* Moved chunked header initializing to a spot just before receiving
headers
Yang Tse [Wed, 21 Feb 2007 19:03:20 +0000 (19:03 +0000)]
curlassert macro replaced with DEBUGASSERT macro defined in setup_once.h
Dan Fandrich [Wed, 21 Feb 2007 18:05:38 +0000 (18:05 +0000)]
Include some possible dependencies of arpa/inet.h
Gisle Vanem [Wed, 21 Feb 2007 15:01:51 +0000 (15:01 +0000)]
Cleanup WIN32 target using WSACleanup().
Yang Tse [Wed, 21 Feb 2007 05:48:07 +0000 (05:48 +0000)]
fix compiler warning "enumerated type mixed with another type"
Linus Nielsen Feltzing [Tue, 20 Feb 2007 22:08:50 +0000 (22:08 +0000)]
New FTP CCC functionality - adds passive and active mode to accomodate for different server behaviour
Linus Nielsen Feltzing [Tue, 20 Feb 2007 22:02:11 +0000 (22:02 +0000)]
New FTP CCC functionality - adds passive and active mode to accomodate for different server behaviour
Dan Fandrich [Tue, 20 Feb 2007 17:31:20 +0000 (17:31 +0000)]
Include network byte order conversion macros on Minix.
Yang Tse [Tue, 20 Feb 2007 14:26:15 +0000 (14:26 +0000)]
compiler warning fix
Yang Tse [Tue, 20 Feb 2007 14:01:04 +0000 (14:01 +0000)]
compiler warning fix
Yang Tse [Tue, 20 Feb 2007 12:13:14 +0000 (12:13 +0000)]
curl tool was using functions curlx_tvnow and curlx_tvdiff which are not
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx
The documented way of using them would be to use timeval.c as a source code file.
The above described method works very well when statically linking libcurl and
apps, curl tool, but has several drawbacks when you build a true shared
libcurl (i.e. Name space clash at linkage stage as functions are defined more
than once. Windows makefiles are not capable of handling this system of
source-level sharing)
So...
Now curlutil.h and curlutil.c define and implement cutil_tvnow and cutil_tvdiff
which replace curlx_tvnow and curlx_tvdiff for the curl tool. Doing this we
avoid the above described problems.
Yang Tse [Tue, 20 Feb 2007 12:12:27 +0000 (12:12 +0000)]
Move header file inclusion logic and definition of timeval
struct for platforms that don't have it to setup_once.h
Yang Tse [Tue, 20 Feb 2007 05:28:41 +0000 (05:28 +0000)]
Several corrections & changes to what has been stated in revision 1.45
1) The maketgz script does not insert the timestamp in curlver.h,
it actually updates it. For CVS versions it is the "CVS" string.
2) testcurl.pl will always print the "date" string which represents
the moment the test build is run.
3) testcurl.pl may not print the "timestamp" string since the script
may end before it is printed out. (i.e. unable to update from CVS)
4) The "timestamp" string printed will be the same as the "date" one
unless one of the following conditions is met.
*) It is a tarball-based build. Timestamp will be creation time.
*) CVS update has been done. Timestamp will be end of CVS update.
Yang Tse [Tue, 20 Feb 2007 01:09:38 +0000 (01:09 +0000)]
add tutil_tvdiff_secs() for completeness
Dan Fandrich [Mon, 19 Feb 2007 21:50:03 +0000 (21:50 +0000)]
Mention curl-config dependencies fix.
Yang Tse [Mon, 19 Feb 2007 19:46:07 +0000 (19:46 +0000)]
fix typo
Yang Tse [Mon, 19 Feb 2007 19:41:48 +0000 (19:41 +0000)]
Show libcurl's timestamp. This timestamp is only available in curlver.h
for tarball-based tests and builds, the maketgz script inserts it when
the tarball is created. For CVS-based tests and builds the timestamp we
show is the current UTC build time as it is the CVS version timestamp.
In this way, all builds will have a valid source code timestamp which
isn't related to the moment the tests and build is performed, with the
exception of CVS-based ones which have the same "date" and "timestamp"
Gisle Vanem [Mon, 19 Feb 2007 17:44:59 +0000 (17:44 +0000)]
Added ares_parse_ns_reply.obj etc.
Gisle Vanem [Mon, 19 Feb 2007 17:41:38 +0000 (17:41 +0000)]
INADDR_NONE no longer used.
Gisle Vanem [Mon, 19 Feb 2007 17:40:36 +0000 (17:40 +0000)]
Fixed typo.
Daniel Stenberg [Mon, 19 Feb 2007 14:06:11 +0000 (14:06 +0000)]
Vlad Dinulescu added ares_parse_ns_reply()
Daniel Stenberg [Mon, 19 Feb 2007 12:37:04 +0000 (12:37 +0000)]
Ian Turner fixed the libcurl.m4 macro's support for --with-libcurl.
AC_PATH_PROG was not used properly.
Daniel Stenberg [Mon, 19 Feb 2007 12:20:32 +0000 (12:20 +0000)]
- Shmulik Regev found a memory leak in re-used HTTPS connections, at least
when the multi interface was used.
Daniel Stenberg [Mon, 19 Feb 2007 11:55:49 +0000 (11:55 +0000)]
and fix warnings due to lack of protos
Daniel Stenberg [Mon, 19 Feb 2007 11:53:54 +0000 (11:53 +0000)]
- Robson Braga Araujo made passive FTP transfers work with SOCKS (both 4 and
5).
Daniel Stenberg [Mon, 19 Feb 2007 11:47:04 +0000 (11:47 +0000)]
fixed code to compile and removed one warning
Yang Tse [Mon, 19 Feb 2007 04:51:47 +0000 (04:51 +0000)]
log a message, stating the need of openssl to run this test
Yang Tse [Mon, 19 Feb 2007 03:59:41 +0000 (03:59 +0000)]
Oops missing var
Yang Tse [Mon, 19 Feb 2007 02:29:35 +0000 (02:29 +0000)]
compiler warning fix
Yang Tse [Mon, 19 Feb 2007 02:03:58 +0000 (02:03 +0000)]
add debug messages for initialization failures
Daniel Stenberg [Sun, 18 Feb 2007 23:02:42 +0000 (23:02 +0000)]
- Jeff Pohlmeyer identified two problems: first a rather obscure problem with
the multi interface and connection re-use that could make a
curl_multi_remove_handle() ruin a pointer in another handle.
The second problem was less of an actual problem but more of minor quirk:
the re-using of connections wasn't properly checking if the connection was
marked for closure.
Yang Tse [Sun, 18 Feb 2007 00:54:26 +0000 (00:54 +0000)]
Michal Marek comment fix
Yang Tse [Sun, 18 Feb 2007 00:34:37 +0000 (00:34 +0000)]
fix ENAMETOOLONG and ENOTEMPTY may already be defined in errno.h
Dan Fandrich [Sat, 17 Feb 2007 17:55:19 +0000 (17:55 +0000)]
Use configure's new LIBCURL_LIBS variable
Yang Tse [Sat, 17 Feb 2007 13:51:24 +0000 (13:51 +0000)]
Move portable error number symbolic name definitions to setup_once.h
Yang Tse [Sat, 17 Feb 2007 11:59:08 +0000 (11:59 +0000)]
compiler warning fix
Yang Tse [Sat, 17 Feb 2007 11:43:52 +0000 (11:43 +0000)]
Replicate the configure tests that determined that timeval was available.
Yang Tse [Sat, 17 Feb 2007 11:34:33 +0000 (11:34 +0000)]
compiler warning fix
Dan Fandrich [Sat, 17 Feb 2007 08:49:04 +0000 (08:49 +0000)]
Do a better job at determining what test servers *really* need to link against.
Dan Fandrich [Sat, 17 Feb 2007 08:16:53 +0000 (08:16 +0000)]
getpart implicitly drags in some networking functions, so it needs to be
linked to the networking libraries.
Dan Fandrich [Sat, 17 Feb 2007 01:29:01 +0000 (01:29 +0000)]
Better separate the library dependencies into those required by libcurl
and those required by other components to avoid forcing unneeded
dependencies into the target objects.
Dan Fandrich [Sat, 17 Feb 2007 01:25:32 +0000 (01:25 +0000)]
Remove C99isms
Dan Fandrich [Sat, 17 Feb 2007 01:23:37 +0000 (01:23 +0000)]
Replicate the configure tests that determined that timeval was available.
Yang Tse [Fri, 16 Feb 2007 19:41:25 +0000 (19:41 +0000)]
add debug messages for fopen() failures
Yang Tse [Fri, 16 Feb 2007 19:17:05 +0000 (19:17 +0000)]
add debug messages for fopen() failures
Yang Tse [Fri, 16 Feb 2007 18:19:35 +0000 (18:19 +0000)]
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
Yang Tse [Fri, 16 Feb 2007 16:01:19 +0000 (16:01 +0000)]
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
Daniel Stenberg [Fri, 16 Feb 2007 15:37:05 +0000 (15:37 +0000)]
- Duncan Mac-Vicar Prett and Michal Marek reported problems with resetting
CURLOPT_RANGE back to no range on an easy handle when using FTP.
Daniel Stenberg [Fri, 16 Feb 2007 15:27:49 +0000 (15:27 +0000)]
maxdownload is actually -1 for unlimited
Yang Tse [Fri, 16 Feb 2007 15:04:44 +0000 (15:04 +0000)]
use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling
Yang Tse [Fri, 16 Feb 2007 14:22:08 +0000 (14:22 +0000)]
compiler warning fix
Yang Tse [Thu, 15 Feb 2007 18:44:32 +0000 (18:44 +0000)]
avoid redefinition of SET_ERRNO()
Yang Tse [Thu, 15 Feb 2007 16:23:24 +0000 (16:23 +0000)]
introduce uppercase macros SOCKERRNO, SET_SOCKERRNO(), ERRNO and SET_ERRNO()
making them available to any source code file which includes "setup.h".
Macro SOCKERRNO / SET_SOCKERRNO() returns / sets the *socket-related* errno
(or equivalent) on this platform to hide platform details to code using it.
Macro ERRNO / SET_ERRNO() returns / sets the NOT *socket-related* errno
(or equivalent) on this platform to hide platform details to code using it.
Yang Tse [Thu, 15 Feb 2007 14:02:32 +0000 (14:02 +0000)]
icc 9.0 when compiling its generated code for its own FD_SET,
FD_ISSET, and FD_ZERO macros emits warnings #1469 and #593.
So for icc 9.0 we also ignore warnings #1469 and #593.
* 593 warns on "variable __d0 was set but never used"
* 1469 warns on "cc clobber ignored"
Yang Tse [Thu, 15 Feb 2007 12:14:34 +0000 (12:14 +0000)]
compiler warning fix
Yang Tse [Thu, 15 Feb 2007 01:58:37 +0000 (01:58 +0000)]
Do not define HAVE_GMTIME_R for native Windows builds
Yang Tse [Thu, 15 Feb 2007 01:38:07 +0000 (01:38 +0000)]
Daniel Mirchandani fix to make libcurl build nicely on Winsock
build targets when --disable-verbose is specified.
Gunter Knauf [Thu, 15 Feb 2007 01:36:35 +0000 (01:36 +0000)]
enabled IPV6 builds.
Dan Fandrich [Wed, 14 Feb 2007 20:02:08 +0000 (20:02 +0000)]
Added --ftp-ssl-ccc issue.
Dan Fandrich [Wed, 14 Feb 2007 18:13:16 +0000 (18:13 +0000)]
Don't bother adding a library path of /usr/lib in curl-config --libs
Yang Tse [Wed, 14 Feb 2007 17:38:41 +0000 (17:38 +0000)]
Oops, missing argument separator comma
Yang Tse [Wed, 14 Feb 2007 14:11:47 +0000 (14:11 +0000)]
in debug messages also show error description
Yang Tse [Wed, 14 Feb 2007 13:46:08 +0000 (13:46 +0000)]
compiler warning fix
Yang Tse [Wed, 14 Feb 2007 13:31:37 +0000 (13:31 +0000)]
avoid using funtion isblank() and just use our ISBLANK
macro to provide this functionality on all platforms
Yang Tse [Wed, 14 Feb 2007 04:45:30 +0000 (04:45 +0000)]
compiler warning fix
Dan Fandrich [Wed, 14 Feb 2007 03:00:08 +0000 (03:00 +0000)]
Fixed the problem of curl-config --libs specifying unneeded libraries
dependencies to applications.
Yang Tse [Wed, 14 Feb 2007 00:28:01 +0000 (00:28 +0000)]
enhance HTTP server request input writing,
retrying upon EINTR errors.
Daniel Stenberg [Tue, 13 Feb 2007 22:50:16 +0000 (22:50 +0000)]
ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' on
the left side of @ to make it short(er).
Daniel Stenberg [Tue, 13 Feb 2007 21:21:44 +0000 (21:21 +0000)]
- Robert A. Monat made libcurl build fine with VC2005 - it doesn't have
gmtime_r() like the older VC versions. He also made use of some machine-
specific defines to differentiate the "OS" define.