]> granicus.if.org Git - curl/log
curl
18 years agoRevert runtests.pl back to revision 1.212
Yang Tse [Mon, 20 Nov 2006 16:58:04 +0000 (16:58 +0000)]
Revert runtests.pl back to revision 1.212
This is done to back out changes done from revisions 1.213 to 1.217

18 years agoRevert ftp.pm back to revision 1.5 Adding copyright notice.
Yang Tse [Mon, 20 Nov 2006 16:57:01 +0000 (16:57 +0000)]
Revert ftp.pm back to revision 1.5 Adding copyright notice.
This is done to back out changes done from revisions 1.6 to 1.10

18 years agoAdd some message logging
Yang Tse [Mon, 20 Nov 2006 10:35:25 +0000 (10:35 +0000)]
Add some message logging

18 years agostop slaves before stopping servers
Yang Tse [Mon, 20 Nov 2006 06:22:51 +0000 (06:22 +0000)]
stop slaves before stopping servers

18 years agoRevert to KILL test servers until all test servers
Yang Tse [Mon, 20 Nov 2006 03:25:17 +0000 (03:25 +0000)]
Revert to KILL test servers until all test servers
have proper TERM and INT signal handlers implemented.

18 years agolog the sleep, like when done in test 190
Daniel Stenberg [Sun, 19 Nov 2006 22:48:40 +0000 (22:48 +0000)]
log the sleep, like when done in test 190

18 years agoFrank Teo provided an updated, mostly docs changed
Daniel Stenberg [Sun, 19 Nov 2006 21:55:34 +0000 (21:55 +0000)]
Frank Teo provided an updated, mostly docs changed

18 years agoAvoid passing child pid and test server pid, using the running
Yang Tse [Sun, 19 Nov 2006 03:47:56 +0000 (03:47 +0000)]
Avoid passing child pid and test server pid, using the running
servers hash, and adjust message arguments accordingly.

18 years agoComment out the use of the "warnings" module now that ftp.pm seems to
Yang Tse [Sun, 19 Nov 2006 03:47:11 +0000 (03:47 +0000)]
Comment out the use of the "warnings" module now that ftp.pm seems to
be clear of warnings. Uncomment it if this module is further modified.

The "warnings" module requires perl 5.006 or later. Previous perl
versions don't have it and die on missing modules.

18 years agonew ruby binding, new tclcurl release
Daniel Stenberg [Sat, 18 Nov 2006 14:46:33 +0000 (14:46 +0000)]
new ruby binding, new tclcurl release

18 years agoAvoid keeping dupe pids When forked pid and test server pid is the same one.
Yang Tse [Sat, 18 Nov 2006 04:07:01 +0000 (04:07 +0000)]
Avoid keeping dupe pids When forked pid and test server pid is the same one.

18 years agoFix warning "Use of uninitialized value in ...".
Yang Tse [Sat, 18 Nov 2006 04:05:42 +0000 (04:05 +0000)]
Fix warning "Use of uninitialized value in ...".
If the list has only one item avoid sort subroutine.

18 years agoThe hash of running servers is now a hash of hashes which for each running
Yang Tse [Fri, 17 Nov 2006 16:44:22 +0000 (16:44 +0000)]
The hash of running servers is now a hash of hashes which for each running
server holds not only its two main pids, but also the pidfile of the test
server and the 'slavepidfiles' for ftp* servers. This allows a better control
when stopping servers.

Now from runtests.pl when test servers are stopped they are signalled in
sequence TERM, INT and KILL allowing time in between for them to die. This
will give us a chance of gracefully stopping test servers, which we didn't
have when we were killing them in first instance.

18 years agoCall libssh2_session_free() to release memory allocated during
Gisle Vanem [Wed, 15 Nov 2006 05:35:35 +0000 (05:35 +0000)]
Call libssh2_session_free() to release memory allocated during
libssh2 startup.

18 years agoFree 'scp->path' in case of libssh2 setup failure.
Gisle Vanem [Tue, 14 Nov 2006 20:26:13 +0000 (20:26 +0000)]
Free 'scp->path' in case of libssh2 setup failure.

18 years agoRon in bug #1595348 (http://curl.haxx.se/bug/view.cgi?id=1595348) pointed
Daniel Stenberg [Mon, 13 Nov 2006 17:29:07 +0000 (17:29 +0000)]
Ron in bug #1595348 (http://curl.haxx.se/bug/view.cgi?id=1595348) pointed
out a stack overwrite (and the corresponding fix) on 64bit Windows when
dealing with HTTP chunked encoding.

18 years agobug #1595348 by Ron pointed out this flaw and fix
Daniel Stenberg [Mon, 13 Nov 2006 17:26:43 +0000 (17:26 +0000)]
bug #1595348 by Ron pointed out this flaw and fix

18 years agoTor Arntsen spotted this mistake
Daniel Stenberg [Mon, 13 Nov 2006 13:48:55 +0000 (13:48 +0000)]
Tor Arntsen spotted this mistake

18 years agowe did 1.3.2 and are now on the 1.3.3 track!
Daniel Stenberg [Sat, 11 Nov 2006 22:23:48 +0000 (22:23 +0000)]
we did 1.3.2 and are now on the 1.3.3 track!

18 years agofix header to match actual proto
Daniel Stenberg [Sat, 11 Nov 2006 22:05:33 +0000 (22:05 +0000)]
fix header to match actual proto

18 years agocleaned up Curl_write() and the sub functions it uses for various protocols.
Daniel Stenberg [Sat, 11 Nov 2006 21:34:43 +0000 (21:34 +0000)]
cleaned up Curl_write() and the sub functions it uses for various protocols.
They all now return ssize_t to Curl_write().

Unfortunately, Curl_read() is in a sorrier state but it too would benefit from
a similar cleanup.

18 years agoNir Soffer updated libcurl.framework.make: fix symlinks, should link to
Daniel Stenberg [Thu, 9 Nov 2006 21:58:28 +0000 (21:58 +0000)]
Nir Soffer updated libcurl.framework.make: fix symlinks, should link to
Versions, not to ./Versions and indentation improvments

18 years agoDmitriy Sergeyev found a SIGSEGV with his test04.c example posted on 7 Nov
Daniel Stenberg [Thu, 9 Nov 2006 21:54:33 +0000 (21:54 +0000)]
Dmitriy Sergeyev found a SIGSEGV with his test04.c example posted on 7 Nov
2006. It turned out we wrongly assumed that the connection cache was present
when tearing down a connection.

18 years agoCiprian Badescu found a SIGSEGV when doing multiple TFTP transfers using the
Daniel Stenberg [Thu, 9 Nov 2006 21:36:18 +0000 (21:36 +0000)]
Ciprian Badescu found a SIGSEGV when doing multiple TFTP transfers using the
multi interface, but I could also repeat it doing multiple sequential ones
with the easy interface. Using Ciprian's test case, I could fix it.

18 years agoRemove showing stderr log files unconditionally for tests 518 and 537.
Yang Tse [Thu, 9 Nov 2006 13:20:42 +0000 (13:20 +0000)]
Remove showing stderr log files unconditionally for tests 518 and 537.

Add failure checking for servers when fork()ed.

Use same code path in 'stopserver' when called with a single or multiple pids.

18 years agoBradford Bruce reported that when setting CURLOPT_DEBUGFUNCTION without
Daniel Stenberg [Wed, 8 Nov 2006 21:49:14 +0000 (21:49 +0000)]
Bradford Bruce reported that when setting CURLOPT_DEBUGFUNCTION without
CURLOPT_VERBOSE set to non-zero, you still got a few debug messages from the
SSL handshake. This is now stopped.

18 years agook stop using old and deprecated options
Daniel Stenberg [Wed, 8 Nov 2006 08:49:27 +0000 (08:49 +0000)]
ok stop using old and deprecated options

18 years agoadd missing names
Daniel Stenberg [Tue, 7 Nov 2006 15:21:11 +0000 (15:21 +0000)]
add missing names

18 years agoOlaf fixed a leftover problem with the CONNECT fix of his that would leave a
Daniel Stenberg [Tue, 7 Nov 2006 14:07:02 +0000 (14:07 +0000)]
Olaf fixed a leftover problem with the CONNECT fix of his that would leave a
wrong error message in the error message buffer.

18 years agoMoved select_s() to Makefile.dj since select() is used in applications.
Gisle Vanem [Tue, 7 Nov 2006 13:29:15 +0000 (13:29 +0000)]
Moved select_s() to Makefile.dj since select() is used in applications.

18 years agoUpdate copyright year.
Gisle Vanem [Tue, 7 Nov 2006 13:20:01 +0000 (13:20 +0000)]
Update copyright year.

18 years agoadd TODO note
Yang Tse [Mon, 6 Nov 2006 18:28:34 +0000 (18:28 +0000)]
add TODO note

18 years agocompiler warning fix
Yang Tse [Mon, 6 Nov 2006 18:27:25 +0000 (18:27 +0000)]
compiler warning fix

18 years agoremove redundant check for Win32
Yang Tse [Mon, 6 Nov 2006 18:26:36 +0000 (18:26 +0000)]
remove redundant check for Win32

18 years agoavoid a couple of potential zero size memory allocations
Yang Tse [Mon, 6 Nov 2006 13:56:51 +0000 (13:56 +0000)]
avoid a couple of potential zero size memory allocations

18 years agomention the areslib.dsp fix
Daniel Stenberg [Sun, 5 Nov 2006 23:11:22 +0000 (23:11 +0000)]
mention the areslib.dsp fix

18 years agoadd the recent crowd of contributors
Daniel Stenberg [Sun, 5 Nov 2006 23:11:07 +0000 (23:11 +0000)]
add the recent crowd of contributors

18 years agoAndreas Rieke fixed back the correct line endings!
Daniel Stenberg [Sun, 5 Nov 2006 23:08:11 +0000 (23:08 +0000)]
Andreas Rieke fixed back the correct line endings!

18 years agoPrevent multiple initialization of memdebug configuration variables.
Yang Tse [Sun, 5 Nov 2006 12:42:50 +0000 (12:42 +0000)]
Prevent multiple initialization of memdebug configuration variables.

This was possible on debug c-ares enabled builds when both CURL_MEMDEBUG
and CARES_MEMDEBUG environment variables were set. Leading to a file handle
leak even when both variables had the same value, and wierd test suite
results when different.

18 years agoIfdef around S_IRGRP and S_IROTH (meaningless on Win32).
Gisle Vanem [Fri, 3 Nov 2006 15:52:21 +0000 (15:52 +0000)]
Ifdef around S_IRGRP and S_IROTH (meaningless on Win32).

18 years agoadd a couple more of debugging messages
Yang Tse [Fri, 3 Nov 2006 14:13:25 +0000 (14:13 +0000)]
add a couple more of debugging messages

18 years agoSCP support added
Daniel Stenberg [Fri, 3 Nov 2006 13:45:52 +0000 (13:45 +0000)]
SCP support added

18 years agoOlaf Stueben provided a patch that I edited slightly. It fixes the notorious
Daniel Stenberg [Fri, 3 Nov 2006 12:43:55 +0000 (12:43 +0000)]
Olaf Stueben provided a patch that I edited slightly. It fixes the notorious
KNOWN_BUGS #25, which happens when a proxy closes the connection when
libcurl has sent CONNECT, as part of an authentication negotiation. Starting
now, libcurl will re-connect accordingly and continue the authentication as
it should.

18 years agoinitial SCP support is now added
Daniel Stenberg [Fri, 3 Nov 2006 12:22:13 +0000 (12:22 +0000)]
initial SCP support is now added

18 years agoUpdate the information about what c-ares version that's required. 1.3.1 had
Daniel Stenberg [Fri, 3 Nov 2006 10:56:37 +0000 (10:56 +0000)]
Update the information about what c-ares version that's required. 1.3.1 had
a fatal bug so we must require 1.3.2 to get flawless functionality with c-ares.

18 years agostand clear for release 1.3.2 cares-1_3_2
Daniel Stenberg [Fri, 3 Nov 2006 10:47:35 +0000 (10:47 +0000)]
stand clear for release 1.3.2

18 years agoAndreas Rieke added missing file and changed line endings
Daniel Stenberg [Fri, 3 Nov 2006 10:41:33 +0000 (10:41 +0000)]
Andreas Rieke added missing file and changed line endings

18 years agoreduce max size of dinamically allocated arrays to minimize the nasty
Yang Tse [Fri, 3 Nov 2006 10:05:21 +0000 (10:05 +0000)]
reduce max size of dinamically allocated arrays to minimize the nasty
behaviour some versions of IRIX exhibit of committing suicide on big
mallocs instead of just returning a friendly null pointer

18 years agofix missing '$' for var OPT_LIBSSH2
Yang Tse [Fri, 3 Nov 2006 03:05:15 +0000 (03:05 +0000)]
fix missing '$' for var OPT_LIBSSH2

18 years agoupdate copyright year
Yang Tse [Fri, 3 Nov 2006 02:36:32 +0000 (02:36 +0000)]
update copyright year

18 years agofix comments and renumber rlimit return codes
Yang Tse [Fri, 3 Nov 2006 01:57:25 +0000 (01:57 +0000)]
fix comments and  renumber rlimit return codes
fix closing of fd's when limit is reached

18 years agofix comments and renumber rlimit return codes
Yang Tse [Fri, 3 Nov 2006 01:56:55 +0000 (01:56 +0000)]
fix comments and  renumber rlimit return codes

18 years agoupdate the counter
Daniel Stenberg [Thu, 2 Nov 2006 22:11:38 +0000 (22:11 +0000)]
update the counter

18 years agomention the new options
Daniel Stenberg [Thu, 2 Nov 2006 22:10:18 +0000 (22:10 +0000)]
mention the new options

18 years agoJames Housley brought support for SCP transfers
Daniel Stenberg [Thu, 2 Nov 2006 21:56:40 +0000 (21:56 +0000)]
James Housley brought support for SCP transfers

18 years agoremove leftover comment
Yang Tse [Thu, 2 Nov 2006 20:56:40 +0000 (20:56 +0000)]
remove leftover comment

18 years agoupdate and split test cases 518 and 537 into its own source code file
Yang Tse [Thu, 2 Nov 2006 20:50:18 +0000 (20:50 +0000)]
update and split test cases 518 and 537 into its own source code file

18 years agocode cleanup
Yang Tse [Thu, 2 Nov 2006 15:47:24 +0000 (15:47 +0000)]
code cleanup

18 years agouse our internal string functions and replace sprintf with snprintf
Yang Tse [Thu, 2 Nov 2006 03:45:07 +0000 (03:45 +0000)]
use our internal string functions and replace sprintf with snprintf

18 years agoUpdate protocol verification end of lines
Yang Tse [Thu, 2 Nov 2006 01:21:28 +0000 (01:21 +0000)]
Update protocol verification end of lines

18 years agocheck symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h
Yang Tse [Thu, 2 Nov 2006 00:34:21 +0000 (00:34 +0000)]
check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h

18 years agoprototype for gethostname is in unistd.h
Yang Tse [Thu, 2 Nov 2006 00:33:43 +0000 (00:33 +0000)]
prototype for gethostname is in unistd.h

18 years agotest 518 is all about testing libcurl functionality
Yang Tse [Wed, 1 Nov 2006 18:33:50 +0000 (18:33 +0000)]
test 518 is all about testing libcurl functionality
when more than FD_SETSIZE file descriptors are open.
This means that if for any reason we are not able to
open more than FD_SETSIZE file descriptors then test
518 should not be run.

test 537 is all about testing libcurl functionality
when the system has nearly exhausted the number of
free file descriptors. Test 537 will try to run with
very few free file descriptors.

18 years agoUpdated dependency output.
Gisle Vanem [Tue, 31 Oct 2006 20:45:17 +0000 (20:45 +0000)]
Updated dependency output.

18 years agoUpdated dependencies to not include config.h.
Gisle Vanem [Tue, 31 Oct 2006 20:44:36 +0000 (20:44 +0000)]
Updated dependencies to not include config.h.

18 years agoRemoved unneeded stuff.
Gisle Vanem [Tue, 31 Oct 2006 18:01:07 +0000 (18:01 +0000)]
Removed unneeded stuff.

18 years agoAdded Watt-32 section to fix things for Watt32+Win32 targets.
Gisle Vanem [Tue, 31 Oct 2006 17:54:51 +0000 (17:54 +0000)]
Added Watt-32 section to fix things for Watt32+Win32 targets.

18 years agoDon't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
Gisle Vanem [Tue, 31 Oct 2006 17:51:54 +0000 (17:51 +0000)]
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.

18 years agoAdded definition of select() for Watt32.
Gisle Vanem [Tue, 31 Oct 2006 17:25:48 +0000 (17:25 +0000)]
Added definition of select() for Watt32.

18 years agoRewritten to use ../packages/DOS/common.dj.
Gisle Vanem [Tue, 31 Oct 2006 17:24:25 +0000 (17:24 +0000)]
Rewritten to use ../packages/DOS/common.dj.

18 years agoChange 'FILETYPE' to ' VFT_APP'.
Gisle Vanem [Tue, 31 Oct 2006 16:25:30 +0000 (16:25 +0000)]
Change 'FILETYPE' to ' VFT_APP'.

18 years agoShow stderr log file for test 518 unconditionally.
Yang Tse [Tue, 31 Oct 2006 01:30:42 +0000 (01:30 +0000)]
Show stderr log file for test 518 unconditionally.

In this way we'll be able to sort out problems that might
arise in the prechek phase of the 518 test.

Once that 518 has been verified this change will be undone.

18 years agoSync comment with code and add three messages more
Yang Tse [Tue, 31 Oct 2006 01:24:03 +0000 (01:24 +0000)]
Sync comment with code and add three messages more

18 years agoAddress some pitfalls in the rlimit() function check that were
Yang Tse [Mon, 30 Oct 2006 17:24:31 +0000 (17:24 +0000)]
Address some pitfalls in the rlimit() function check that were
preventing execution of this test on many platforms

18 years agoAllow 'curl_*printf()' to be used in C++ programs.
Gisle Vanem [Mon, 30 Oct 2006 16:26:24 +0000 (16:26 +0000)]
Allow 'curl_*printf()' to be used in C++ programs.

18 years agoadd contributors from the 7.16.0 release
Daniel Stenberg [Mon, 30 Oct 2006 09:03:34 +0000 (09:03 +0000)]
add contributors from the 7.16.0 release

18 years agostart working on 7.16.1
Daniel Stenberg [Mon, 30 Oct 2006 08:52:12 +0000 (08:52 +0000)]
start working on 7.16.1

18 years ago7.16.0 material curl-7_16_0
Daniel Stenberg [Sun, 29 Oct 2006 23:03:14 +0000 (23:03 +0000)]
7.16.0 material

18 years agocorrected how tests/memanalyze.pl is used
Daniel Stenberg [Sun, 29 Oct 2006 23:00:52 +0000 (23:00 +0000)]
corrected how tests/memanalyze.pl is used

18 years agoCompiler warning fix
Yang Tse [Sun, 29 Oct 2006 21:19:23 +0000 (21:19 +0000)]
Compiler warning fix

18 years agoMake more human readable and maintainable previous
Yang Tse [Sun, 29 Oct 2006 14:58:59 +0000 (14:58 +0000)]
Make more human readable and maintainable previous
compiler warning fix since it was Ok and actually
avoids the targeted compiler warning.

18 years agoupdated to current status
Daniel Stenberg [Sun, 29 Oct 2006 09:18:32 +0000 (09:18 +0000)]
updated to current status

18 years agoupdated to reflect reality
Daniel Stenberg [Sun, 29 Oct 2006 09:11:44 +0000 (09:11 +0000)]
updated to reflect reality

18 years agoa small unification of the error text on failed server startups
Daniel Stenberg [Fri, 27 Oct 2006 21:07:08 +0000 (21:07 +0000)]
a small unification of the error text on failed server startups

18 years agoSync with lib/setup_once.h
Yang Tse [Fri, 27 Oct 2006 15:37:26 +0000 (15:37 +0000)]
Sync with lib/setup_once.h

18 years agoCompiler warning fix.
Yang Tse [Fri, 27 Oct 2006 15:32:18 +0000 (15:32 +0000)]
Compiler warning fix.

Assigning the const value zero to a pointer to function
results in a null pointer value assignment to the function
pointer.

Assignment of any nonzero value is what should result in a
implementation compiler dependent result.

Since what we want to do here is the first case, this should
not trigger compiler warnings related with conversions from
'pointer to data' to 'pointer to function'.

Our autobuild test suite will judge.

18 years agoFixed 'x_TYPE_ARG2' to match prototypes of recv() and send().
Gisle Vanem [Fri, 27 Oct 2006 14:13:32 +0000 (14:13 +0000)]
Fixed 'x_TYPE_ARG2' to match prototypes of recv() and send().

18 years agoGet rid of the special sread()+swrite() for MSDOS. Use recv()
Gisle Vanem [Fri, 27 Oct 2006 14:07:32 +0000 (14:07 +0000)]
Get rid of the special sread()+swrite() for MSDOS. Use recv()
and send(). Added needed HAVE_x defines.

18 years agoAdded 'RECV_TYPE_ARGx' needed in getinfo.c.
Gisle Vanem [Fri, 27 Oct 2006 13:57:16 +0000 (13:57 +0000)]
Added 'RECV_TYPE_ARGx' needed in getinfo.c.

18 years agoUpdate copyright year, since the file has been modified
Yang Tse [Fri, 27 Oct 2006 03:47:57 +0000 (03:47 +0000)]
Update copyright year, since the file has been modified

18 years agoCompiler warning fix
Yang Tse [Fri, 27 Oct 2006 02:18:29 +0000 (02:18 +0000)]
Compiler warning fix

18 years ago30 seconds isn't long enough for this test on a loaded server.
Yang Tse [Fri, 27 Oct 2006 01:58:59 +0000 (01:58 +0000)]
30 seconds isn't long enough for this test on a loaded server.

18 years agoDo an explicit typecast of data pointers to function pointers
Yang Tse [Fri, 27 Oct 2006 01:04:41 +0000 (01:04 +0000)]
Do an explicit typecast of data pointers to function pointers
to avoid picky compiler warnings, since this is what we want!

18 years agoUse proper 'stat' structure for fstat(). I.e. 'struct _stati64' and '_fstati64()'
Gisle Vanem [Thu, 26 Oct 2006 14:30:11 +0000 (14:30 +0000)]
Use proper 'stat' structure for fstat(). I.e. 'struct _stati64' and '_fstati64()'
on Win32.

18 years agoImproved rlimit logic:
Yang Tse [Thu, 26 Oct 2006 13:55:24 +0000 (13:55 +0000)]
Improved rlimit logic:
- Take in account RLIM_INFINITY.
- Verify that soft limit is actually changed when doing so.
- Show errno in case getrlimit or setrlimit fails.
- Keep file descriptors open only while runing this test.

18 years agoFix Curl_open() not reporting failure when allocation of the
Yang Tse [Thu, 26 Oct 2006 11:15:25 +0000 (11:15 +0000)]
Fix Curl_open() not reporting failure when allocation of the
buffer used to store headers in the SessionHandle failed.

18 years ago30 seconds isn't long enough for this test on a loaded server.
Yang Tse [Thu, 26 Oct 2006 09:50:21 +0000 (09:50 +0000)]
30 seconds isn't long enough for this test on a loaded server.

18 years agoa Smalltalk binding
Daniel Stenberg [Wed, 25 Oct 2006 21:07:26 +0000 (21:07 +0000)]
a Smalltalk binding

18 years agoFixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for the
Daniel Stenberg [Wed, 25 Oct 2006 20:40:14 +0000 (20:40 +0000)]
Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for the
case when 401 or 407 are returned, *IF* no auth credentials have been given.
The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401
and 407 cases when auth credentials is given, but we've now covered this
somewhat more.

You might get some amounts of headers transferred before this situation is
detected, like for when a "100-continue" is received as a response to a
POST/PUT and a 401 or 407 is received immediately afterwards.

Added test 281 to verify this change.

18 years agoFixed "'x' might be used uninitialized in this function" warning.
Gisle Vanem [Wed, 25 Oct 2006 14:16:01 +0000 (14:16 +0000)]
Fixed "'x' might be used uninitialized in this function" warning.
Removed trailing whitespace.