Daniel Stenberg
4bbcc47f3f
Added test case 354 that makes a simple FTP retrieval without password, which
...
verifies the bug fix in #1757328 .
2007-07-22 10:08:59 +00:00
Daniel Stenberg
8ab495a088
test and verify curl -I on a single FTP file somewhat more than before
2007-07-21 21:49:23 +00:00
Daniel Stenberg
84e7bb85b1
To allow more flexibility in FTP test cases, I've removed the enforced states
...
from the test server code as they served no real purpose. The test server is
here to serve for the test cases, not to attempt to function as a real server!
2007-07-21 21:48:58 +00:00
Daniel Stenberg
4fc7e13a98
news
2007-07-21 21:47:02 +00:00
Dan Fandrich
b465750041
Make the pointers of a few static const arrays const, too, for safety.
2007-07-21 02:08:17 +00:00
Gunter Knauf
37dc0fa519
added curl include for debug builds.
2007-07-20 21:50:53 +00:00
Dan Fandrich
000fdc6b99
Document pwd as an sftp quote command for curl(1), and show it as
...
lower case for consistency since sftp commands are case insensitive.
2007-07-20 17:29:43 +00:00
Gunter Knauf
594fc0411e
added lf to Win32 getpass_r() so that next output appears in new line.
2007-07-20 16:01:05 +00:00
Daniel Stenberg
94fcb4b09d
PWD for SFTP is fixed
2007-07-20 15:33:44 +00:00
Daniel Stenberg
1a0034ac34
the "libssh2 owns the memory don't free it" case
2007-07-20 09:38:41 +00:00
Daniel Stenberg
e3377e637a
Ralf S. Engelschall filed bug report #1757328
...
(http://curl.haxx.se/bug/view.cgi?id=1757328 ) and submitted a patch. It turns
out we broke login to FTP servers that don't require (nor understand) PASS
after the USER command
2007-07-20 09:35:58 +00:00
James Housley
2ab854cafd
Fix a loop with PWD
2007-07-20 01:03:49 +00:00
Dan Fandrich
4a2f0fb2be
Made some const arrays static to avoid unnecessary stack usage.
2007-07-20 00:41:12 +00:00
Daniel Stenberg
dca3564cfb
minor addition, re-count of the number of lines of code
2007-07-19 21:35:36 +00:00
Daniel Stenberg
9d183bb7b1
libssh2 fix
2007-07-19 15:08:47 +00:00
Dan Fandrich
c7db74fe73
Revert the 512 change since newer versions of OpenSSH don't support DSA
...
keys that small.
2007-07-19 01:42:22 +00:00
James Housley
5251c45187
SFTP also supports PWD
2007-07-18 23:21:32 +00:00
Dan Fandrich
d9b5f327bf
Added the list of sftp quote commands.
2007-07-18 22:23:07 +00:00
James Housley
ca1356702a
As has been pointed out, err_msg should not be freed here. The actual
...
issue is in libssh2 and not freeing a dynamic error message during cleanup.
2007-07-18 18:31:34 +00:00
Dan Fandrich
89d119646d
Use 512 bit keys to reduce the time taken to generate them. This shouldn't
...
really reduce security since in the common case of a daily automated build
the keys are only used for a single test run lasting a few minutes before
being deleted.
2007-07-18 00:27:13 +00:00
Dan Fandrich
989dd9c34a
Fixed test cases 613 and 614 by improving the log postprocessor to handle
...
a new directory listing format that newer libssh2's can provide. This
is probably NOT sufficient to handle all directory listing formats that
server's can provide and should be revisited.
2007-07-17 21:53:38 +00:00
Daniel Stenberg
1d728aae2a
Jofell Gallardo posted a libcurl log using FTP that exposed a bug which made
...
a control connection that was deemed "dead" to yet be re-used in a following
request. We must make sure the connection gets closed on this situation.
2007-07-17 20:59:53 +00:00
Daniel Stenberg
98b9349be7
make it do all three requests on the same connection
2007-07-16 21:44:46 +00:00
Dan Fandrich
4706a93341
Fixed some more simple compile warnings in the examples.
2007-07-16 21:22:12 +00:00
Daniel Stenberg
b85b56a73d
45. libcurl built to support ipv6 uses getaddrinfo() to resolve host names.
...
getaddrinfo() sorts the response list which effectively kills how libcurl
deals with round-robin DNS entries. All details:
http://curl.haxx.se/mail/lib-2007-07/0168.html
initial suggested function to use for randomizing the response:
http://curl.haxx.se/mail/lib-2007-07/0178.html
2007-07-16 21:08:08 +00:00
Daniel Stenberg
1da3d402f6
convert test case 540 to use a custom Host: header as well
2007-07-15 21:00:26 +00:00
Daniel Stenberg
1da3192d2d
let's just export the whole argc + argv pair globally so that each test tool
...
can take advantage of it however they see fit!
2007-07-15 20:59:43 +00:00
Gunter Knauf
dab569d76c
make users use the latest OpenSSL and Zlib libraries;
...
added hint to compile with SSPI with MSVC6 without PSDK.
2007-07-15 13:00:39 +00:00
Daniel Stenberg
598c589359
added another SEE ALSO
2007-07-14 23:01:49 +00:00
Daniel Stenberg
15c8219340
Added test case 540 and lib540.c, the 'proxyauth.c' test app posted by Shmulik
...
Regev on the libcurl mailing list on 10 Jul 2007, converted to a test case.
2007-07-14 22:39:22 +00:00
Daniel Stenberg
5ae21ebde9
add support for arg3 as the third argument...
2007-07-14 22:38:18 +00:00
Daniel Stenberg
c7e0d8c30b
add some better logging when HTTP server start fails, and make the failure
...
really hard if the test server can't be resolved (like for ::1 ipv6)
2007-07-14 22:33:46 +00:00
Gunter Knauf
fee4f8c86d
for now unless we do better fixed LIBSSH2_APINO compares to use long constants.
2007-07-14 15:59:01 +00:00
Daniel Stenberg
1261c3feba
Brad House's fix to hish a win32 compiler warning
2007-07-14 13:14:58 +00:00
Daniel Stenberg
7fc300d5dc
added Vlad's entire description of his valgrind fix
2007-07-14 13:11:36 +00:00
Daniel Stenberg
88ce03e945
Vlad Dinulescu fixed two outstanding valgrind reports
2007-07-14 13:08:50 +00:00
Dan Fandrich
5bed99c97d
The examples don't need access to curl internal source files.
2007-07-13 21:31:44 +00:00
Daniel Stenberg
46c699c483
Colin Hogben filed bug report #1750274
...
(http://curl.haxx.se/bug/view.cgi?id=1750274 ) and submitted a patch for the
case where libcurl did a connect attempt to a non-listening port and didn't
provide a human readable error string back.
2007-07-13 20:17:35 +00:00
Daniel Stenberg
f7d6e147f1
Daniel Cater added the mentioning of CURL_DISABLE_TFTP
2007-07-13 20:09:38 +00:00
Daniel Stenberg
aad1d3ce14
Daniel Cater: libcurl-errors needs updating to reflect a couple of deprecated
...
error codes
2007-07-13 20:07:22 +00:00
Daniel Stenberg
cf5378b366
Daniel Cater made libcurl build with CURL_NO_OLDIES defined (which doesn't
...
define the symbols for backwards source compatibility)
2007-07-13 20:04:53 +00:00
Daniel Stenberg
fea938cbcb
Daniel Cater made the vc8-generating line use double-quotes to run fine on
...
windows
2007-07-13 19:38:36 +00:00
Daniel Stenberg
a67c8b4698
Made the krb5 code build with Heimdal's GSSAPI lib
2007-07-12 21:34:42 +00:00
Dan Fandrich
49ce3e5160
Fixed some compile warnings and errors and improved portability in the
...
examples.
Removed ftp3rdparty.c since libcurl doesn't support 3rd party FTP transfers
any longer.
2007-07-12 21:11:10 +00:00
Daniel Stenberg
4a728747e6
make it compile fine
2007-07-12 20:55:17 +00:00
Daniel Stenberg
f5a6355172
fix include path
2007-07-12 20:54:54 +00:00
Dan Fandrich
ffff8ddbef
Compile most of the example apps in docs/examples when doing a 'make check'.
2007-07-12 20:38:54 +00:00
Daniel Stenberg
cf86f8cb78
Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation
...
could in fact get stuck in an endless loop.
2007-07-12 20:15:38 +00:00
Daniel Stenberg
a53ba060c8
start the retry delay at 10 ms, double it for every failed attempt which makes
...
it 10 seconds delay after 11 attempts
2007-07-12 17:03:45 +00:00
Gunter Knauf
72bb5854f7
the timeout was probably too short with max = 1 sec, so lets test with 5 sec.
2007-07-12 10:54:15 +00:00