Daniel Stenberg [Fri, 23 Apr 2004 08:38:43 +0000 (08:38 +0000)]
No longer uses the valgrind option '--logfile-fd', we use the --logfile
option instead (even though it appends the pid to the file name, making it
harder to figure out its name to parse it after a test has run).
Also made sure we only use valgrind for the actual test command command lines,
not when for example running curl to detect if there are any already running
servers are present etc.
Daniel Stenberg [Fri, 23 Apr 2004 06:29:41 +0000 (06:29 +0000)]
define the obsolete options to different values to prevent "duplicate case"
situtations in bindings that still have switch() cases for them
Daniel Stenberg [Fri, 23 Apr 2004 06:04:52 +0000 (06:04 +0000)]
require SSL as otherwise NTLM doesn't work!
Daniel Stenberg [Thu, 22 Apr 2004 21:27:32 +0000 (21:27 +0000)]
missing brace
Daniel Stenberg [Thu, 22 Apr 2004 20:09:33 +0000 (20:09 +0000)]
allow newlines in the contents when doing -F "var=[contents]"
Robert Marlow reported.
Daniel Stenberg [Thu, 22 Apr 2004 20:07:41 +0000 (20:07 +0000)]
- David Byron found and fixed a small bug with the --fail and authentication
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and
communicate with a proxy that requires basic authentication, the proxy
properly returns a 407, but the failure detection code doesn't realize it
should give up, so curl returns with exit code 0. Test case 162 verifies
this.
Daniel Stenberg [Thu, 22 Apr 2004 15:26:30 +0000 (15:26 +0000)]
allow newlines in the contents when doing -F "var=[contents]"
Daniel Stenberg [Thu, 22 Apr 2004 13:15:17 +0000 (13:15 +0000)]
removed Curl_ftp_quit() as it was turned into a static in ftp.c
Daniel Stenberg [Thu, 22 Apr 2004 13:10:43 +0000 (13:10 +0000)]
If a transfer is found out to be only partial, libcurl will now treat that
as a problem serious enough to skip the final QUIT command before closing
the control connection. To avoid the risk that it will "hang" waiting for
the QUIT response. Added test case 161 to verify this.
Daniel Stenberg [Thu, 22 Apr 2004 13:09:00 +0000 (13:09 +0000)]
If only a partial file was transfered, we consider that a fatal problem so
we won't try to QUIT the control connection and risk "hanging" waiting for
a response. Test case 161 verifies this. The quit-sending function was
also made static.
Daniel Stenberg [Thu, 22 Apr 2004 12:35:45 +0000 (12:35 +0000)]
Added comments
Daniel Stenberg [Thu, 22 Apr 2004 10:33:55 +0000 (10:33 +0000)]
modified how valgrind is run to make sure that file handle 3 exists when
we tell valgrind to use that to send the logfile to
Daniel Stenberg [Thu, 22 Apr 2004 08:54:34 +0000 (08:54 +0000)]
danish mirror
Daniel Stenberg [Wed, 21 Apr 2004 19:35:06 +0000 (19:35 +0000)]
Gisle's items
Daniel Stenberg [Wed, 21 Apr 2004 11:18:42 +0000 (11:18 +0000)]
include unistd.h as well for the close() proto on some platforms (like Tru64)
Daniel Stenberg [Wed, 21 Apr 2004 11:15:35 +0000 (11:15 +0000)]
typecast the tolower() argument to an int to prevent compiler warning
Daniel Stenberg [Wed, 21 Apr 2004 11:15:02 +0000 (11:15 +0000)]
typecast tolower/toupper arguments to int to make picky compilers complain
less
Daniel Stenberg [Wed, 21 Apr 2004 08:56:02 +0000 (08:56 +0000)]
test case 160 "should work" now
Daniel Stenberg [Wed, 21 Apr 2004 08:49:14 +0000 (08:49 +0000)]
Fix the "lingering close" problem when re-using a connection, as test case
160 shows.
We got no data and we attempted to re-use a connection. This might happen if
the connection was left alive when we were done using it before, but that was
closed when we wanted to read from it again. Bad luck. Retry the same request
on a fresh connect!
Deleted the sockerror variable again, it serves no purpose anymore.
Daniel Stenberg [Wed, 21 Apr 2004 08:47:57 +0000 (08:47 +0000)]
increase the headerbytecount for incoming "headers"
Daniel Stenberg [Wed, 21 Apr 2004 06:56:54 +0000 (06:56 +0000)]
log the WAIT command
Daniel Stenberg [Tue, 20 Apr 2004 09:46:10 +0000 (09:46 +0000)]
cleanup leftovers
Daniel Stenberg [Tue, 20 Apr 2004 08:35:37 +0000 (08:35 +0000)]
test160 - for a more controlled testing of the case where libcurl starts
to re-use a connection that is closed when re-used and libcurl should then
make a new fresh connection and use instead
Daniel Stenberg [Tue, 20 Apr 2004 07:53:24 +0000 (07:53 +0000)]
Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-
length limit of the hostname part of the URL.
Daniel Stenberg [Tue, 20 Apr 2004 07:52:16 +0000 (07:52 +0000)]
new mirror and one that changed domain
Daniel Stenberg [Tue, 20 Apr 2004 07:36:09 +0000 (07:36 +0000)]
make the first response get a "connection: close" header as that is how
most 1.1 connections will be closed. The case where it gets closed anyway
is subject for a new separate test.
Daniel Stenberg [Mon, 19 Apr 2004 15:20:30 +0000 (15:20 +0000)]
changed the logging to work when the logfile is removed during testing
Daniel Stenberg [Mon, 19 Apr 2004 08:41:36 +0000 (08:41 +0000)]
Make the server include "Connection: close" in the headers of the replies
it actually will close. This is after all what HTTP 1.1 says a server should
do.
Daniel Stenberg [Mon, 19 Apr 2004 07:18:26 +0000 (07:18 +0000)]
Gisle Vanem corrected a mistake in a recent progress fix
Daniel Stenberg [Sat, 17 Apr 2004 11:38:41 +0000 (11:38 +0000)]
Gisle Vanem: patches to make sws.c compile under MingW/MSVC is
attached. And some cosmetic fixes.
Daniel Stenberg [Sat, 17 Apr 2004 11:33:47 +0000 (11:33 +0000)]
Gisle made a failed connect output the reason for it
Daniel Stenberg [Sat, 17 Apr 2004 11:33:14 +0000 (11:33 +0000)]
NDEBUG should not be defined when CURLDEBUG is
Daniel Stenberg [Fri, 16 Apr 2004 07:33:53 +0000 (07:33 +0000)]
adding issue 36 to be fixed before release
Daniel Stenberg [Fri, 16 Apr 2004 07:02:17 +0000 (07:02 +0000)]
don't display the . and .. files when dumping the log/ contents
Daniel Stenberg [Fri, 16 Apr 2004 07:01:47 +0000 (07:01 +0000)]
remade the logging function to better deal with removed logfiles during
the execution of the tests
Daniel Stenberg [Thu, 15 Apr 2004 15:05:48 +0000 (15:05 +0000)]
issue 31 - fix windows multi interface is now corrected
Daniel Stenberg [Thu, 15 Apr 2004 15:05:12 +0000 (15:05 +0000)]
clarified that select() timeouts should always remain rather short
Daniel Stenberg [Thu, 15 Apr 2004 14:53:47 +0000 (14:53 +0000)]
my test suite edits
Daniel Stenberg [Thu, 15 Apr 2004 13:55:37 +0000 (13:55 +0000)]
change the log format to look similar to sws
added various logging info
Daniel Stenberg [Thu, 15 Apr 2004 13:37:19 +0000 (13:37 +0000)]
clean the log directory between each single test, so that we can better
display all logs and only logs with relevant data when a test fails and -p
is used.
Daniel Stenberg [Thu, 15 Apr 2004 10:43:40 +0000 (10:43 +0000)]
ftp->dirs[] is no longer terminated with a zero entry but ftp->dirdepth
should be used
Daniel Stenberg [Thu, 15 Apr 2004 07:52:39 +0000 (07:52 +0000)]
removed the fixed dir depth limit in the FTP code
Daniel Stenberg [Wed, 14 Apr 2004 12:13:32 +0000 (12:13 +0000)]
two ipresolve fixes
Daniel Stenberg [Wed, 14 Apr 2004 12:13:21 +0000 (12:13 +0000)]
format fix
Daniel Stenberg [Wed, 14 Apr 2004 12:10:44 +0000 (12:10 +0000)]
asking for CURL_IPRESOLVE_V6 when ipv6 addresses can't be resolved will
now cause the resolve function to return NULL immediately
Daniel Stenberg [Wed, 14 Apr 2004 12:00:53 +0000 (12:00 +0000)]
Gisle Vanem made the -4/-6 actually get set too
Daniel Stenberg [Wed, 14 Apr 2004 11:43:26 +0000 (11:43 +0000)]
Curl_wait_for_resolv() could hang due to the bad timeout timer resolution and
some bad thinking on my part.
Daniel Stenberg [Wed, 14 Apr 2004 07:07:30 +0000 (07:07 +0000)]
several changes
Daniel Stenberg [Wed, 14 Apr 2004 07:04:45 +0000 (07:04 +0000)]
display interesting log files on failure, if -p is used
Daniel Stenberg [Wed, 14 Apr 2004 06:53:34 +0000 (06:53 +0000)]
enable verbose as well
Daniel Stenberg [Wed, 14 Apr 2004 06:30:37 +0000 (06:30 +0000)]
Added test case 511 in an attempt to repeat bug report #934666 "storage leak
in ftp.c", but it shows no leaking.
Daniel Stenberg [Tue, 13 Apr 2004 14:34:12 +0000 (14:34 +0000)]
minor format fix
Daniel Stenberg [Tue, 13 Apr 2004 14:31:49 +0000 (14:31 +0000)]
eh, these can't be used for poll()! ;-)
Daniel Stenberg [Tue, 13 Apr 2004 14:27:47 +0000 (14:27 +0000)]
additional info
Daniel Stenberg [Tue, 13 Apr 2004 13:59:12 +0000 (13:59 +0000)]
Gisle Vanem's fix that makes the multi interface work on Windows again even
when not using ares.
Daniel Stenberg [Tue, 13 Apr 2004 11:03:02 +0000 (11:03 +0000)]
spell fixes
Daniel Stenberg [Tue, 13 Apr 2004 10:58:44 +0000 (10:58 +0000)]
more news
Daniel Stenberg [Tue, 13 Apr 2004 10:42:32 +0000 (10:42 +0000)]
proper typecast to prevent compiler warning
Daniel Stenberg [Tue, 13 Apr 2004 09:08:52 +0000 (09:08 +0000)]
removed the BUGS section since it offers nothing good
Daniel Stenberg [Tue, 13 Apr 2004 07:44:26 +0000 (07:44 +0000)]
1.2.0
Daniel Stenberg [Tue, 13 Apr 2004 07:37:28 +0000 (07:37 +0000)]
remove an long time #defined struct member and use the actual "real" name
instead to make it easier to find/read
Daniel Stenberg [Tue, 13 Apr 2004 07:16:26 +0000 (07:16 +0000)]
Moved the 'tcp_nodelay' member to the proper 'UserDefined' struct within the
sessionhandle to make the duphandle() function work as supposed. Also tried
to start document functions the doxygen way (in the headers of the functions).
Can't make it work though...
Daniel Stenberg [Tue, 13 Apr 2004 06:13:41 +0000 (06:13 +0000)]
move issue 35 (hostip.c cleanup) forward, I don't feel like doing that now
Daniel Stenberg [Tue, 13 Apr 2004 05:58:19 +0000 (05:58 +0000)]
full-test passes -p to runtests as well to get more details in case of failure
Daniel Stenberg [Tue, 13 Apr 2004 05:57:50 +0000 (05:57 +0000)]
Initial support for dumping the contents of the files in log/ when failing
when -p is used. For easier bug-hunting of autobuild failures. This still
only shows what files that are present in log/, as I believe we need to
filter which files we show on a failure.
Daniel Stenberg [Mon, 12 Apr 2004 06:55:25 +0000 (06:55 +0000)]
somewhat safer typecasting in case sizeof(long) != sizeof(void *) (is there
even such platforms?)
Daniel Stenberg [Sun, 11 Apr 2004 20:25:10 +0000 (20:25 +0000)]
David Byron's patch for MSVC builds with zlib
Daniel Stenberg [Sun, 11 Apr 2004 06:33:02 +0000 (06:33 +0000)]
updated to not include the msvc-generated files
Daniel Stenberg [Sun, 11 Apr 2004 06:32:41 +0000 (06:32 +0000)]
when checked out from CVS, run this to generate the proper scripts
Daniel Stenberg [Fri, 9 Apr 2004 09:36:31 +0000 (09:36 +0000)]
Dirk Manske increased the resolution for what the CURLINFO_*_TIME return.
Daniel Stenberg [Thu, 8 Apr 2004 18:10:03 +0000 (18:10 +0000)]
we're working on 1.2.0 now
Daniel Stenberg [Wed, 7 Apr 2004 15:01:11 +0000 (15:01 +0000)]
added test 159, use --ntlm together with -0
Daniel Stenberg [Wed, 7 Apr 2004 14:27:54 +0000 (14:27 +0000)]
getting only a 100 Continue response and nothing else, when talking HTTP,
is now treated as an error by libcurl
Daniel Stenberg [Wed, 7 Apr 2004 14:03:13 +0000 (14:03 +0000)]
--limit-rate using -d or -F does not work
Daniel Stenberg [Wed, 7 Apr 2004 07:30:40 +0000 (07:30 +0000)]
renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*
concept, and added lib/README.curlx to explain details about it
Daniel Stenberg [Wed, 7 Apr 2004 07:23:52 +0000 (07:23 +0000)]
Use curl_off_t for the limit rate values to support REALLY huge values on
such platforms that support large files.
Daniel Stenberg [Tue, 6 Apr 2004 15:30:57 +0000 (15:30 +0000)]
mention getting windows builds to work after rearrangements
Daniel Stenberg [Tue, 6 Apr 2004 15:29:01 +0000 (15:29 +0000)]
Moved long-standing issues over from TODO-RELEASE to the more long-term TODO
file.
Daniel Stenberg [Tue, 6 Apr 2004 15:22:21 +0000 (15:22 +0000)]
the memory leak on windows have been addressed
Daniel Stenberg [Tue, 6 Apr 2004 15:16:07 +0000 (15:16 +0000)]
require ssl since ntlm needs it
Daniel Stenberg [Tue, 6 Apr 2004 15:14:10 +0000 (15:14 +0000)]
New authentication code added, particularly noticable when doing POST or PUT
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication
and when done perform the requested POST.
Daniel Stenberg [Tue, 6 Apr 2004 15:12:50 +0000 (15:12 +0000)]
mention the man page updates from the other day
Daniel Stenberg [Tue, 6 Apr 2004 15:09:43 +0000 (15:09 +0000)]
the pack_hostent() proto isn't used/needed with ipv6 is enabled.
time to restructure this source file!
Daniel Stenberg [Tue, 6 Apr 2004 14:51:14 +0000 (14:51 +0000)]
Gisle Vanem's fix for bug item #927979 reported by Nathan O'Sullivan.
Good enough?
Daniel Stenberg [Tue, 6 Apr 2004 14:07:04 +0000 (14:07 +0000)]
Added the curl source header and changed some comments
Daniel Stenberg [Tue, 6 Apr 2004 12:06:05 +0000 (12:06 +0000)]
improved --limit-rate functionality, partly by the new use of curlx_tvnow()
Daniel Stenberg [Tue, 6 Apr 2004 12:02:36 +0000 (12:02 +0000)]
Gisle Vanem caught me breaking the windows version of Curl_strerror()
Daniel Stenberg [Tue, 6 Apr 2004 10:15:10 +0000 (10:15 +0000)]
provide these functions as curlx_* ones as this enables the curl app to
re-use these sources and functions for subsecond resolution timing
Daniel Stenberg [Tue, 6 Apr 2004 07:59:11 +0000 (07:59 +0000)]
up-to-date with reality
Daniel Stenberg [Tue, 6 Apr 2004 07:49:57 +0000 (07:49 +0000)]
added HAVE_GETTIMEOFDAY, we need it for better time resolution
Daniel Stenberg [Tue, 6 Apr 2004 07:48:29 +0000 (07:48 +0000)]
typecasts to please picky compilers checking the printf() format string
Daniel Stenberg [Tue, 6 Apr 2004 06:24:37 +0000 (06:24 +0000)]
one change, three bugs, one credit
Daniel Stenberg [Tue, 6 Apr 2004 06:24:06 +0000 (06:24 +0000)]
the last couple of days
Daniel Stenberg [Tue, 6 Apr 2004 06:18:48 +0000 (06:18 +0000)]
two issues to fix before 7.11.2, one issue to fix befor 7.12.0
Daniel Stenberg [Tue, 6 Apr 2004 06:06:10 +0000 (06:06 +0000)]
remove the general use of sys_nerr
Daniel Stenberg [Mon, 5 Apr 2004 12:38:54 +0000 (12:38 +0000)]
generated files, no need to keep in CVS
Daniel Stenberg [Fri, 2 Apr 2004 11:04:34 +0000 (11:04 +0000)]
prepend the man3 dir to the file name to work better.
Robin Kay pointed this out.
Daniel Stenberg [Fri, 2 Apr 2004 09:56:01 +0000 (09:56 +0000)]
edits, mainly to make the generated html output nicer
Daniel Stenberg [Fri, 2 Apr 2004 09:50:42 +0000 (09:50 +0000)]
minor edits
Daniel Stenberg [Fri, 2 Apr 2004 07:32:03 +0000 (07:32 +0000)]
Dirk Manske's feedback:
* bring back subsecond resolution to CURLINFO_TOTAL_TIME
* Fix the Curl_pgrsDone() so that the final progress update is shown properly