platform/upstream/curl.git
17 years agoAdded the list of sftp quote commands.
Dan Fandrich [Wed, 18 Jul 2007 22:23:07 +0000 (22:23 +0000)]
Added the list of sftp quote commands.

17 years agoAs has been pointed out, err_msg should not be freed here. The actual
James Housley [Wed, 18 Jul 2007 18:31:34 +0000 (18:31 +0000)]
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.

17 years agoUse 512 bit keys to reduce the time taken to generate them. This shouldn't
Dan Fandrich [Wed, 18 Jul 2007 00:27:13 +0000 (00:27 +0000)]
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.

17 years agoFixed test cases 613 and 614 by improving the log postprocessor to handle
Dan Fandrich [Tue, 17 Jul 2007 21:53:38 +0000 (21:53 +0000)]
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.

17 years agoJofell Gallardo posted a libcurl log using FTP that exposed a bug which made
Daniel Stenberg [Tue, 17 Jul 2007 20:59:53 +0000 (20:59 +0000)]
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.

17 years agomake it do all three requests on the same connection
Daniel Stenberg [Mon, 16 Jul 2007 21:44:46 +0000 (21:44 +0000)]
make it do all three requests on the same connection

17 years agoFixed some more simple compile warnings in the examples.
Dan Fandrich [Mon, 16 Jul 2007 21:22:12 +0000 (21:22 +0000)]
Fixed some more simple compile warnings in the examples.

17 years ago45. libcurl built to support ipv6 uses getaddrinfo() to resolve host names.
Daniel Stenberg [Mon, 16 Jul 2007 21:08:08 +0000 (21:08 +0000)]
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

17 years agoconvert test case 540 to use a custom Host: header as well
Daniel Stenberg [Sun, 15 Jul 2007 21:00:26 +0000 (21:00 +0000)]
convert test case 540 to use a custom Host: header as well

17 years agolet's just export the whole argc + argv pair globally so that each test tool
Daniel Stenberg [Sun, 15 Jul 2007 20:59:43 +0000 (20:59 +0000)]
let's just export the whole argc + argv pair globally so that each test tool
can take advantage of it however they see fit!

17 years agomake users use the latest OpenSSL and Zlib libraries;
Gunter Knauf [Sun, 15 Jul 2007 13:00:39 +0000 (13:00 +0000)]
make users use the latest OpenSSL and Zlib libraries;
added hint to compile with SSPI with MSVC6 without PSDK.

17 years agoadded another SEE ALSO
Daniel Stenberg [Sat, 14 Jul 2007 23:01:49 +0000 (23:01 +0000)]
added another SEE ALSO

17 years agoAdded test case 540 and lib540.c, the 'proxyauth.c' test app posted by Shmulik
Daniel Stenberg [Sat, 14 Jul 2007 22:39:22 +0000 (22:39 +0000)]
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.

17 years agoadd support for arg3 as the third argument...
Daniel Stenberg [Sat, 14 Jul 2007 22:38:18 +0000 (22:38 +0000)]
add support for arg3 as the third argument...

17 years agoadd some better logging when HTTP server start fails, and make the failure
Daniel Stenberg [Sat, 14 Jul 2007 22:33:46 +0000 (22:33 +0000)]
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)

17 years agofor now unless we do better fixed LIBSSH2_APINO compares to use long constants.
Gunter Knauf [Sat, 14 Jul 2007 15:59:01 +0000 (15:59 +0000)]
for now unless we do better fixed LIBSSH2_APINO compares to use long constants.

17 years agoBrad House's fix to hish a win32 compiler warning
Daniel Stenberg [Sat, 14 Jul 2007 13:14:58 +0000 (13:14 +0000)]
Brad House's fix to hish a win32 compiler warning

17 years agoadded Vlad's entire description of his valgrind fix
Daniel Stenberg [Sat, 14 Jul 2007 13:11:36 +0000 (13:11 +0000)]
added Vlad's entire description of his valgrind fix

17 years agoVlad Dinulescu fixed two outstanding valgrind reports
Daniel Stenberg [Sat, 14 Jul 2007 13:08:50 +0000 (13:08 +0000)]
Vlad Dinulescu fixed two outstanding valgrind reports

17 years agoThe examples don't need access to curl internal source files.
Dan Fandrich [Fri, 13 Jul 2007 21:31:44 +0000 (21:31 +0000)]
The examples don't need access to curl internal source files.

17 years agoColin Hogben filed bug report #1750274
Daniel Stenberg [Fri, 13 Jul 2007 20:17:35 +0000 (20:17 +0000)]
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.

17 years agoDaniel Cater added the mentioning of CURL_DISABLE_TFTP
Daniel Stenberg [Fri, 13 Jul 2007 20:09:38 +0000 (20:09 +0000)]
Daniel Cater added the mentioning of CURL_DISABLE_TFTP

17 years agoDaniel Cater: libcurl-errors needs updating to reflect a couple of deprecated
Daniel Stenberg [Fri, 13 Jul 2007 20:07:22 +0000 (20:07 +0000)]
Daniel Cater: libcurl-errors needs updating to reflect a couple of deprecated
error codes

17 years agoDaniel Cater made libcurl build with CURL_NO_OLDIES defined (which doesn't
Daniel Stenberg [Fri, 13 Jul 2007 20:04:53 +0000 (20:04 +0000)]
Daniel Cater made libcurl build with CURL_NO_OLDIES defined (which doesn't
define the symbols for backwards source compatibility)

17 years agoDaniel Cater made the vc8-generating line use double-quotes to run fine on
Daniel Stenberg [Fri, 13 Jul 2007 19:38:36 +0000 (19:38 +0000)]
Daniel Cater made the vc8-generating line use double-quotes to run fine on
windows

17 years agoMade the krb5 code build with Heimdal's GSSAPI lib
Daniel Stenberg [Thu, 12 Jul 2007 21:34:42 +0000 (21:34 +0000)]
Made the krb5 code build with Heimdal's GSSAPI lib

17 years agoFixed some compile warnings and errors and improved portability in the
Dan Fandrich [Thu, 12 Jul 2007 21:11:10 +0000 (21:11 +0000)]
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.

17 years agomake it compile fine
Daniel Stenberg [Thu, 12 Jul 2007 20:55:17 +0000 (20:55 +0000)]
make it compile fine

17 years agofix include path
Daniel Stenberg [Thu, 12 Jul 2007 20:54:54 +0000 (20:54 +0000)]
fix include path

17 years agoCompile most of the example apps in docs/examples when doing a 'make check'.
Dan Fandrich [Thu, 12 Jul 2007 20:38:54 +0000 (20:38 +0000)]
Compile most of the example apps in docs/examples when doing a 'make check'.

17 years agoShmulik Regev found an (albeit rare) case where the proxy CONNECT operation
Daniel Stenberg [Thu, 12 Jul 2007 20:15:38 +0000 (20:15 +0000)]
Shmulik Regev found an (albeit rare) case where the proxy CONNECT operation
could in fact get stuck in an endless loop.

17 years agostart the retry delay at 10 ms, double it for every failed attempt which makes
Daniel Stenberg [Thu, 12 Jul 2007 17:03:45 +0000 (17:03 +0000)]
start the retry delay at 10 ms, double it for every failed attempt which makes
it 10 seconds delay after 11 attempts

17 years agothe timeout was probably too short with max = 1 sec, so lets test with 5 sec.
Gunter Knauf [Thu, 12 Jul 2007 10:54:15 +0000 (10:54 +0000)]
the timeout was probably too short with max = 1 sec, so lets test with 5 sec.

17 years agoadded nwos.c so that it gets distributed with releases and tarballs.
Gunter Knauf [Thu, 12 Jul 2007 10:44:46 +0000 (10:44 +0000)]
added nwos.c so that it gets distributed with releases and tarballs.

17 years agoadded time loop to sockfilt.c in order to wait for SO_REUSEADDR;
Gunter Knauf [Thu, 12 Jul 2007 01:07:49 +0000 (01:07 +0000)]
added time loop to sockfilt.c in order to wait for SO_REUSEADDR;
added go_sleep() to util.c.

17 years agoUpdated to match curl.h
Marty Kuhrt [Wed, 11 Jul 2007 23:17:11 +0000 (23:17 +0000)]
Updated to match curl.h

17 years agoMade CURLOPT_SSL_VERIFYHOST set to 1 acts as described in the documentation:
Daniel Stenberg [Wed, 11 Jul 2007 22:20:46 +0000 (22:20 +0000)]
Made CURLOPT_SSL_VERIFYHOST set to 1 acts as described in the documentation:
fail to connect if there is no Common Name field found in the remote cert.
We should deprecate the support for this set to 1 anyway soon, since the
feature is pointless and most likely never really used by anyone.

17 years agoremoved now obsolete NETDB_DEFINE_CONTEXT macro calls.
Gunter Knauf [Wed, 11 Jul 2007 21:47:31 +0000 (21:47 +0000)]
removed now obsolete NETDB_DEFINE_CONTEXT macro calls.

17 years agoupdated makefile to compile nwos.c.
Gunter Knauf [Wed, 11 Jul 2007 21:38:28 +0000 (21:38 +0000)]
updated makefile to compile nwos.c.

17 years agoadded NetWare-own file to provide some init functions (for now only CLIB);
Gunter Knauf [Wed, 11 Jul 2007 21:34:22 +0000 (21:34 +0000)]
added NetWare-own file to provide some init functions (for now only CLIB);
added call to netware_init() in curl_global_init() to make sure it gets called before any library functions get used.

17 years agoAdded the first libcurl version to which the SSH options were added.
Dan Fandrich [Wed, 11 Jul 2007 19:21:38 +0000 (19:21 +0000)]
Added the first libcurl version to which the SSH options were added.

17 years agoadded netdb.h for NetWare CLIB since gethostname() is defined there.
Gunter Knauf [Wed, 11 Jul 2007 09:08:03 +0000 (09:08 +0000)]
added netdb.h for NetWare CLIB since gethostname() is defined there.

17 years agofixed endif comment.
Gunter Knauf [Wed, 11 Jul 2007 09:03:22 +0000 (09:03 +0000)]
fixed endif comment.

17 years agofixed endif comment.
Gunter Knauf [Wed, 11 Jul 2007 08:55:28 +0000 (08:55 +0000)]
fixed endif comment.

17 years agoAdded a code coverage section using gcc and gcov.
Dan Fandrich [Tue, 10 Jul 2007 22:55:51 +0000 (22:55 +0000)]
Added a code coverage section using gcc and gcov.

17 years agoShmulik Regev:
Daniel Stenberg [Tue, 10 Jul 2007 22:45:01 +0000 (22:45 +0000)]
Shmulik Regev:
The tiny patch below fixes a bug (that I introduced :) which happens
when negotiating authentication with a proxy (probably with web
servers as well) that uses chunked transfer encoding for the 407 error
pages. In this case the ''ignorebody'' flag was ignored (no pun
intended).

17 years agoGiancarlo Formicuccia reported and fixed a problem with a closed connection
Daniel Stenberg [Tue, 10 Jul 2007 22:31:13 +0000 (22:31 +0000)]
Giancarlo Formicuccia reported and fixed a problem with a closed connection
to a proxy during CONNECT auth negotiation.

17 years agoForce the time zone to GMT in the cookie tests in case the user is
Dan Fandrich [Tue, 10 Jul 2007 22:27:16 +0000 (22:27 +0000)]
Force the time zone to GMT in the cookie tests in case the user is
using one of the so-called 'right' time zones that take into account
leap seconds, which causes the tests to fail (as reported by
Daniel Black in bug report #1745964).

17 years agoThe previous commits changed the error code
James Housley [Tue, 10 Jul 2007 22:26:59 +0000 (22:26 +0000)]
The previous commits changed the error code

17 years ago* Finish moving sftp:// into a state machine so it won't block in multi mode
James Housley [Tue, 10 Jul 2007 22:26:32 +0000 (22:26 +0000)]
* Finish moving sftp:// into a state machine so it won't block in multi mode
* Move scp:// into a state machine so it won't block in multi mode
* When available use the full directory entry from the sftp:// server

17 years agoFixed a curl memory leak reported by Song Ma with a modified version
Dan Fandrich [Tue, 10 Jul 2007 22:23:16 +0000 (22:23 +0000)]
Fixed a curl memory leak reported by Song Ma with a modified version
of the patch he suggested.  Added his test case as test289 to verify.

17 years agostart working on 7.16.5...
Daniel Stenberg [Tue, 10 Jul 2007 22:07:33 +0000 (22:07 +0000)]
start working on 7.16.5...

17 years ago7.16.4 preps
Daniel Stenberg [Tue, 10 Jul 2007 21:36:30 +0000 (21:36 +0000)]
7.16.4 preps

17 years agoadded better CodeWarrior detection (forgot to add with previos version).
Gunter Knauf [Mon, 9 Jul 2007 02:00:39 +0000 (02:00 +0000)]
added better CodeWarrior detection (forgot to add with previos version).

17 years agoadded better CodeWarrior detection;
Gunter Knauf [Sun, 8 Jul 2007 23:19:24 +0000 (23:19 +0000)]
added better CodeWarrior detection;
added defines for setlocale().

17 years agoadded better CodeWarrior detection;
Gunter Knauf [Sun, 8 Jul 2007 23:18:47 +0000 (23:18 +0000)]
added better CodeWarrior detection;
moved autounload flag so that its used for both lib architectures.

17 years agoadded better CodeWarrior detection.
Gunter Knauf [Sun, 8 Jul 2007 23:17:56 +0000 (23:17 +0000)]
added better CodeWarrior detection.

17 years agoremoved some obsolete include paths and defines.
Gunter Knauf [Sat, 7 Jul 2007 16:26:02 +0000 (16:26 +0000)]
removed some obsolete include paths and defines.

17 years agoThomas J. Moore made it build with less warnings
Daniel Stenberg [Fri, 6 Jul 2007 22:14:29 +0000 (22:14 +0000)]
Thomas J. Moore made it build with less warnings

17 years agoGavrie Philipson's change, updated numbers
Daniel Stenberg [Fri, 6 Jul 2007 21:56:42 +0000 (21:56 +0000)]
Gavrie Philipson's change, updated numbers

17 years agoadd note about windows and dlls with CURLOPT_WRITEDATA
Daniel Stenberg [Fri, 6 Jul 2007 20:14:03 +0000 (20:14 +0000)]
add note about windows and dlls with CURLOPT_WRITEDATA

17 years agofixed NetWare CLIB implementation of getpass_r()
Gunter Knauf [Fri, 6 Jul 2007 14:58:59 +0000 (14:58 +0000)]
fixed NetWare CLIB implementation of getpass_r()

17 years agoGavrie Philipson provided a patch that will use a more specific error
James Housley [Thu, 5 Jul 2007 12:48:34 +0000 (12:48 +0000)]
Gavrie Philipson provided a patch that will use a more specific error
message for an scp:// upload failure.  If libssh2 has his matching
patch, then the error message return by the server will be used instead
of a more generic error.

17 years agoAdd -a when running torture tests now that it's supported.
Dan Fandrich [Thu, 5 Jul 2007 01:38:00 +0000 (01:38 +0000)]
Add -a when running torture tests now that it's supported.

17 years agoFix spelling error in error message
James Housley [Wed, 4 Jul 2007 22:54:29 +0000 (22:54 +0000)]
Fix spelling error in error message

17 years agoadd test for gettimeofday() so that HAVE_GETTIMEOFDAY gets defined.
Gunter Knauf [Wed, 4 Jul 2007 17:20:19 +0000 (17:20 +0000)]
add test for gettimeofday() so that HAVE_GETTIMEOFDAY gets defined.

17 years agoenabled ares build.
Gunter Knauf [Wed, 4 Jul 2007 13:45:46 +0000 (13:45 +0000)]
enabled ares build.

17 years agoalthough the check for HAVE_STRUCT_TIMEVAL solved the redefine it is incorrect; lets...
Gunter Knauf [Wed, 4 Jul 2007 10:54:15 +0000 (10:54 +0000)]
although the check for HAVE_STRUCT_TIMEVAL solved the redefine it is incorrect; lets see if a check for HAVE_GETTIMEOFDAY also works; if gettimeofday() is present then we can assume we have the timezone struct too.

17 years agoadded check for sys/param.h.
Gunter Knauf [Wed, 4 Jul 2007 09:01:40 +0000 (09:01 +0000)]
added check for sys/param.h.

17 years agotrial to catch problem with Daniels cross-mingw ares builds.
Gunter Knauf [Tue, 3 Jul 2007 18:18:40 +0000 (18:18 +0000)]
trial to catch problem with Daniels cross-mingw ares builds.

17 years agoadded NetWare CLIB-own header to solve gcc warnings.
Gunter Knauf [Tue, 3 Jul 2007 16:21:57 +0000 (16:21 +0000)]
added NetWare CLIB-own header to solve gcc warnings.

17 years agofew minor changes to make ares compile for NetWare CLIB architecture.
Gunter Knauf [Tue, 3 Jul 2007 16:00:36 +0000 (16:00 +0000)]
few minor changes to make ares compile for NetWare CLIB architecture.

17 years agofixed rule to build libcares when needed.
Gunter Knauf [Tue, 3 Jul 2007 00:50:40 +0000 (00:50 +0000)]
fixed rule to build libcares when needed.

17 years agochanged to build for CLIB / LIBC.
Gunter Knauf [Tue, 3 Jul 2007 00:42:11 +0000 (00:42 +0000)]
changed to build for CLIB / LIBC.

17 years agoadded libcares to static build if ares enabled.
Gunter Knauf [Tue, 3 Jul 2007 00:12:03 +0000 (00:12 +0000)]
added libcares to static build if ares enabled.

17 years agocontributors from the 7.16.3 release notes
Daniel Stenberg [Mon, 2 Jul 2007 22:04:36 +0000 (22:04 +0000)]
contributors from the 7.16.3 release notes

17 years agosync'd with lib makefile changes: use var for awk; fixed RECV* / SEND* defines; debug...
Gunter Knauf [Mon, 2 Jul 2007 18:50:18 +0000 (18:50 +0000)]
sync'd with lib makefile changes: use var for awk; fixed RECV* / SEND* defines; debug var can be overwritten; added better compiler path handling.

17 years agosome more makefile tweaks and hacks to deal with both lib architectures.
Gunter Knauf [Mon, 2 Jul 2007 18:42:14 +0000 (18:42 +0000)]
some more makefile tweaks and hacks to deal with both lib architectures.

17 years agoFix problem with the indenting noticed by Pavel
James Housley [Mon, 2 Jul 2007 17:22:51 +0000 (17:22 +0000)]
Fix problem with the indenting noticed by Pavel

17 years agoignore make error when trying to copy curl.pdf which isnt in CVS.
Gunter Knauf [Sun, 1 Jul 2007 22:17:07 +0000 (22:17 +0000)]
ignore make error when trying to copy curl.pdf which isnt in CVS.

17 years agomention the old name
Daniel Stenberg [Sun, 1 Jul 2007 22:03:47 +0000 (22:03 +0000)]
mention the old name

17 years agoThomas J. Moore provided a patch that introduces Kerberos5 support in
Daniel Stenberg [Sun, 1 Jul 2007 22:01:18 +0000 (22:01 +0000)]
Thomas J. Moore provided a patch that introduces Kerberos5 support in
libcurl. This also makes the options change name to --krb (from --krb4) and
CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still

17 years agoSong Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5 proxy
Daniel Stenberg [Sun, 1 Jul 2007 21:28:14 +0000 (21:28 +0000)]
Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5 proxy

17 years agochanged RECV_* / SEND_* defines to correctly reflect NetWare APIs;
Gunter Knauf [Sun, 1 Jul 2007 21:06:41 +0000 (21:06 +0000)]
changed RECV_* / SEND_* defines to correctly reflect NetWare APIs;
some more minor Makefile tidyups.

17 years agodisabled 64bit type for CLIB build which removes compiler runtime dependency.
Gunter Knauf [Sun, 1 Jul 2007 16:55:37 +0000 (16:55 +0000)]
disabled 64bit type for CLIB build which removes compiler runtime dependency.

17 years agoupdated NetWare docu.
Gunter Knauf [Sun, 1 Jul 2007 12:09:25 +0000 (12:09 +0000)]
updated NetWare docu.

17 years agoadded lib architecture to NLM description.
Gunter Knauf [Sun, 1 Jul 2007 01:33:51 +0000 (01:33 +0000)]
added lib architecture to NLM description.

17 years agoadded HAVE_SYS_IOCTL_H define; added gcc runtime.
Gunter Knauf [Sat, 30 Jun 2007 23:53:54 +0000 (23:53 +0000)]
added HAVE_SYS_IOCTL_H define; added gcc runtime.

17 years agomoved includes to setup.h so that the project headers also pick them up (eleminate...
Gunter Knauf [Sat, 30 Jun 2007 23:45:57 +0000 (23:45 +0000)]
moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning).

17 years agofixed path to Metrowerks tools and runtime since they changed between compiler versions.
Gunter Knauf [Sat, 30 Jun 2007 21:20:24 +0000 (21:20 +0000)]
fixed path to Metrowerks tools and runtime since they changed between compiler versions.

17 years agominor patches to enable building for NetWare CLIB.
Gunter Knauf [Sat, 30 Jun 2007 20:16:03 +0000 (20:16 +0000)]
minor patches to enable building for NetWare CLIB.
sent by Dmitry Mityugov.

17 years agominor patches to enable building for NetWare CLIB.
Gunter Knauf [Sat, 30 Jun 2007 20:08:13 +0000 (20:08 +0000)]
minor patches to enable building for NetWare CLIB.
sent by Dmitry Mityugov.

17 years agoenabled building for NetWare CLIB architecture.
Gunter Knauf [Sat, 30 Jun 2007 20:02:51 +0000 (20:02 +0000)]
enabled building for NetWare CLIB architecture.

17 years agorevert previous patch since it turned out that older cp dont know this switch, argh!
Gunter Knauf [Thu, 28 Jun 2007 22:31:18 +0000 (22:31 +0000)]
revert previous patch since it turned out that older cp dont know this switch, argh!

17 years agoUsing fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
James Housley [Thu, 28 Jun 2007 11:11:29 +0000 (11:11 +0000)]
Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMS
file.c, but the debug interface was missing.  This adds the routines needed
to make the memory debuging work for fdopen().

17 years agoreality sync
Daniel Stenberg [Thu, 28 Jun 2007 10:47:05 +0000 (10:47 +0000)]
reality sync

17 years agofixed nasty cp warnings about not beeing able to preserve ownership.
Gunter Knauf [Thu, 28 Jun 2007 01:20:30 +0000 (01:20 +0000)]
fixed nasty cp warnings about not beeing able to preserve ownership.

17 years agoJames Bursa's improvement
Daniel Stenberg [Wed, 27 Jun 2007 21:35:17 +0000 (21:35 +0000)]
James Bursa's improvement

17 years agofix little flaw that could make the transfer loop end prematurely
Daniel Stenberg [Wed, 27 Jun 2007 21:29:29 +0000 (21:29 +0000)]
fix little flaw that could make the transfer loop end prematurely

17 years agoAdd two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
James Housley [Wed, 27 Jun 2007 20:15:48 +0000 (20:15 +0000)]
Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMS
and CURLOPT_NEW_DIRECTORY_PERMS.  These control the premissions for files
and directories created on the remote server.  CURLOPT_NEW_FILE_PERMS
defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755