Daniel Stenberg
323273382c
7.18.2
2008-06-04 15:38:27 +00:00
Dan Fandrich
6f0a2608b4
Fixed a problem where telnet data would be lost if an EWOULDBLOCK
...
condition were encountered.
2008-06-03 18:03:11 +00:00
Dan Fandrich
ea86edbd82
Fixed typo in comment
2008-06-03 18:00:48 +00:00
Daniel Stenberg
e7b5a8e6cb
curl returns 0 for these options now
2008-06-01 22:10:21 +00:00
Daniel Stenberg
27eaf0cf02
now returns 0
2008-06-01 22:04:09 +00:00
Daniel Stenberg
c84904d8c8
(committed this for Marty Kuhrt:)
...
- Updated main.c to return CURLE_OK if PARAM_HELP_REQUESTED was returned
from getparameter instead of CURLE_FAILED_INIT. No point in returning
an error if --help or --version were requested.
2008-06-01 17:59:53 +00:00
Marty Kuhrt
01e1c85304
return CURLE_OK instead of CURLE_FAILED_INIT if PARAM_HEKP_REQUESTED returned by getparameter
2008-06-01 16:01:37 +00:00
Yang Tse
4774582dfb
Fix problem: 'result' may be used uninitialized.
...
Issue detected by Guenter Knauf's NetWare autobuild.
2008-05-31 01:37:21 +00:00
Marty Kuhrt
1ed09ff7a4
updated to match curlmsg.msg 1.7
2008-05-30 23:53:25 +00:00
Marty Kuhrt
d89cf27d65
resync with curl.h messages
2008-05-30 23:52:06 +00:00
Marty Kuhrt
35d5ba2626
resync with curl.h curle_ messages
2008-05-30 23:51:09 +00:00
Yang Tse
e5f0c38fa9
Brad House fixed a missing header file inclusion in adig sample program
2008-05-30 15:26:42 +00:00
Daniel Stenberg
47925f3dd7
Added a new "13. Web Login" chapter
2008-05-29 21:48:15 +00:00
Daniel Stenberg
82c5950c7e
start working on 1.5.3
2008-05-29 20:39:18 +00:00
Daniel Stenberg
1806879bb2
1.5.2
2008-05-29 20:10:40 +00:00
Daniel Stenberg
998b046d70
Fixed 142 and 143
...
Moved 144 to 7.18.3 instead
2008-05-28 20:57:03 +00:00
Daniel Stenberg
ec4f6e93c2
- Emil Romanus found a problem and helped me repeat it. It occured when using
...
the curl_multi_socket() API with HTTP pipelining enabled and could lead to
the pipeline basically stalling for a very long period of time until it took
off again.
2008-05-28 20:56:19 +00:00
Daniel Stenberg
b49dcfb52b
- Jeff Weber reported memory leaks with aborted SCP and SFTP transfers and
...
provided excellent repeat recipes. I fixed the cases I managed to reproduce
but Jeff still got some (SCP) problems even after these fixes:
http://curl.haxx.se/mail/lib-2008-05/0342.html
2008-05-28 20:31:28 +00:00
Yang Tse
c62d55342d
Known bug #55 , libcurl fails to build with MIT Kerberos for Windows (KfW)
...
due to KfW's library header files exporting symbols/macros that should be
kept private to the KfW library. See ticket #5601 at http://krbdev.mit.edu/rt/
2008-05-27 16:10:51 +00:00
Daniel Stenberg
f7815fa93c
- Bug report #1973352 ( http://curl.haxx.se/bug/view.cgi?id=1973352 ) identified
...
how the HTTP redirect following code didn't properly follow to a new URL if
the new url was but a query string such as "Location: ?moo=foo". Test case
1031 was added to verify this fix.
2008-05-26 20:39:41 +00:00
Daniel Stenberg
6e305e11e3
I'd like to see this fixed for the 7.18,2:
...
144 - Help apps use 64bit/LFS libcurl
2008-05-26 16:05:29 +00:00
Daniel Stenberg
b97606f0b0
Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS
2008-05-26 15:09:28 +00:00
Daniel Stenberg
f26154bfa9
Added Haiku OS, sorted the list of i386 OSes
2008-05-26 15:06:51 +00:00
Yang Tse
d220ac8582
fix compiler warning: unreferenced formal parameter
2008-05-26 13:52:25 +00:00
Yang Tse
c57e748107
David Rosenstrauch reported that header files spnegohelp.h and
...
openssl/objects.h were needed to compile SPNEGO support.
2008-05-26 03:10:34 +00:00
Yang Tse
d6f8f16068
fix: preprocessor complaining about macro redefinition
2008-05-26 01:59:00 +00:00
Daniel Stenberg
466429efb0
summary of the current outstanding issues for upcoming and the subsequent
...
releases
2008-05-24 19:28:31 +00:00
Daniel Stenberg
89977c73d1
Christopher Palow's multi interface docs updates
2008-05-24 19:19:49 +00:00
Daniel Stenberg
a9a05a32bd
Nikolai Kondrashov for his man page update
2008-05-24 11:20:11 +00:00
Daniel Stenberg
2045c79e37
Nikolai Kondrashov provided a clarification for CURLOPT_HEADERFUNCTION
2008-05-24 11:19:51 +00:00
Daniel Stenberg
e60b5245d3
list all local sources the (demo) tools need, add a few missing scripts to
...
the dist tarball and remove a two duplicate file names from EXTRA_DIST
(most of it pointed out by Yang Tse)
2008-05-23 21:52:56 +00:00
Daniel Stenberg
90bbabce56
this is not used (anymore)
2008-05-23 21:46:29 +00:00
Dan Fandrich
ddfbe8b649
Added some more to do items and a known bug.
2008-05-23 20:52:46 +00:00
Daniel Stenberg
d001f6a396
Dan Fandrich pointed out that this is the way we should increase the number
...
for 7.18.2 since we have added functions in this release.
http://curl.haxx.se/mail/lib-2008-05/0240.html
2008-05-23 17:56:03 +00:00
Dan Fandrich
d31da176eb
Made sure to pass longs in to curl_easy_setopt where necessary in the
...
libtest code.
2008-05-22 21:49:52 +00:00
Dan Fandrich
e664cd5826
Fixed a surprising number of example programs that were passing int arguments
...
to curl_easy_setopt instead of long.
2008-05-22 21:20:07 +00:00
Daniel Stenberg
b8abeab6d3
we bump the SO "revision" for next release due to the new functions added
2008-05-22 20:34:47 +00:00
Dan Fandrich
4aa176c127
Fixed some include file problems on Windows reported by David Rosenstrauch
2008-05-22 19:44:10 +00:00
Daniel Stenberg
498e939f0e
make sure the configure.ac file with the correct version number is shipped
...
in the tarball
2008-05-22 17:41:29 +00:00
Yang Tse
9a22b893b6
MSVC6+ clean-up targets must also remove acountry.exe
2008-05-22 16:10:57 +00:00
Yang Tse
76d0d40946
sync with reality
2008-05-22 15:31:06 +00:00
Dan Fandrich
791ad1210e
Renamed MSDOS_FILESYSTEM to avoid conflict with MIT GSS
2008-05-21 21:36:42 +00:00
Dan Fandrich
100945694a
Removed some duplicated #includes
2008-05-21 21:08:31 +00:00
Yang Tse
abe2e6ecf7
fix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when empty
2008-05-21 18:24:09 +00:00
Yang Tse
d8efc99217
fix: remove need and definition of HAVE_SOCKLEN_T symbol
2008-05-21 14:04:14 +00:00
Yang Tse
0163b5b8be
fix: socklen_t definition comment
2008-05-21 13:57:50 +00:00
Yang Tse
baee3996ab
When unable to properly detect gethostbyname_r() usage, configure
...
script will simply issue a warning and gethostbyname() will be used.
2008-05-20 17:30:41 +00:00
Yang Tse
8ad1928d93
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
2008-05-20 15:55:31 +00:00
Patrick Monnerat
24bf52bc69
Adapting last changes to OS400:
...
_ Updated packages/OS400/curl.inc.in with new definitions.
_ New connect/bind/sendto/recvfrom wrappers to support AF_UNIX sockets.
_ Include files line length shortened below 100 chars.
_ Const parameter in lib/qssl.[ch].
_ Typos in packages/OS400/initscript.sh.
2008-05-20 10:21:50 +00:00
Yang Tse
862049c490
fix underquoting of AC_LANG_PROGRAM arguments
2008-05-20 04:23:30 +00:00
Yang Tse
a8fc98aa30
if'def out private function ares__tvdiff(), it is not in use yet.
2008-05-20 01:24:19 +00:00
Yang Tse
d70f33748c
update several macros using AC_TRY_LINK with AC_LINK_IFELSE
2008-05-20 01:03:45 +00:00
Daniel Stenberg
b006c31b7b
- When trying to repeat a multi interface problem I fell over a few multi
...
interface problems:
o with pipelining disabled, the state should never be set to WAITDO but
rather go straight to DO
o we had multiple states for which the internal function returned no socket
at all to wait for, with the effect that libcurl calls the socket callback
(when curl_multi_socket() is used) with REMOVE prematurely (as it would be
added again within very shortly)
o when in DO and DOING states, the HTTP and HTTPS protocol handler functions
didn't return that the socket should be waited for writing, but instead it
was treated as if no socket was needing monitoring so again REMOVE was
called prematurely.
2008-05-19 20:58:12 +00:00
Daniel Stenberg
ae45a462e0
with pipelining disabled, the state should never be set to WAITDO but rather
...
go straight to DO
we had multiple states for which the internal function returned no socket at
all to wait for, with the effect that libcurl calls the socket callback (when
curl_multi_socket() is used) with REMOVE prematurely (as it would be added
again within very shortly)
2008-05-19 20:58:01 +00:00
Daniel Stenberg
3cb0dd6685
when the multi handle was in DO and DOING states, the HTTP and HTTPS protocol
...
handler functions didn't return that the socket should be waited for writing,
but instead it was treated as if no socket was needing monitoring so REMOVE
was called prematurely
2008-05-19 20:57:28 +00:00
Daniel Stenberg
c2a84aa6f0
change the code style to be more curlish, and changed some of the output
...
to be more descriptive and finally set VERBOSE mode to 1 by default
2008-05-19 20:40:53 +00:00
Yang Tse
9346e55d5a
better select() function detection that works
...
even when cross compiling a Windows target.
2008-05-19 16:57:56 +00:00
Yang Tse
8fc2f8ef62
fix socklen_t equivalent detection when cross compiling Windows target
2008-05-19 12:31:11 +00:00
Yang Tse
512b9ac194
if WINSOCK2 API is used link with 'ws2_32', else
...
if WINSOCK API is used under WinCE link with 'winsock', else
if WINSOCK API is used link with 'wsock32'.
2008-05-19 02:50:29 +00:00
Yang Tse
560a82aeaf
on winsock systems linking is done using library 'ws2_32' when
...
winsock2.h is available, and library 'winsock' is used when only
winsock.h is available.
2008-05-18 20:13:13 +00:00
Yang Tse
7358db5c27
minor change for wince-cegcc and wince-mingw32ce support
2008-05-17 01:20:56 +00:00
Daniel Stenberg
e059efda1b
removed lots of warnings
2008-05-16 21:14:50 +00:00
Yang Tse
164a985115
millisecond resolution support followup
2008-05-15 22:57:33 +00:00
Dan Fandrich
ade57a781c
Included stdint.h to get the intptr_t type (needed on OpenBSD at least).
2008-05-15 22:31:23 +00:00
Daniel Stenberg
9f12ed83f2
ten days with no further response or feedback, removing:
...
136 - adding easy handles when using curl_multi_socket* by
Markus Koetter
2008-05-15 22:02:47 +00:00
Gisle Vanem
8aabd9839b
Replaced "-DHAVE_FIONBIO" with "-DHAVE_IOCTLSOCKET".
...
Added "-DHAVE_GETTIMEOFDAY". Trimmed lines.
2008-05-15 20:47:45 +00:00
Yang Tse
882fbb0433
sync with reality
2008-05-15 10:04:15 +00:00
Yang Tse
15eee5dbbb
remove compilation time generated files
2008-05-15 09:18:05 +00:00
Yang Tse
cfc1d037ff
use same time source for timeout initialization and processing
2008-05-15 00:00:19 +00:00
Dan Fandrich
c24ed07596
Reduced the required stack size.
2008-05-14 23:38:21 +00:00
Dan Fandrich
08aab6a620
Move the CURLDEBUG check after setup.h so it can be set there if necessary.
2008-05-14 23:36:26 +00:00
Yang Tse
2748c64d60
Improve toolchain detection for WinCE cross compilation:
...
When cross compiling WinCE with the arm-wince-cegcc-gcc C compiler
symbol __CEGCC__ is defined and the unix-like compatibility layer
is used. For our purposes this is not a native Windows build.
When cross compiling WinCE with the arm-wince-mingw32ce-gcc C compiler
symbol __MINGW32CE__ is defined and the unix-like compatibility layer
is not used. For our purposes this _is_ a native Windows build.
2008-05-14 19:42:17 +00:00
Yang Tse
c4f1ab3cc5
remove duplicate check
2008-05-14 16:17:23 +00:00
Yang Tse
5e06ec8409
skip checks for Windows specific header files
...
when build target is not a native Windows one
2008-05-14 16:14:35 +00:00
Yang Tse
04d0a84ae5
WinCE cross compilation adjustments:
...
HAVE_WINSOCK2_H shall not be defined.
HAVE_WS2TCPIP_H shall not be defined.
2008-05-14 13:54:36 +00:00
Daniel Stenberg
c1dfe2c529
wait for all 129 bytes
2008-05-13 21:43:37 +00:00
Daniel Stenberg
7f88e8badb
Added test case 556 that uses curl_easy_send() and curl_easy_recv()
2008-05-13 21:42:07 +00:00
Daniel Stenberg
2f66ff2e4f
Three out of the four issues are now extinct.
2008-05-13 21:12:07 +00:00
Daniel Stenberg
76c251513e
- Introducing millisecond resolution support for the timeout option. See
...
ares_init_options()'s ARES_OPT_TIMEOUTMS.
2008-05-13 20:48:48 +00:00
Yang Tse
80afddacc8
also ignore this
2008-05-13 18:27:18 +00:00
Dan Fandrich
7543c9df50
Added curl_easy_recv & curl_easy_send Symbian exports.
...
Cleaned up Symbian files.
2008-05-13 17:50:03 +00:00
Yang Tse
83fb13329d
also ignore this
2008-05-13 17:23:01 +00:00
Yang Tse
e06c923605
ignore this compilation time generated files
2008-05-13 17:11:16 +00:00
Yang Tse
ab1169895f
don't keep in CVS this compilation time generated file
2008-05-13 17:03:28 +00:00
Yang Tse
01e81c7e10
add MSVC6 project for acountry sample program
2008-05-13 15:37:49 +00:00
Yang Tse
7bf1142ae0
update MSVC6 projects to use the multithreaded DLL runtime library
2008-05-13 15:34:22 +00:00
Yang Tse
af9f7a952b
add MSVC6 project for acountry sample program
2008-05-13 15:31:19 +00:00
Daniel Stenberg
514592b892
- Introducing curl_easy_send() and curl_easy_recv(). They can be used to send
...
and receive data over a connection previously setup with curl_easy_perform()
and its CURLOPT_CONNECT_ONLY option. The sendrecv.c example was added to
show how they can be used.
2008-05-12 21:43:24 +00:00
Yang Tse
d72efff878
skip libtool C++ preprocessor compiler and linker checks
2008-05-12 15:02:51 +00:00
Yang Tse
e4c60e2030
ignore libcares.pc
2008-05-12 12:22:23 +00:00
Yang Tse
ed80eb5b0f
configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol only
...
when function clock_gettime() is available and the monotonic timer is
also available. Otherwise, in some cases, librt or libposix4 could be used
for linking even when finally not using the clock_gettime() function due
to lack of the monotonic clock.
2008-05-12 02:04:21 +00:00
Yang Tse
60dd765b3d
fix syntax error: missing semicolon
2008-05-10 23:50:55 +00:00
Yang Tse
b380dd030f
Add library checking for clock_gettime() support
2008-05-10 15:46:08 +00:00
Yang Tse
19479ea021
Internal time differences now use monotonic time source if available.
...
This also implies the removal of the winmm.lib dependency for WIN32.
2008-05-09 16:31:51 +00:00
Yang Tse
d708ef6731
Use monotonic time source if available.
2008-05-09 16:30:24 +00:00
Daniel Stenberg
d1238baecb
Removed AC_PROG_CC_STDC again. It enforces C99/gnu99 stdandard which is too
...
liberal for me. Also, autoconf 2.61 and earlier doesn't work with icc 10.1
for this macro. (2.62 confirmed to work though). See discusson on the mailing
list starting here:
http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2008-05/0001.shtml
2008-05-09 13:10:34 +00:00
Daniel Stenberg
0510759bc4
- Stefan Krause reported a busy-looping case when using the multi interface
...
and doing CONNECT to a proxy. The app would then busy-loop until the proxy
completed its response.
2008-05-09 12:59:24 +00:00
Daniel Stenberg
6d5cca5ed0
Removed an unused variable and one do-while loop that wasn't used either.
...
Added a few comments while at it.
2008-05-09 12:53:42 +00:00
Michal Marek
e2b82b4325
- Make Curl_write and it's callees accept a const pointer, in preparation
...
of tetetest's patch for curl_easy_send()
2008-05-09 11:27:54 +00:00
Daniel Stenberg
cf4570a06f
include strings.h (if available) for the strcasecmp() proto
2008-05-08 22:14:17 +00:00
Daniel Stenberg
6df5dddd90
check for strings.h in configure and use it for the strcasecmp() proto
2008-05-08 22:11:38 +00:00
Yang Tse
d4e9b141db
fix compiler warning: format '%ld' expects type 'long int'
2008-05-08 05:45:01 +00:00
Daniel Stenberg
ec0665a931
adjusted to work with the updated configure.ac
2008-05-07 21:27:35 +00:00
Daniel Stenberg
836fa69e2e
- Sebastian made c-ares able to return all PTR-records when doing reverse
...
lookups. It is not common practice to have multiple PTR-Records for a single
IP, but its perfectly legal and some sites have those.
2008-05-07 21:20:45 +00:00
Daniel Stenberg
9026dc2da4
- Doug Goldstein provided a configure patch: updates autoconf 2.13 usage to
...
autoconf 2.57 usage (which is the version you have specified as the minimum
version). It's a minor change but it does clean up some warnings with newer
autoconf (specifically 2.62).
2008-05-07 21:16:06 +00:00
Daniel Stenberg
98c9af4c59
-135 - Busy looping bug in multi_socket interface by
...
- Christopher Palow
2008-05-07 21:11:27 +00:00
Daniel Stenberg
e481d679b2
- Liam Healy filed the debian bug report #480044
...
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480044 ) identifying a
segfault when using krb5 ftp, but the krb4 code had the same problem.
2008-05-07 21:02:21 +00:00
Yang Tse
eb68aa38e3
Christopher Palow provided the patch (edited by me) that introduces
...
the use of microsecond resolution keys for internal splay trees.
http://curl.haxx.se/mail/lib-2008-04/0513.html
2008-05-07 15:41:41 +00:00
Yang Tse
082237e2b5
fix compiler warning: enumerated type mixed with another type
2008-05-06 04:37:06 +00:00
Daniel Stenberg
dd08a7a4f6
mention four outstanding issues we should deal with before release
2008-05-05 22:27:28 +00:00
Yang Tse
a60c9ef88e
Improved parsing of resolver configuration files
2008-05-05 17:48:25 +00:00
Daniel Stenberg
4e3d235e04
- Yuriy Sosov pointed out a configure fix for detecting c-ares when that is
...
built debug-enabled.
2008-05-03 22:04:39 +00:00
Daniel Stenberg
19da3606f9
minor spell and language fix of a comment
2008-05-03 21:49:16 +00:00
Daniel Stenberg
fc9e0d2249
- Ben Van Hof filed bug report #1945240 : "libcurl sometimes sends body twice
...
when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240 ).
The problem was that when libcurl rewound a stream meant for upload when it
would prepare for a second request, it could accidentally continue the
sending of the rewound data on the first request instead of on the second.
Ben also provided test case 1030 that verifies this fix.
2008-05-03 21:45:12 +00:00
Daniel Stenberg
21a0f09081
Added comments, check Curl_http_auth_act()'s return code and added a check
...
that closes the connection somewhat faster when perhapsrewind() has marked
the connection for closure.
2008-05-03 21:44:50 +00:00
Daniel Stenberg
b84b71f524
- Jean-Francois Bertrand reported a libcurl crash with CURLOPT_TCP_NODELAY
...
since libcurl used getprotobyname() and that isn't thread-safe. We now
switched to use IPPROTO_TCP unconditionally, but perhaps the proper fix is
to detect the thread-safe version of the function and use that.
http://curl.haxx.se/mail/lib-2008-05/0011.html
2008-05-03 13:43:35 +00:00
Daniel Stenberg
3d29bda9f8
- Bart Whiteley provided a patch that made libcurl work properly when an app
...
uses the CURLOPT_OPENSOCKETFUNCTION callback to create a unix domain socket
to a http server.
2008-05-01 21:34:34 +00:00
Daniel Stenberg
459c664043
53. SFTP busy-loop problem when doing SFTP uploads.
2008-05-01 20:58:38 +00:00
Dan Fandrich
45edad84cb
Document that variable replacement now takes place in the test file <stdout> section.
2008-05-01 17:48:00 +00:00
Daniel Stenberg
fd31f7e7e5
use variables to support other IPs and port numbers
2008-05-01 10:52:12 +00:00
Daniel Stenberg
7b2531da24
do variable replacement in the stdout data read from the test case
2008-05-01 10:51:16 +00:00
Dan Fandrich
848a13654d
Added precheck for hard-coded test server address and port
2008-05-01 00:20:01 +00:00
Dan Fandrich
1cca8f5a30
Made file XML compatible
2008-05-01 00:18:16 +00:00
Daniel Stenberg
12ffcf0b45
Christian Vogt told us about OS21 in
...
http://curl.haxx.se/mail/lib-2008-04/0443.html
2008-04-30 21:32:35 +00:00
Daniel Stenberg
852989856d
- To make it easier for applications that want lots of magic stuff done on
...
redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now
introduce the new CURLINFO_REDIRECT_URL option that lets applications
extract the URL libcurl would've redirected to if it had been told to. This
then enables the application to continue to that URL as it thinks is
suitable, without having to re-implement the magic of creating the new URL
from the Location: header etc. Test 1029 verifies it.
2008-04-30 21:20:08 +00:00
Yang Tse
7dfdbf8fbe
improved easy interface resolving timeout handling in c-ares enabled builds
2008-04-29 04:28:40 +00:00
Yang Tse
1eebb90030
improve easy interface resolving timeout handling in c-ares enabled builds
2008-04-29 04:18:02 +00:00
Dan Fandrich
ab71654078
Added test 1028 to test an HTTP redirect to a FTP URL.
2008-04-29 02:30:09 +00:00
Daniel Stenberg
7a6cff4b3a
- Norbert Frese filed bug report #1951588 : "Problem with curlftpfs and
...
libcurl" (http://curl.haxx.se/bug/view.cgi?id=1951588 ) which seems to be an
identical report to what Denis Golovan reported in
http://curl.haxx.se/mail/lib-2008-02/0108.html The FTP code didn't reset the
user/password pointers properly even though there might've been a new
struct/cconnection getting used.
2008-04-28 21:29:17 +00:00
Daniel Stenberg
c3ba2198b1
mention the automake problems and solution even though it doesn't strictly
...
caused any change in curl-related files
2008-04-26 22:02:07 +00:00
Dan Fandrich
ff748f1a41
Updated Symbian UIDs. Added .pkg files for creating .sis packages.
2008-04-25 22:49:18 +00:00
Yang Tse
b8193b6321
tests/libtest/delay.pl no longer used. The 'delay' attribute of the
...
test harness <command> subsection now provides this functionality.
2008-04-25 11:01:26 +00:00
Yang Tse
113d0937de
Add 'timeout' and 'delay' attributes support for the test harness <command> subsection
2008-04-25 04:19:50 +00:00
Dan Fandrich
d0a506661f
Made --stderr able to redirect all stderr messages.
2008-04-25 00:41:44 +00:00
Dan Fandrich
4e71173928
Reduced the requested Symbian capabilities.
...
Correctly noted what happens to stderr.
2008-04-24 23:24:57 +00:00
Yang Tse
e0f0a2ccee
<postcheck> delay no longer needed for this test.
...
http://curl.haxx.se/mail/lib-2008-04/0392.html
2008-04-23 23:58:00 +00:00
Yang Tse
96edebf4d9
improve synchronization between test harness runtests.pl script
...
and test harness servers to minimize risk of false test failures.
http://curl.haxx.se/mail/lib-2008-04/0392.html
2008-04-23 23:55:34 +00:00
Dan Fandrich
3783b455c0
Symbian OS is a.k.a. EPOC32
2008-04-23 18:29:44 +00:00
Dan Fandrich
7ee5238f5e
Mention that P.I.P.S. is needed for Symbian.
2008-04-23 18:14:25 +00:00
Dan Fandrich
b398169567
List extra files individually instead of by directory to avoid including
...
CVS directories.
2008-04-23 05:14:14 +00:00
Dan Fandrich
1960eebc2d
Added support for running on Symbian OS.
2008-04-22 22:53:53 +00:00
Yang Tse
ad1dd08693
fix minor memory leak triggered upon test failure
2008-04-22 13:07:27 +00:00
Yang Tse
95fd093c4a
Remove fflush() + fsync() previously introduced accelerated writing of
...
server input and response request files of the test harness sws server.
Reintroduce, for test # 1001, the <postcheck> small delay. The delay is
needed even with the accelerated writing of server input and response
request files in test harness sws server.
http://curl.haxx.se/mail/lib-2008-04/0385.html
2008-04-22 12:40:05 +00:00
Yang Tse
ed1ad28e29
Remove previously introduced small delay to verify if it can be avoided
...
with the accelerated writing of server input and response request files
in test harness sws server.
2008-04-22 00:23:18 +00:00
Dan Fandrich
7076505c24
Allocate the decompression buffer for the --manual option on the heap
...
instead of the stack.
2008-04-21 23:17:20 +00:00
Dan Fandrich
5825cf9457
Fixed typo in log message
2008-04-21 23:16:24 +00:00
Daniel Stenberg
ff40415aee
added Haskell binding, unified the formatting somewhat
2008-04-21 21:44:03 +00:00
Yang Tse
f48eb36f75
HAVE_FFLUSH and HAVE_FSYNC symbol definitions for WIN32 systems
2008-04-21 19:17:42 +00:00
Dan Fandrich
768e3e796e
Ignore the result of the postcheck command in torture mode
2008-04-21 17:19:44 +00:00
Dan Fandrich
3869d4a3a7
Make the test work with nroffs that use special escaping for bold output.
2008-04-21 16:57:27 +00:00
Yang Tse
a87c468c5c
accelerate the writing of server input and response request files
...
to disk, trying to defeat file and disk write-behind algorithms
2008-04-20 19:15:08 +00:00
Dan Fandrich
7abf50a5c0
Added test cases 1026 and 1027 to do some rudimentary tests on the --manual
...
and --help options.
2008-04-18 22:31:52 +00:00
Yang Tse
d3f46eb61b
test 1001 needs a small delay between client part execution and test
...
result file verifications to allow the test server to completely write
out all files
2008-04-18 17:25:54 +00:00
Yang Tse
72c58b0d1d
test 1001 needs a small delay between client part execution and test
...
result file verifications to allow the test server to completely write
out all files
2008-04-18 17:17:14 +00:00
Yang Tse
6c89e1b311
fix compiler warning: enumerated type mixed with another type
2008-04-17 11:59:46 +00:00
Dan Fandrich
09777a4fc2
Some trivial changes
2008-04-17 00:45:33 +00:00
Daniel Stenberg
0331071346
Added test case 555, a variation of 547 but using multi interface instead of
...
easy. This was reported not working by Penugonda Chenna Reddy in
http://curl.haxx.se/mail/lib-2008-04/0046.html but I fail to repeat that
problem.
2008-04-16 21:11:46 +00:00
Daniel Stenberg
614ae7b2bc
Removed 129 and 130 due to lack of response on those issues
2008-04-16 14:48:01 +00:00
Michal Marek
af41ada7aa
allow disabling the typechecker by defining CURL_DISABLE_TYPECHECK, as
...
discussed in http://curl.haxx.se/mail/lib-2008-04/0291.html
2008-04-14 19:01:41 +00:00
Daniel Stenberg
6a33a4456e
- Stefan Krause reported a case where the OpenSSL handshake phase wasn't
...
properly acknowledging the timeout values, like if you pulled the network
plug in the midst of it.
2008-04-14 15:26:34 +00:00
Daniel Stenberg
e0c2a39ad4
- Andre Guibert de Bruet fixed a second case of not checking the malloc()
...
return code in the Negotiate code.
2008-04-14 15:22:45 +00:00
Daniel Stenberg
cda1f2be58
mention Sandor as contributor
2008-04-14 15:20:07 +00:00
Daniel Stenberg
79e06c4147
- Sandor Feldi reported bug #1942022
...
(http://curl.haxx.se/bug/view.cgi?id=1942022 ) pointing out a mistake in the
lib/Makefile.vc[68] makefiles' release-ssl-dll target.
2008-04-14 15:19:05 +00:00
Daniel Stenberg
ead2618c31
- Brock Noland reported that curl behaved differently depending on which order
...
you used -i and -I.
2008-04-14 14:42:06 +00:00
Daniel Stenberg
84eb9fee76
- Andre Guibert de Bruet found and fixed a case where malloc() was called but
...
was not checked for a NULL return, in the Negotiate code.
2008-04-12 11:50:51 +00:00
Daniel Stenberg
79300cdcd9
return 0 not -1 at end of data!
2008-04-12 08:35:04 +00:00
Dan Fandrich
a9591ad1b7
Added test case 1025 to test a command-line cookie with Location: following
2008-04-10 18:18:55 +00:00
Daniel Stenberg
098106b54c
mention what happens to the data when a write callback returns pause
2008-04-10 09:06:47 +00:00
Daniel Stenberg
74bb59fa57
clarify the COOKIE option a bit
2008-04-10 09:03:26 +00:00
Dan Fandrich
c97d112b30
Added test case 1024 to test a scenario similar to the one reported
...
by Ben Combee where libcurl would send the wrong cookie to a redirected
server. libcurl was doing the right thing in this test case.
2008-04-10 04:21:08 +00:00
Daniel Stenberg
2dc20b84c1
"tag" the function referals properly
2008-04-09 11:27:47 +00:00
Yang Tse
39b689f966
make previous compiler warning fix more portable
2008-04-07 19:12:35 +00:00
Yang Tse
6fd3ff4032
fix compiler warning: argument is incompatible with corresponding format string conversion
2008-04-07 15:40:49 +00:00
Yang Tse
ab8d1464a7
fix compiler warning: indirection to slightly different base types
2008-04-07 14:37:17 +00:00
Yang Tse
bf90d11a31
fix compiler warning: local variable may be used without having been initialized
2008-04-07 14:20:05 +00:00
Patrick Monnerat
a08b6ae813
Adapt OS400 SSL (qssl.h) to V5R4
...
Fix qssl.c wrong error message
Upgrade OS400 wrappers and makefiles to 7.18.1
2008-04-07 13:09:17 +00:00
Yang Tse
74c500b6ec
fix compiler warning: unreferenced formal parameter
2008-04-07 12:44:47 +00:00
Yang Tse
26aeadbc3e
fix compiler warning: assignment within conditional expression
2008-04-07 12:40:05 +00:00
Michal Marek
d0a4b50e19
- Fix the MIT / Heimdal check for good:
...
Define HAVE_GSSMIT if <gssapi/{gssapi.h,gssapi_generic.h,gssapi_krb5.h}> are
available, otherwise define HAVE_GSSHEIMDAL if <gssapi.h> is available.
Only define GSS_C_NT_HOSTBASED_SERVICE to gss_nt_service_name if
GSS_C_NT_HOSTBASED_SERVICE isn't declared by the gssapi headers. This should
avoid breakage in case we wrongly recognize Heimdal as MIT again.
2008-04-07 09:26:30 +00:00
Daniel Stenberg
ebaf06a741
- Alexey Simak fixed curl_easy_reset() to reset the max redirect limit properly
2008-04-05 21:13:44 +00:00
Daniel Stenberg
34d837c2dd
provide CURL_DEFAULT_PROXY_PORT set to 1080 for the default port libcurl
...
assumes proxies to use
2008-04-05 21:13:31 +00:00
Daniel Stenberg
7607d5145b
- Based on the Debian bug report #474224 that complained about the FTP error
...
message when libcurl doesn't get a 220 back immediately on connect, I now
changed it to be more specific on what the problem is. Also worth noticing:
while the bug report contains an example where the response is:
421 There are too many connected users, please try again later
we cannot assume that the error message will always be this readable nor
that it fits within a particular boundary etc.
2008-04-05 21:02:38 +00:00
Daniel Stenberg
12a90289ed
- Alexey Simak fixed the VC dsp file by adding the missing source file
...
ares_expand_string.c
2008-04-04 20:26:06 +00:00
Daniel Stenberg
592697583d
Alexey Simak made adig support NAPTR records
2008-04-04 20:24:41 +00:00
Daniel Stenberg
b50a96982e
Eino Tuominen improved the code when a file is used to seed the randomizer
2008-04-04 20:05:23 +00:00
Dan Fandrich
aa2a54c10a
Give a hint as to why a url_fopen failed.
2008-04-04 18:45:37 +00:00
Yang Tse
532d4b5106
SunSSH sshd ignores UsePrivilegeSeparation option
2008-04-04 14:47:32 +00:00
Yang Tse
5788719988
SunSSH 1.2 options sync
2008-04-04 14:08:36 +00:00
Daniel Stenberg
ac0b911eda
oops, forgot to add test554
2008-04-04 11:39:32 +00:00
Dan Fandrich
10232bfe9e
Added test627 to test SFTP with CURLOPT_NOBODY
2008-04-04 02:06:35 +00:00
Daniel Stenberg
a9c1ca9fc5
- Setting CURLOPT_NOBODY to FALSE will now switch the HTTP request method to
...
GET simply because previously when you set CURLOPT_NOBODY to TRUE first and
then FALSE you'd end up in a broken state where a HTTP request would do a
HEAD by still act a lot like for a GET and hang waiting for the content etc.
2008-04-03 21:44:49 +00:00
Daniel Stenberg
d051dd8087
Scott Barrett added support for CURLOPT_NOBODY over SFTP
2008-04-03 20:56:59 +00:00
Dan Fandrich
bf52cef16f
Made sure that curl_global_init is called in all the multithreaded
...
example programs.
2008-04-03 20:28:32 +00:00
Gunter Knauf
16a9c5e02b
removed unused var.
2008-04-02 03:11:34 +00:00
Gunter Knauf
fef1a90938
removed double dependency.
2008-04-02 03:08:21 +00:00
Daniel Stenberg
27870d48ff
128 - Phil Blundell's ares and ipv6 fix (feedback lacking)
...
removed
133 - Setting CURLOPT_NOBODY to "false" causes cURL to wait for content if a
content-length header is read
added
2008-04-01 21:49:51 +00:00
Daniel Stenberg
2f66f3ce08
Eetu contributed back in 2000...
2008-04-01 13:54:49 +00:00
Daniel Stenberg
369df58a0d
132 - Xponaut's CURLFORM_STREAM option to curl_formadd()
...
done
2008-03-31 20:32:31 +00:00
Gunter Knauf
3d08b352a2
moved CURL_CA_BUNDLE define to generated config.h.
2008-03-31 12:51:44 +00:00
Michal Marek
d13be06aaa
Removed the generated ca-bundle.h file. The verbatim value of $ca and
...
$capath is known to configure, so it can be defined in config.h instead.
2008-03-31 12:09:43 +00:00
Daniel Stenberg
f1c69192da
expanded a comment around some of the new formpost callback usage
2008-03-31 10:16:34 +00:00
Daniel Stenberg
a2314225e0
- Added CURLFORM_STREAM as a supported option to curl_formadd() to allow an
...
application to provide data for a multipart with the read callback. Note
that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the
stream option is used. This feature is verified by the new test case
554. This feature was sponsored by Xponaut.
2008-03-31 10:02:23 +00:00
Dan Fandrich
1e482fe6a8
Changed the makefile so the doc/examples/ programs are never built in a
...
normal build/install (only with the 'make check' target), so that a
build failure in the examples isn't fatal.
2008-03-31 03:01:13 +00:00
Daniel Stenberg
80e7f9b9de
added people from the 7.18.1 release announcement
2008-03-30 09:30:15 +00:00
Daniel Stenberg
d219269f1b
back to a blank for 7.18.2
2008-03-30 09:22:45 +00:00
Daniel Stenberg
0ff0512aff
start working on 7.18.2
2008-03-30 09:22:22 +00:00
Daniel Stenberg
bdd731177e
7.18.1
2008-03-30 09:11:35 +00:00
Daniel Stenberg
abd1c526f0
132 - Xponaut's CURLFORM_STREAM option to curl_formadd()
2008-03-30 09:08:40 +00:00
Daniel Stenberg
a050a5fa9b
I'm officially pushing the two remaining issues to the next release instead,
...
since they're still not clear enough to be to sort about before 7.18.1
2008-03-30 09:07:08 +00:00
Dan Fandrich
7f7b643c0d
Made the test work on perl 5.00
2008-03-28 18:19:11 +00:00
Daniel Stenberg
cd2814725a
- Stephen Collyer pointed out that configure --with-libssh2 without a given
...
path didn't work properly but now it does!
2008-03-27 23:13:57 +00:00
Daniel Stenberg
342fa1cf06
fix --with-libssh2 when given without path
2008-03-27 23:10:24 +00:00
Daniel Stenberg
b425e851fb
- As found out and reported by Dan Petitt, libcurl didn't show progress/call
...
the progress callback for the first (potentially huge) piece of body data
sent together with the POST request headers in the initial send().
2008-03-27 13:07:12 +00:00
Daniel Stenberg
7c6a026230
spell!
2008-03-25 19:23:26 +00:00
Daniel Stenberg
2c9763da3e
- Made setting the CURLOPT_SSL_CTX_FUNCTION option return a failure in case
...
libcurl wasn't built to use OpenSSL as that is a prerequisite for this
option to function!
2008-03-25 19:19:49 +00:00
Daniel Stenberg
a782c3e368
spell it out loudly and clearly that CURLOPT_SSL_CTX_FUNCTION is only
...
functional if libcurl is built against OpenSSL
2008-03-25 19:17:26 +00:00
Daniel Stenberg
95bd901efe
- Fixed the problem with doing a zero byte SCP transfer, verified with test
...
case 617 (which was added by Daniel Fandrich 5 Mar 2008).
2008-03-22 22:00:21 +00:00
Daniel Stenberg
98c9a5b7f6
roadmap ahead
2008-03-21 11:53:59 +00:00
Dan Fandrich
516192e7f2
Jes reported the curl-config bug
2008-03-20 20:16:01 +00:00
Dan Fandrich
c37cdbe2cf
Fixed a problem where curl-config --protocols could erroneously show LDAPS
...
support when curl didn't even have regular LDAP support. It looks like
this could happen when the --enable-ldaps configure switch is given but
configure couldn't find the LDAP headers or libraries.
2008-03-20 20:08:44 +00:00
Gunter Knauf
c0a30b04c2
added --extvercmd parameter which can be used to specify an external command to display 'curl --version', f.e. with MinW32 crosscompile --extvercmd=/usr/bin/wine can be used.
2008-03-20 16:10:54 +00:00
Michal Marek
86cbb23282
- Added --with-ca-path=DIRECTORY configure option to use an openSSL CApath by
...
default instead of a ca bundle. The configure script will also look for a
ca path if no ca bundle is found and no option given.
- Fixed detection of previously installed curl-ca-bundle.crt
2008-03-20 08:09:23 +00:00
Dan Fandrich
e9a460411f
Fixed an infinite loop when given an invalid SFTP quote command.
2008-03-18 22:59:04 +00:00
Dan Fandrich
a57098ea9b
Added test 626 to reproduce an infinite loop when given an invalid
...
SFTP quote command reported by Vincent Le Normand, but left it disabled.
2008-03-18 17:05:29 +00:00
Michal Marek
6f3166c15b
- Added curl_easy_getinfo typechecker.
...
- Added macros for curl_share_setopt and curl_multi_setopt to check at least
the correct number of arguments.
2008-03-18 08:14:37 +00:00
Michal Marek
1380c9af9f
Mark the statement expr with __extension__ so that gcc -pedantic doesn't emit
...
any hard-to-grasp warnings in curl_easy_setopt() calls in applications.
Also delete superfluous semicolons.
2008-03-17 14:22:10 +00:00
Dan Fandrich
942daece00
Spell the commands right
2008-03-15 01:03:23 +00:00
Dan Fandrich
040a4443a1
Added tests 622-625 to test SFTP/SCP uploads. Test 625 was an attempt to
...
reproduce the --ftp-create-dirs problem reported by Brian Ulm, but that
seems to need a call curl_easy_reset() which this test case doesn't do.
2008-03-13 22:51:39 +00:00
Daniel Stenberg
641d5c4111
- Brian Ulm figured out that if you did an SFTP upload with
...
CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
handle and uploaded another file to another directory that needed to be
created, the second upload would fail. Another case of a state variable that
wasn't properly reset between requests.
- I rewrote the 100-continue code to use a single state variable instead of
the previous two ones. I think it made the logic somewhat clearer.
2008-03-13 21:43:39 +00:00
Daniel Stenberg
ad4a9955c5
- Brian Ulm figured out that if you did an SFTP upload with
...
CURLOPT_FTP_CREATE_MISSING_DIRS to create a directory, and then re-used the
handle and uploaded another file to another directory that needed to be
created, the second upload would fail. Another case of a state variable that
wasn't properly reset between requests.
2008-03-13 21:43:30 +00:00
Daniel Stenberg
553ed99e3b
Change the confusing two variables for the expect 100 continue stuff into
...
a single state variable to make the code easier to follow and understand.
2008-03-13 20:56:13 +00:00
Dan Fandrich
b74cdee6ab
--ftp-create-dirs works on SFTP as well
2008-03-13 20:49:06 +00:00
Daniel Stenberg
f3c0afa5b8
fix code that is normally #ifdef'ed out
2008-03-13 12:36:22 +00:00
Daniel Stenberg
a69ba639ba
Done: 125 - Michal Marek's typechecker-gcc work
2008-03-12 13:14:09 +00:00
Daniel Stenberg
fc9ad03e66
updated according to the name resolve race condition fix just committed
2008-03-11 22:58:52 +00:00
Daniel Stenberg
b9d66dca51
- Dmitry Popov filed bug report #1911069
...
(http://curl.haxx.se/bug/view.cgi?id=1911069 ) that identified a race
condition in the name resolver code when the DNS cache is shared between
multiple easy handles, each running in simultaneous threads that could cause
crashes.
2008-03-11 22:55:23 +00:00
Daniel Stenberg
ecf1c6ca5d
- Added a macro for curl_easy_setopt() that accepts three arguments and simply
...
does nothing with them, just to make sure libcurl users always use three
arguments to this function. Due to its use of ... for the third argument, it
is otherwise hard to detect abuse.
2008-03-11 13:14:16 +00:00
Daniel Stenberg
9b48991ebd
Recommend passing a 1 as parameter to CURLOPT_SSLENGINE_DEFAULT rather than
...
a "dummy" just to get things as fixed as possible in case we ever get the urge
to change this to actually mean something.
2008-03-11 12:18:00 +00:00
Michal Marek
7a8a20416f
- Added a type checking macro for curl_easy_setopt(), needs gcc-4.3 and only
...
works in C mode atm (http://curl.haxx.se/mail/lib-2008-02/0267.html ,
http://curl.haxx.se/mail/lib-2008-02/0292.html )
2008-03-11 07:37:40 +00:00
Dan Fandrich
458925ae0b
Added tests 618-621 to test SFTP/SCP transfers of more than one file
...
(test 620 tests the just-fixed problem reported by Brian Ulm).
2008-03-10 19:40:27 +00:00
Michal Marek
e44dc92197
fixed typo
2008-03-10 14:32:19 +00:00
Michal Marek
9bb51d767e
(try to) use LIBS for libraries (-l) and LDFLAGS for paths (-L) in the
...
gssapi check. Cleans up curl-config --libs output when REQUIRE_LIB_DEPS=no
2008-03-10 09:56:49 +00:00
Daniel Stenberg
82e095a275
- Brian Ulm reported a crash when doing a second SFTP transfer on a re-used
...
easy handle if curl_easy_reset() was used between them. I fixed it and Brian
verified that it cured his problem.
- Brian Ulm reported that if you first tried to download a non-existing SFTP
file and then fetched an existing one and re-used the handle, libcurl would
still report the second one as non-existing as well! I fixed it abd Brian
verified that it cured his problem.
2008-03-09 11:37:48 +00:00
Daniel Stenberg
0e40261a11
Done: 123 - Mike Protts' SFTP resume download
2008-03-08 22:19:11 +00:00
Yang Tse
8e9e33ae52
VS2005 and later dafault size for time_t is 64-bit, unless
...
_USE_32BIT_TIME_T has been defined to get a 32-bit time_t
2008-03-07 02:49:14 +00:00
Michal Marek
40e1a016f9
Fix the gssapi configure check to detect newer MIT Kerberos (patch by
...
Michael Calmer)
2008-03-06 17:22:45 +00:00
Daniel Stenberg
1cf559492a
spellchecked
2008-03-06 12:43:47 +00:00
Daniel Stenberg
4957a838ef
curl_multi_timeout() is really not recommended with curl_multi_socket()-based
...
usage
2008-03-06 12:37:07 +00:00
Yang Tse
91aeebed26
Regression fix:
...
select/poll calls will only be retried upon EINTR failures as
it previously was in lib/select.c revision 1.29
In this way Curl_socket_ready() and Curl_poll() will again fail
on any select/poll errors different than EINTR.
2008-03-06 03:48:33 +00:00
Dan Fandrich
b16ea66cec
Added tests 616 and 617 to see how SFTP and SCP cope with zero-length
...
files, as questioned by Mike Protts. SFTP does for me but SCP doesn't
so test 617 is disabled for now.
2008-03-06 01:15:28 +00:00
Dan Fandrich
80cec5a62a
Fixed the test harness so it will write out zero-length data files.
2008-03-06 01:11:43 +00:00
Yang Tse
6c2c281a7e
fix log message used when unable to connect to destination port
2008-03-05 18:27:31 +00:00
Daniel Stenberg
0836893335
Mike Protts brought a patch that makes resumed transfers work with SFTP.
2008-03-04 11:53:15 +00:00
Daniel Stenberg
590f0358d8
- Anatoli Tubman found and fixed a crash with Negotiate authentication used on
...
a re-used connection where both requests used Negotiate.
2008-03-01 22:32:03 +00:00
Yang Tse
115446be37
Force AIX xlc to fail and not generate object code if the source code has
...
compiled with errors. This behaviour is needed for autoconf macros which
rely on the ability to compile with or without errors, and is safer than
xlc's default of failing only upon severe errors.
2008-02-29 17:13:39 +00:00
Daniel Stenberg
d83606ee3a
Removed:
...
121 - Kaspar Brand's and Guenter Knauf's work on the TLS extension Server Name
Indication is now committed
122 - Progress callback not called during failed socket connect with the multi
interface, is now simply pending a closure since no feedback has been
received lately.
Added:
123 - Mike Protts' SFTP resume download
124 - Anatoli Tubman's fix for a Negotiate: crash
125 - Michal Marek's typechecker-gcc work
2008-02-28 21:25:00 +00:00
Gunter Knauf
8f4fda1d6f
fixed commented define for SSPI.
2008-02-28 11:34:08 +00:00
Yang Tse
18cbb4d7d6
signal handling to properly cleanup on SIGINT and SIGTERM
2008-02-28 10:15:21 +00:00
Yang Tse
22e84d92b7
when terminating do it falling through cleanup code
2008-02-28 10:13:07 +00:00
Yang Tse
3d74649908
avoid inclusion of setup.h in util.h
2008-02-28 09:38:32 +00:00
Yang Tse
ed63d9d4de
header inclusion cleanup
2008-02-28 00:55:06 +00:00
Yang Tse
8adc7038fe
make comment more precise
2008-02-27 14:54:18 +00:00
Daniel Stenberg
b12fef3f31
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
...
test code. Thanks to his curl_easy_setopt() typechecker work...
2008-02-27 09:06:15 +00:00
Gunter Knauf
6cc8df95dd
added get_ver.awk since c-ares is a standalone project, and should therefore also compile when cURL is absent.
2008-02-27 01:51:40 +00:00
Gunter Knauf
f105e23444
a couple of small fixes to the makefile:
...
fixed comments; fixed INSTDIR define, simplified rules;
changed to use get_ver.awk in current dir rather than the curl one.
2008-02-27 01:43:12 +00:00
Gunter Knauf
7513d29a48
another small change to the makefiles to simplify rules.
2008-02-27 01:36:01 +00:00
Gunter Knauf
97a41f3646
trial to fix the HP-UX breakage...
2008-02-26 23:06:15 +00:00
Gunter Knauf
84de433e62
added curl.html to install package.
2008-02-26 21:42:38 +00:00
Gunter Knauf
724ad15dad
some more minor makefile changes; removed useless dist target.
2008-02-26 21:41:19 +00:00
Gunter Knauf
79aa6c841e
fixed install target to create a ca-bundle.crt since we have no longer one in the project.
2008-02-26 21:24:03 +00:00
Yang Tse
058e764af8
all reads from stdin and writes to stdout will be retried until the
...
whole operation completes or an unrecoverable condition is detected
2008-02-26 18:13:59 +00:00
Yang Tse
0d09f342c4
refactor some code out to write_pidfile() in util.c
2008-02-26 15:06:44 +00:00
Gunter Knauf
9682c2037e
Added support for server name indication (RFC 4366).
...
Patch submitted by Kaspar Brand.
2008-02-26 10:30:13 +00:00
Daniel Stenberg
74241e7d85
- Kaspar Brand made GnuTLS-built libcurl properly acknowledge the option that
...
forces it to prefer SSLv3.
2008-02-25 07:51:39 +00:00
Daniel Stenberg
3154f04fb9
now builds and runs with GnuTLS-built libcurls too
2008-02-23 23:00:24 +00:00
Daniel Stenberg
6982ed4db7
- Sam Listopad provided a patch in feature-request #1900014
...
http://curl.haxx.se/bug/feature.cgi?id=1900014 that makes libcurl (built to
use OpenSSL) support a full chain of certificates in a given PKCS12
certificate.
2008-02-23 12:27:45 +00:00
Daniel Stenberg
9dd3e4d481
- Georg Lippitsch made the src/Makefile.vc6 makefile use the same memory model
...
options as the lib/Makefile.vc6 already did.
2008-02-22 22:53:01 +00:00
Yang Tse
1d95109ffa
Revert sockfilt.c back to revision 1.42
...
Changes introduced in revision 1.43 were useless
2008-02-22 09:31:18 +00:00
Daniel Stenberg
e9bb7b7712
- Zmey Petroff found a crash when libcurl accessed a NULL pointer, which
...
happened if you set the connection cache size to 1 and for example failed to
login to an FTP site. Bug report #1896698
(http://curl.haxx.se/bug/view.cgi?id=1896698 )
2008-02-21 17:52:16 +00:00
Gunter Knauf
5e9c564883
fixed missing header; changed bail out from exit() to return().
...
Mentioned on the list by Michal Marek.
2008-02-21 15:02:14 +00:00
Daniel Stenberg
3bb4602227
assert that the *connp is a non-NULL pointer when Curl_done() is called
2008-02-21 12:28:45 +00:00
Yang Tse
064eebeaf1
Avoid timeout restart when signal caught while awaiting socket and stdin events
2008-02-20 17:17:18 +00:00
Gunter Knauf
4ae644e427
reformatted comment.
2008-02-20 12:36:35 +00:00
Gunter Knauf
d208e56b16
added read callback function in order to prevent crashs on Win32 when linked against DLL:
2008-02-20 12:33:45 +00:00
Daniel Stenberg
e6170eb20d
- Fixed test case 405 to not fail when libcurl is built with GnuTLS
2008-02-20 12:18:08 +00:00
Daniel Stenberg
2c80bcbc81
made the non-matching error code output nicer since we know it is a number
...
and the string contains a newline...
2008-02-20 12:14:31 +00:00
Gunter Knauf
b60dbfa9e9
mention removal of SSLv2 by default.
2008-02-20 11:58:20 +00:00
Daniel Stenberg
9019fc5671
oops, fixed to build
2008-02-20 10:01:28 +00:00
Daniel Stenberg
5db0f70491
"118 - Gautam Kachroo's issue with proxies and ssl" is now in CVS
2008-02-20 09:58:42 +00:00
Daniel Stenberg
53a549000c
- Based on initial work done by Gautam Kachroo to address a bug, we now keep
...
better control at the exact state of the connection's SSL status so that we
know exactly when it has completed the SSL negotiation or not so that there
won't be accidental re-uses of connections that are wrongly believed to be
in SSL-completed-negotiate state.
2008-02-20 09:56:26 +00:00
Daniel Stenberg
55700cb01f
- We no longer support setting the CURLOPT_URL option from inside a callback
...
such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
following. The patch that introduced this feature was done for 7.11.0, but
this code and functionality has been broken since about 7.15.4 (March 2006)
with the introduction of non-blocking OpenSSL "connects".
It was a hack to begin with and since it doesn't work and hasn't worked
correctly for a long time and nobody has even noticed, I consider it a very
suitable subject for plain removal. And so it was done.
2008-02-20 08:28:02 +00:00
Gunter Knauf
f9a6062081
applied patch to disable SSLv2 by default; discussion:
...
http://sourceforge.net/tracker/index.php?func=detail&aid=1767276&group_id=976&atid=350976
Submitted by Kaspar Brand.
2008-02-19 23:10:07 +00:00
Dan Fandrich
0cae201044
Added test309 to test HTTP redirect to HTTPS URL
2008-02-19 21:57:41 +00:00
Yang Tse
9df37b93df
juggle() actually returns bool.
...
Remove redundant and unreachable log message.
2008-02-19 18:51:08 +00:00
Yang Tse
7b5c86033a
fix compiler warnings: 'statement is unreachable'
2008-02-19 17:25:19 +00:00
Gunter Knauf
ade0890746
fix for new codestyle.
2008-02-19 16:23:03 +00:00
Gunter Knauf
7a5596bf02
made changes to work with Win32;
...
replaced fstat() with stat() call and bail out if local file not found.
2008-02-19 16:13:52 +00:00
Yang Tse
d2125cf501
fix compiler warnings: 'enumerated type mixed with another type'
2008-02-19 15:07:50 +00:00
Yang Tse
c9eb41c056
Reduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt listener socket.
...
Log some more error descriptions.
2008-02-18 20:13:30 +00:00
Daniel Stenberg
0d722204c3
https_getsock() should be static all over (and did some fixed indenting)
2008-02-18 19:53:31 +00:00
Daniel Stenberg
e829d5643f
the ca-bundle is now removed
2008-02-18 16:55:27 +00:00
Gunter Knauf
1093287494
added makefile for MingW32 to build most of the samples.
2008-02-18 15:43:23 +00:00
Gunter Knauf
6398f71cc4
moved sample program defines into separate Makefile.inc so that other makefiles can pick up the defines from there.
2008-02-18 15:32:34 +00:00
Gunter Knauf
e2b50b203d
added check symbol for linking with POSIX prelude.
2008-02-18 15:30:11 +00:00
Yang Tse
ab0de23d83
fix compiler warnings:
...
'enumerated type mixed with another type'
and
'variable was set but never used'
2008-02-18 13:05:46 +00:00
Daniel Stenberg
ec54fbd9ed
just mention in --cacert that curl normally has a default ca cert path built-in
2008-02-18 11:40:52 +00:00
Daniel Stenberg
074bd2a19b
the ca-bundle is no longer shipped
2008-02-18 11:39:11 +00:00
Daniel Stenberg
fb23b85770
- We're no longer providing a very old ca-bundle in the curl tarball. You can
...
get a fresh one downloaded and created with 'make ca-bundle' or you can get
one from here => http://curl.haxx.se/docs/caextract.html if you want a fresh
new one extracted from Mozilla's recent list of ca certs.
The configure option --with-ca-bundle now lets you specify what file to use
as default ca bundle for your build. If not specified, the configure script
will check a few known standard places for a global ca cert to use.
2008-02-18 11:35:12 +00:00
Daniel Stenberg
3458ce9ae5
- Jerome Muffat-Meridol helped me fix Curl_done() to close the current
...
connection by force when it was called before the entire request is
completed, simply because we can't know if the connection really can be
re-used safely at that point.
2008-02-17 13:49:58 +00:00
Daniel Stenberg
ba3e7a8656
rephrased comment
2008-02-17 13:49:01 +00:00
Daniel Stenberg
240bae4eb2
In Curl_done() if premature is TRUE, it means this connection was said to be
...
DONE before the entire request operation is complete and thus we can't know in
what state it is for re-using, so we're forced to close it. In a perfect world
we can add code that keep track of if we really must close it here or not, but
currently we have no such detail knowledge.
Jerome Muffat-Meridol helped us work this out.
2008-02-17 13:43:32 +00:00
Daniel Stenberg
4180ca7638
don't do the GOT_NOTHING error check if the DONE function was called with
...
premature set TRUE, which means it was done before the request comleted. It
could then very well not have received any data.
2008-02-17 13:40:35 +00:00
Daniel Stenberg
0e73361a06
added a comment about the ignoring of the Curl_done() return code
2008-02-17 13:38:19 +00:00
Yang Tse
23547fa2a0
sockfilt will quit when orphaned
2008-02-17 04:36:08 +00:00
Daniel Stenberg
550d6f74b9
oops, that was debug code not meant to be committed like this...
2008-02-16 13:44:23 +00:00
Daniel Stenberg
f7b71c2abe
fix warnings about shadowing
2008-02-16 13:41:55 +00:00
Gunter Knauf
0da90b5d91
seems that curently we dont need the imports from (l)ldapx.imp.
2008-02-16 00:44:14 +00:00
Gunter Knauf
f20c94ced9
fixed linker def file for tools when compiled with gcc/nlmconv.
2008-02-16 00:21:58 +00:00
Gunter Knauf
3e635a2334
re-ordered the module dependency list;
...
removed unsused ldap module dependency since the module didnt autounload from protected address space.
2008-02-16 00:15:30 +00:00
Daniel Stenberg
e78652d850
- Made the gnutls code path not even try to get the server cert if no peer
...
verification is requested. Previously it would even return failure if gnutls
failed to get the server cert even though no verification was asked for.
- Fix my Curl_timeleft() leftover mistake in the gnutls code
2008-02-15 22:37:00 +00:00
Daniel Stenberg
48918c3047
mention that we explicitly ignore the return code
2008-02-15 21:38:54 +00:00
Yang Tse
dc42d6fb8d
log SSH public key authentication failure and reason
2008-02-15 17:00:56 +00:00
Daniel Stenberg
d2ad98d8c5
new mirror and mirror recount after cleansing
2008-02-15 09:29:57 +00:00
Daniel Stenberg
d25aab2704
- Pooyan McSporran found and fixed a flaw where you first would do a normal
...
http request and then you'd reuse the handle and replace the Accept: header,
as then libcurl would send two Accept: headers!
2008-02-15 08:56:06 +00:00
Gunter Knauf
cfaf88aab4
fixed version var.
2008-02-15 00:41:54 +00:00
Gunter Knauf
ecc75be6f3
moved info block up before help block so that it can also be displayed before help option; trial to add a version number.
2008-02-15 00:26:26 +00:00
Gunter Knauf
13ebf61850
added some files which were missing in release tarballs.
2008-02-14 21:24:59 +00:00
Daniel Stenberg
b3fafe9b3a
five current issues we should deal with somehow before the next release
2008-02-14 10:14:23 +00:00
Dan Fandrich
c66943bd89
Updated some out-of-date information.
2008-02-13 23:06:21 +00:00
Daniel Stenberg
11fae450fa
make this test disabled properly when built with yassl
2008-02-13 21:36:24 +00:00
Yang Tse
cf9259dd92
verifyserver() actually returns the pid of the unsecure http and ftp servers
...
when verifying the https and ftps servers
2008-02-13 06:06:57 +00:00
Yang Tse
6634e3c3a3
On heavily loaded systems any test server start up can take longer than the
...
timeout passed to startnew, when this happens startnew completes without being
able to read the pidfile and consequently returns a zero pid2.
To fix the above posibility the server pid is recovered from the verification
stage which will actually return the server pid when verification is valid.
2008-02-12 13:47:56 +00:00
Yang Tse
533ae704a1
fix grammatical issues
2008-02-12 01:11:55 +00:00
Daniel Stenberg
fcc320ee40
Yang Tse pointed out a few remaining quirks from my timeout refactoring from
...
Feb 7 that didn't abort properly on timeouts. These are actually old
problems but now they should be fixed.
2008-02-11 22:03:31 +00:00
Yang Tse
dc9fe9c361
shell startup scripts and possible influence in scp/sftp/socks tests
2008-02-11 20:21:06 +00:00
Dan Fandrich
75c369dcca
Disable test due to keyword before disabling due to bad server.
2008-02-11 20:10:36 +00:00
Gunter Knauf
019f6a1926
open pipe to openssl commandline instead of writing into temp file.
2008-02-11 18:52:45 +00:00
Dan Fandrich
44fba11b34
Fixed unused variable warning.
2008-02-11 18:27:36 +00:00
Gunter Knauf
df07c87b89
added strict to make sure all vars are properly defined;
...
added -t switch to make text info of CAs optional;
added -q switch to be really quiet.
2008-02-11 15:00:00 +00:00
Yang Tse
8f9e0357dd
Additional SunSSH 1.1 ssh server options
2008-02-11 14:28:48 +00:00
Yang Tse
736af32b49
Bug report #1888932 ( http://curl.haxx.se/bug/view.cgi?id=1888932 ) points
...
out and provides test program that demonstrates that libcurl might not set
error description message for error CURLE_COULDNT_RESOLVE_HOST for Windows
threaded name resolver builds. Fixed now.
2008-02-10 04:20:09 +00:00
Yang Tse
6942d313ff
Verify only once test harness sftp server connectivity and functionality.
...
Make sure that the sftp client tool uses the ssh client binary that we have
used to generate the configuration files, otherwise sftp might be using one
located in the preferred path compiled into sftp.
2008-02-10 02:52:17 +00:00
Gunter Knauf
940c075bd8
removed 'mv' call and changed to use new backup feature of mk-ca-bundle.pl.
2008-02-10 01:32:43 +00:00
Gunter Knauf
08e5c0812f
added -b switch to provide a backup functionality for existing ca-bundle.crt file.
2008-02-10 01:29:24 +00:00
Gunter Knauf
a8c71961e0
fixed another wrong var in error message.
2008-02-09 15:32:54 +00:00
Gunter Knauf
d6f47cc60c
make use of mv's backup feature so that calling the ca-bundle target more than once will never fail; ignore error which can occure if for whatever reason there's no orignial ca-bundle.crt to rename.
2008-02-09 15:07:35 +00:00
Gunter Knauf
63d595a047
fixed wrong var in error message.
2008-02-09 15:00:07 +00:00
Dan Fandrich
15e56c3284
Fixed some XML parsing problems.
2008-02-09 02:37:31 +00:00
Dan Fandrich
fc1443dcfc
Added key words to all SSL-using tests so they can be skipped if necessary.
...
Removed a few unnecessary requires SSL statements.
2008-02-09 02:08:34 +00:00
Dan Fandrich
59e3651af3
Fixed test to use HTTPS as documented.
2008-02-09 02:01:36 +00:00
Daniel Stenberg
4c841a1f0c
- Mike Hommey filed and fixed bug report #1889856
...
(http://curl.haxx.se/bug/view.cgi?id=1889856 ): When using the gnutls ssl
layer, cleaning-up and reinitializing curl ends up with https requests
failing with "ASN1 parser: Element was not found" errors. Obviously a
regression added in 7.16.3.
2008-02-08 22:02:00 +00:00
Gunter Knauf
339ebdf08b
fixed a typo.
2008-02-08 21:04:24 +00:00
Dan Fandrich
f01d324c83
Missed checking in these test data files.
2008-02-08 18:42:12 +00:00
Yang Tse
405e192b8c
Get rid of sftp subsystem additional parameters, they aren't widely supported
2008-02-08 17:32:58 +00:00
Yang Tse
1a340de0e5
To verify that the sftp server is actually running, responsive and that
...
all curl's tests generated configuration and key files are fine, a real
connection is established to the test harness sftp server authenticating
and running a simple sftp remote pwd command.
The verification is done using OpenSSH's or SunSSH's sftp client tool with
a configuration file with the same options as the test harness socks server
with the exception that dynamic forwarding is not used for sftp.
2008-02-08 13:54:02 +00:00
Daniel Stenberg
05c191199d
and mention make ca-bundle in the 1.11 faq entry as well
2008-02-08 11:20:20 +00:00
Daniel Stenberg
1fd7085ef1
for step 5, mention that we can now generate an own version locally if wanted
...
instead of downloading it from the curl site
2008-02-08 11:18:23 +00:00
Daniel Stenberg
c3a7a757f7
Gnter Knauf added lib/mk-ca-bundle.pl which gets the Firefox ca bundle and
...
creates a suitable ca-bundle.crt file in PEM format for use with curl. The
recommended way to run it is to use 'make ca-bundle' in the build tree root.
2008-02-08 11:16:44 +00:00
Daniel Stenberg
dca46e6470
oops, we make the copyright year ranges the simple style
2008-02-08 11:12:54 +00:00
Daniel Stenberg
7edd13822c
provide the ca-bundle target the same way as the Makefile.dist does it so that
...
it works the same way for configure-based platforms as for non-configure ones
2008-02-08 11:11:59 +00:00
Daniel Stenberg
a2bff51ede
include mk-ca-bundle.pl in the tarballs
2008-02-08 09:56:23 +00:00
Gunter Knauf
5dc1240c49
added ca-bundle target to main makefile;
...
for now this does rename the existing ca-bundle.crt to ca-bundle.crt.old;
maybe we can remove this once we are 100% sure that the new script works properly, and just overwrite the shipping one?
2008-02-08 02:57:27 +00:00
Gunter Knauf
c764331dd9
use argument to specify output filename if present.
2008-02-08 02:38:12 +00:00
Gunter Knauf
586444b6b8
fixed regex to fetch certdata.txt version since it was replaced by CVS (argh!)
...
added a switch to display certdata.txt version header.
2008-02-08 01:58:11 +00:00
Dan Fandrich
ce1649564c
Added tests 1022 and 1023 to validate output of curl-config --version and
...
--vernum
2008-02-08 01:21:03 +00:00
Gunter Knauf
d76a74cc5e
added Perl script to create a fresh ca-bundle.crt.
2008-02-08 01:08:25 +00:00
Daniel Stenberg
1b701c746f
- Refactored a lot of timeout code into a few functions in an attempt to make
...
them all use the same (hopefully correct) logic to make it less error-prone
and easier to introduce library-wide where it should be used.
2008-02-07 22:25:04 +00:00
Daniel Stenberg
15bf168527
ca-bundle.crt documentational updates that more clearly describe the bundle
...
ca-bundle.crt file as outdated and in need for replacement by anyone who wants
to verify modern peers as the one we have is from year 2000!
2008-02-07 15:43:36 +00:00
Yang Tse
20e9fc73e2
Fix problem in strdup replacement when dealing with absolutely huge strings.
2008-02-06 19:01:13 +00:00
Yang Tse
bad6410d08
Don't try to compare more than strlen chars
2008-02-06 17:35:17 +00:00
Yang Tse
fecb67b246
Use a long int data type to handle getpid() result
2008-02-06 16:54:01 +00:00
Yang Tse
2c0956200f
Fix buffer size specification.
...
Improve handling of boundary conditions for huge requests.
2008-02-05 18:37:53 +00:00
Yang Tse
acd9d72466
Minor variable type cleanups.
...
Disable "swsbounce" mode when the received request
isn't for the same test and part number.
2008-02-05 14:43:16 +00:00
Yang Tse
cd63a461d7
proper initialization of httprequest, no longer zeroing out twice
...
the whole 150000+ bytes struct, and also removing an equally big
additional buffer for pipelining treatment.
2008-02-05 02:21:38 +00:00
Gunter Knauf
7bd098f670
fixed entry symbols when linked with posix prelude.
2008-02-04 22:40:59 +00:00
Gunter Knauf
4b5c504bd4
added makefile flag to link with NLM POSIX semantics.
2008-02-04 22:29:52 +00:00
Daniel Stenberg
ffae4f6b48
- Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
...
use of the "is_in_pipeline" struct field.
2008-02-03 12:31:35 +00:00
Daniel Stenberg
454e840590
threaded-ssl.c is a little example that does multi-threaded downloads from
...
HTTPS sites with OpenSSL-enabled libcurl (and pthreads) and thus do the
thread-locking and things openssl-style.
2008-02-03 12:28:48 +00:00
Daniel Stenberg
ed0a413711
it is stable now...
2008-02-03 10:10:00 +00:00
Dan Fandrich
ff812ccdc9
Make mkinstalldirs ignore umask, for consistency with the rest of the
...
install process. Note that mkinstalldirs appears to be used only
in some configurations.
2008-02-01 20:34:27 +00:00
Yang Tse
03bbf4de48
When possible, use additional config options for test harness ssh server,
...
which are deprecated in recent OpenSSH versions but are current for SunSSH.
2008-01-31 16:37:16 +00:00
Daniel Stenberg
a62e155ca4
- Niklas Angebrand made the cookie support in libcurl properly deal with the
...
"HttpOnly" feature introduced by Microsoft and apparently also supported by
Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
is now supported when received from servers in HTTP headers, when written to
cookie jars and when read from existing cookie jars.
2008-01-31 12:21:57 +00:00
Daniel Stenberg
b620e62f0f
- Dmitry Kurochkin moved several struct fields from the connectdata struct to
...
the SingleRequest one to make pipelining better. It is a bit tricky to keep
them in the right place, to keep things related to the actual request or to
the actual connection in the right place.
2008-01-31 12:04:33 +00:00
Daniel Stenberg
b3186dee17
bug 51 may possibly be fixed, and as such it is not a known bug anymore:
...
51.Kevin Reed's reported problem with a proxy when doing CONNECT and it
wants NTLM and close the connection to the initial CONNECT response:
http://curl.haxx.se/bug/view.cgi?id=1879375
2008-01-31 11:36:05 +00:00
Gunter Knauf
ea3f63281c
silent stupid 'del' message when no files to delete found;
...
added curl.res to clean target.
2008-01-29 23:46:41 +00:00
Daniel Stenberg
7b9435890d
add verbose output to test 509 for easier debugging
2008-01-29 23:10:25 +00:00
Daniel Stenberg
1bfbd25027
- Dmitry Kurochkin fixed Curl_done() for pipelining, as it could previously
...
crash!
2008-01-29 12:58:25 +00:00
Daniel Stenberg
ceb5a8ca7b
- Michal Marek fixed minor mistake in test case 553 that prevented it from
...
working on other IP-addresses or port numbers.
2008-01-29 12:31:11 +00:00
Daniel Stenberg
ddc98c6fc9
start over on 7.18.1
2008-01-28 21:19:15 +00:00
Daniel Stenberg
ff6ff66e50
Added peeps from the 7.18.0 release annoucement
2008-01-28 19:25:40 +00:00
Daniel Stenberg
a7b98f5f6b
7.18.0
2008-01-28 17:28:21 +00:00
Daniel Stenberg
6bae091c1b
Add the three currently discussed bugs that won't make it into the 7.18.0
...
release but hopefully they'll all be fixed in 7.18.1...
2008-01-28 16:04:52 +00:00
Daniel Stenberg
33d68653f0
this was modified this year so we bump the copyright year
2008-01-28 11:56:13 +00:00
Daniel Stenberg
267836e83c
updated copyright year in the generated configure
2008-01-28 11:48:41 +00:00
Daniel Stenberg
87fdfe770d
Dmitry Kurochkin: In "real world" testing I found more bugs in
...
pipelining. Broken connection is not restored and we get into infinite
loop. It happens because of wrong is_in_pipeline values.
2008-01-27 22:53:09 +00:00
Yang Tse
8fca5c2e69
Dont rely on PAMAuthenticationViaKbdInt default being 'no'
2008-01-27 02:35:20 +00:00
Daniel Stenberg
5f2055729e
added test 1021 to verify my fix for bug report #1879375
2008-01-26 00:13:38 +00:00
Daniel Stenberg
c6df788866
- Kevin Reed filed bug report #1879375
...
(http://curl.haxx.se/bug/view.cgi?id=1879375 ) which describes how libcurl
got lost in this scenario: proxy tunnel (or HTTPS over proxy), ask to do any
proxy authentication and the proxy replies with an auth (like NTLM) and then
closes the connection after that initial informational response.
libcurl would not properly re-initialize the connection to the proxy and
continue the auth negotiation like supposed. It does now however, as it will
now detect if one or more authentication methods were available and asked
for, and will thus retry the connection and continue from there.
- I made the progress callback get called properly during proxy CONNECT.
2008-01-25 23:33:45 +00:00
Daniel Stenberg
e67b2524d1
using anyauth isn't unconditionally an extra roundtrip
2008-01-25 22:35:06 +00:00
Daniel Stenberg
d7bcc26179
just wanted to mention two uclinux archs I've tried libcurl builds on myself
2008-01-25 22:10:10 +00:00
Yang Tse
69e540dfa6
improve request initialization for test harness HTTP server
2008-01-25 05:08:53 +00:00
Yang Tse
2198869eb1
Dmitry Kurochkin's test harness HTTP server pipelining fix fot test 530
2008-01-25 05:07:04 +00:00
Daniel Stenberg
fb07259e0d
and Igor Franchuk is his name!
2008-01-24 17:17:18 +00:00
Gunter Knauf
9d28a0252c
fixed link to latest native awk.
2008-01-24 15:39:51 +00:00
Gunter Knauf
d54c14ccf9
updated makefiles to use global copyright define.
2008-01-24 15:28:47 +00:00
Gunter Knauf
41def4be6e
updated awk script to fetch copyright from header.
2008-01-24 15:27:06 +00:00
Gunter Knauf
2d38d0d515
minor makefile tweaks.
2008-01-24 15:05:56 +00:00
Gunter Knauf
e796c79d18
happy new year
2008-01-24 14:15:49 +00:00
Gunter Knauf
c93ba48da2
use more correctly named define.
2008-01-24 14:14:34 +00:00
Gunter Knauf
e322513698
use copyright define instead of hardcoded string.
2008-01-24 14:10:59 +00:00
Gunter Knauf
6fa72e6417
added copyright define to curlver.h.
2008-01-24 14:05:56 +00:00
Daniel Stenberg
c914e6ea5d
"Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so
...
did "SESS". Fixed now.
2008-01-23 22:22:12 +00:00
Daniel Stenberg
79cb74f03a
Dmitry Kurochkin's pipelining close-down segfault fix
2008-01-23 12:22:04 +00:00
Yang Tse
34cf35051a
update openssl version
2008-01-23 07:27:40 +00:00
Yang Tse
9bd28a021f
STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO clone macros
2008-01-23 06:11:11 +00:00
Gunter Knauf
5ee3f41e0d
happy new year
2008-01-23 02:12:13 +00:00
Gunter Knauf
64e88ff6a7
removed inclusion of libcurl memory debug headers since this lib stub is a well proofed method suggested by Novell. This enables usage of the stub with language bindings.
2008-01-23 02:10:40 +00:00
Yang Tse
acd7c94598
when unable to initialize sftp session, also log failure reason
2008-01-22 17:26:42 +00:00
Yang Tse
bdb2beb8e4
check availability of poll.h header at configuration time, and include
...
it when sys/poll.h is unavailable
2008-01-22 14:52:54 +00:00
Yang Tse
727e23322f
update copyright year
2008-01-22 03:48:16 +00:00
Daniel Stenberg
ef0ed9b720
Dmitry Kurochkin removed the cancelled state for pipelining, as we agreed
...
that it is bad anyway. Starting now, removing a handle that is in used in a
pipeline will break the pipeline - it'll be set back up again but still...
2008-01-21 23:48:58 +00:00
Yang Tse
a674654f83
Disable ldap support for cygwin builds, since it breaks whole build process.
2008-01-21 20:22:33 +00:00
Yang Tse
3caeb0a91f
undo using internal *printf() clones for test #530
2008-01-21 05:35:08 +00:00
Yang Tse
a4eddf0d0d
use internal *printf() clones since snprintf() not available on all platforms
2008-01-20 22:53:56 +00:00
Daniel Stenberg
fcf9029179
Judson provided an example, and the added mirror adds the count
2008-01-20 11:29:30 +00:00
Daniel Stenberg
e40327ba00
This is a multi threaded application that uses a progress bar to show
...
status. It uses Gtk+ to make a smooth pulse. Written by Jud Bishop
2008-01-20 11:12:11 +00:00
Daniel Stenberg
bdd0e3d3f5
http://curl.very-clever.com/ is a new mirror in Nuremberg, Germany
2008-01-20 11:07:43 +00:00
Yang Tse
e9490fdbd9
Also disable GSSAPIAuthentication for the test harness ssh client
2008-01-20 04:05:25 +00:00
Daniel Stenberg
bd40b3ff3f
added a (sample) target for 64bit msvc builds
2008-01-19 11:33:06 +00:00
Daniel Stenberg
8c66811e09
rephrased the --socks5-hostname help output somewhat
2008-01-19 10:30:15 +00:00
Daniel Stenberg
daadcfd1de
Dmitry Kurochkin fixed test case 530 (pipelining)
2008-01-19 10:14:45 +00:00
Daniel Stenberg
62df0ff025
Lau Hang Kin found and fixed a problem with the multi interface when doing
...
CONNECT over a proxy. curl_multi_fdset() didn't report back the socket
properly during that state, due to a missing case in the switch in the
multi_getsock() function.
2008-01-18 21:51:10 +00:00
Yang Tse
01d95b56a0
fix failure to properly detect SSH and SOCKS servers start up on loaded systems
2008-01-18 09:18:59 +00:00
Yang Tse
f6adae8d35
to actually allow really big HTTP POSTs curl's postfieldsize type is changed to
...
curl_off_t and CURLOPT_POSTFIELDSIZE_LARGE is used to pass value to libcurl
2008-01-18 05:58:00 +00:00
Daniel Stenberg
bcaadb4284
curl-java 0.2.1
2008-01-17 22:43:29 +00:00
Daniel Stenberg
8d963aa0e2
the java binding is not really maintained
2008-01-17 21:46:21 +00:00
Yang Tse
0530b0a5ca
Don't abort tests 518 and 537 when unable to raise the open-file soft limit
2008-01-17 18:57:50 +00:00
Yang Tse
5396121595
fix compiler warning
2008-01-17 18:03:07 +00:00
Dan Fandrich
bcfc7d90d1
Put the comments in an XML-valid location.
2008-01-17 04:10:28 +00:00
Gunter Knauf
47246eb401
updated lib versions.
2008-01-17 01:25:46 +00:00
Gunter Knauf
3620e71010
updated copyright for new year.
2008-01-17 01:20:03 +00:00
Daniel Stenberg
c522f349fe
Added test 553. This test case and code is based on the bug recipe Joe Malicki
...
provided for bug report #1871269 , fixed on Jan 14 2008 before the 7.18.0
release.
2008-01-16 22:54:54 +00:00
Daniel Stenberg
6893fcaa9b
remove trailing comma too, even though I don't think it does any harm
2008-01-16 22:09:51 +00:00
Daniel Stenberg
301ae1ae1b
Nathan Coulter's patch that makes runtests.pl respect the PATH when figuring
...
out what valgrind to run.
2008-01-16 22:08:37 +00:00
Daniel Stenberg
ddaa78f08b
Dmitry Kurochkin's additional pipelining bugfix
2008-01-16 21:33:52 +00:00
Yang Tse
3d55877764
fix handling of out of memory in the command line tool that afected
...
data url encoded HTTP POSTs when reading it from a file.
2008-01-16 21:01:30 +00:00
Patrick Monnerat
3ee32d7920
OS/400 update:
...
New declarations in curl.h reported to curl.inc.in.
Copyrights extended to 2008.
SONAME handling introduced in build scripts.
2008-01-16 16:04:47 +00:00
Daniel Stenberg
b3de497d83
Dmitry Kurochkin worked a lot on improving the HTTP Pipelining support that
...
previously had a number of flaws, perhaps most notably when an application
fired up N transfers at once as then they wouldn't pipeline at all that
nicely as anyone would think... Test case 530 was also updated to take the
improved functionality into account.
2008-01-16 12:24:00 +00:00
Daniel Stenberg
ed6466d176
Calls to Curl_failf() are not supposed to provide a trailing newline as the
...
function itself adds that. Fixed on 50 or something strings!
2008-01-15 23:19:02 +00:00
Daniel Stenberg
991505e077
Woops, partly revert my previous commit and do it slightly differently instead.
...
The signalling of that a global DNS cache is wanted is done by setting the
option but the setting of the internal variable that it is in use must not be
done until it finally actually gets used!
NOTE and WARNING: I noticed that you can't actually switch off the global dns
cache with CURLOPT_DNS_USE_GLOBAL_CACHE but you couldn't do that previously
either and the option is very clearly and loudly documented as DO NOTE USE so
I won't bother to fix this bug now.
2008-01-15 22:44:12 +00:00
Daniel Stenberg
56f17d2c9f
I made the torture test on test 530 go through. This was actually due to
...
silly code left from when we switched to let the multi handle "hold" the dns
cache when using the multi interface... Of course this only triggered when a
certain function call returned error at the correct moment.
2008-01-15 22:15:55 +00:00
Daniel Stenberg
19ae96f4d0
Michal Marek's improved .curlrc syntax description
2008-01-15 08:45:22 +00:00
Daniel Stenberg
53108806af
Joe Malicki filed bug report #1871269
...
(http://curl.haxx.se/bug/view.cgi?id=1871269 ) and we could fix his hang-
problem that occurred when doing a large HTTP POST request with the
response-body read from a callback.
2008-01-14 22:02:14 +00:00
Yang Tse
1d620a3df4
fix compiler warning
2008-01-14 19:40:10 +00:00
Yang Tse
69f685056d
startnew() shouldn't return a positive pid as reported in the pidfile
...
by the spawned server itself unless it is actually alive
2008-01-14 19:28:54 +00:00
Daniel Stenberg
9c7d4394f9
5.3 support FF3 sqlite cookie files
2008-01-14 17:49:06 +00:00
Gisle Vanem
bcc3c9279a
Trying GnuTLS and OpenSSL together fails to compile in not so
...
obvious ways. Give an explicit error.
2008-01-14 16:51:32 +00:00
Yang Tse
5d63404966
#115 is done
2008-01-14 01:53:17 +00:00
Yang Tse
a8ae8087c4
fix compiler warning
2008-01-13 04:39:32 +00:00
Yang Tse
502da27d65
add client features part
2008-01-13 03:27:14 +00:00
Daniel Stenberg
4ab8ebb232
I re-arranged the curl --help output. All the options are now sorted on
...
their long option names and all descriptions are one-liners.
2008-01-12 22:56:12 +00:00
Daniel Stenberg
f866af912d
Eric Landes provided the patch (edited by me) that introduces the
...
--keepalive-time to curl to set the keepalive probe interval. I also took
the opportunity to rename the recently added no-keep-alive option to
no-keepalive to keep a consistent naming and to avoid getting two dashes in
these option names. Eric also provided an update to the man page for the new
option.
2008-01-12 22:10:53 +00:00
Daniel Stenberg
4f00a8db73
added release dates for four very old releases
2008-01-12 10:31:07 +00:00
Yang Tse
5004529685
Remove hardcoded verbosity
2008-01-12 04:32:03 +00:00
Yang Tse
2b63eb8511
Ooops
2008-01-12 00:12:16 +00:00
Yang Tse
f09fe4b49f
Ooops
2008-01-11 21:59:05 +00:00
Daniel Stenberg
22c76df44d
new year
2008-01-11 21:23:57 +00:00
Yang Tse
35be09cf58
When verifying that test harness's SSH and SOCKS servers have been
...
started check also that the process is actually alive, since they
could have died once the pidfile was written out
2008-01-11 20:17:33 +00:00
Yang Tse
3564aec388
fix compiler warning
2008-01-11 17:35:10 +00:00
Yang Tse
a042090467
fix compiler warning
2008-01-11 16:49:35 +00:00
Daniel Stenberg
148d727525
"114 - Ranged downloads on file:// URLs" done
2008-01-11 15:21:21 +00:00
Daniel Stenberg
08adf67969
Daniel Egger made CURLOPT_RANGE work on file:// URLs the very same way it
...
already worked for FTP:// URLs
2008-01-11 14:20:41 +00:00
Daniel Stenberg
e2c817731a
I made the curl tool switch from using CURLOPT_IOCTLFUNCTION to now use the
...
spanking new CURLOPT_SEEKFUNCTION simply to take advantage of the improved
performance for the upload resume cases where you want to upload the last
few bytes of a very large file. To implement this decently, I had to switch
the client code for uploading from fopen()/fread() to plain open()/read() so
that we can use lseek() to do >32bit seeks (as fseek() doesn't allow that)
on systems that offer support for that.
2008-01-11 14:00:47 +00:00
Daniel Stenberg
8df7e0bdba
Michal Marek made curl-config --libs not include /usr/lib64 in the output
...
(it already before skipped /usr/lib). /usr/lib64 is the default library
directory on many 64bit systems and it's unlikely that anyone would use the
path privately on systems where it's not.
2008-01-10 22:14:02 +00:00
Yang Tse
14ff7e75e0
Temporary change to help debugging SSH server verification failures
2008-01-10 16:19:14 +00:00
Daniel Stenberg
d270d6518a
Two more items done:
...
109 - curl_easy_pause
110 - seekfunction
2008-01-10 10:31:01 +00:00
Daniel Stenberg
18faa50940
Georg Lippitsch brought CURLOPT_SEEKFUNCTION and CURLOPT_SEEKDATA to allow
...
libcurl to seek in a given input stream. This is particularly important when
doing upload resumes when there's already a huge part of the file present
remotely. Before, and still if this callback isn't used, libcurl will read
and through away the entire file up to the point to where the resuming
begins (which of course can be a slow opereration depending on file size,
I/O bandwidth and more). This new function will also be preferred to get
used instead of the CURLOPT_IOCTLFUNCTION for seeking back in a stream when
doing multi-stage HTTP auth with POST/PUT.
2008-01-10 10:30:19 +00:00
Daniel Stenberg
0ce484eed9
Nikitinskit Dmitriy filed bug report #1868255
...
(http://curl.haxx.se/bug/view.cgi?id=1868255 ) with a patch. It identifies
and fixes a problem with parsing WWW-Authenticate: headers with additional
spaces in the line that the parser wasn't written to deal with.
2008-01-10 09:17:07 +00:00
Daniel Stenberg
bce5ae9a07
corrected comment
2008-01-10 09:16:21 +00:00
Yang Tse
15f832d1c2
fix compiler warning
2008-01-09 19:11:56 +00:00
Yang Tse
c249a8aa1b
Fix file Id
2008-01-09 01:11:59 +00:00
Yang Tse
fc794ae012
Add /usr/freeware/sbin and /usr/freeware/libexec to the ssh binaries
...
locations search list.
2008-01-09 00:58:48 +00:00
Daniel Stenberg
07227e8089
added the --retry problems mention on the curl-library list today
2008-01-08 22:15:19 +00:00
Yang Tse
32cc75d6cb
Partially cleanup debugging messages in test harness, introduced for
...
new minimum SSH version support for SCP, SFTP and SOCKS tests.
Some verbosity which still remains, will go out before next release.
2008-01-08 20:12:43 +00:00
Yang Tse
1c0a19ad53
Remove increased loglevel intended to debug autobuild's publickey
...
authentication failures when using OpenSSH 2.9.9 or SunSSH.
Verified fact: Even when only using publickey authentication,
OpenSSH and SunSSH first validate the user, this implies that
if the user validation fails, 'invalid user', the publickey
authentication will not be allowed to complete.
2008-01-08 19:18:25 +00:00
Daniel Stenberg
de23b98522
Introducing curl_easy_pause() and new magic return codes for both the read
...
and the write callbacks that now can make a connection's reading and/or
writing get paused.
2008-01-08 14:52:05 +00:00
Daniel Stenberg
5e1c9e90d9
removed 113, both bugs #1850730 and #1854175 are fixed in CVS
2008-01-08 11:11:20 +00:00
Yang Tse
59b4bdf78d
Change typecast due to http://cool.haxx.se/cvs.cgi/curl/include/curl/curl.h.diff?r1=1.336&r2=1.337
2008-01-08 01:05:50 +00:00
Yang Tse
34d02d1969
Increase loglevel to debug autobuild's publickey authentication
...
failures when using OpenSSH 2.9.9 or SunSSH
2008-01-08 00:40:02 +00:00
Yang Tse
2408b236ca
Display ssh server log and configuration upon socks server failure
2008-01-08 00:39:31 +00:00
Dan Fandrich
4acd437952
Fixed test description
2008-01-07 19:54:40 +00:00
Patrick Monnerat
314f62958d
ILE RPG support update (from include/curl/curl.h)
2008-01-07 16:32:49 +00:00
Daniel Stenberg
c616d56e96
updated URLs and moved down two issues to the new "less likely" section
2008-01-06 23:22:06 +00:00
Daniel Stenberg
f111c9edae
more SOCKS5_HOSTNAME adjustments from Richard Atterer
2008-01-06 21:41:38 +00:00
Daniel Stenberg
7138296633
make sure we deal with SOCKS5_HOSTNAME as a proxy type as well
2008-01-06 12:56:34 +00:00
Daniel Stenberg
195e94c0fa
Richard Atterer reverted back what I missed in my previous revert ;-)
2008-01-06 12:56:19 +00:00
Daniel Stenberg
cadd08f36a
make sure CURLPROXY_SOCKS5_HOSTNAME is taken care of as well
2008-01-06 12:54:16 +00:00
Daniel Stenberg
7306b7829b
fixed: 116 - bug #1863171 , curl_getdate() bug
...
added: 117 - Eric Landes patch for introducing the --tcp-keep* options
2008-01-06 11:10:35 +00:00
Daniel Stenberg
423309541a
Jeff Johnson filed bug report #1863171
...
(http://curl.haxx.se/bug/view.cgi?id=1863171 ) where he pointed out that
libcurl's date parser didn't accept a +1300 time zone which actually is used
fairly often (like New Zealand's Dailight Savings Time), so I modified the
parser to now accept up to and including -1400 to +1400.
2008-01-06 10:50:57 +00:00
Yang Tse
9c6533d287
Increase MaxAuthTries from 0 to 10. Using a value of 0 is too restrictive
2008-01-06 02:02:55 +00:00
Daniel Stenberg
b430576436
Based on further discussion on curl-library, I reverted yesterday's SOCKS5
...
code to instead introduce support for a new proxy type called
CURLPROXY_SOCKS5_HOSTNAME that is used to send the host name to the proxy
instead of IP address and there's thus no longer any need for a new
curl_easy_setopt() option.
The default SOCKS5 proxy is again back to sending the IP address to the
proxy. The new curl command line option for enabling sending host name to a
SOCKS5 proxy is now --socks5-hostname.
2008-01-05 22:04:18 +00:00
Daniel Stenberg
65008a4e55
Added Daniel Egger and extended the --no-keep-alive description
2008-01-05 21:04:18 +00:00
Daniel Stenberg
3df484088f
added keyword
2008-01-05 12:15:41 +00:00
Yang Tse
2912189875
Don't abort operation when attempting to set SO_KEEPALIVE
...
fails, just issue a warning and ignore the failure.
2008-01-05 01:39:07 +00:00
Dan Fandrich
fcb2595ed6
"yes" must be in quotes to be XML compatible
2008-01-04 23:57:39 +00:00
Daniel Stenberg
0878af3ec0
111 - DNS resolve over socks5 is done
...
added 116 - bug #1863171 , curl_getdate() bug
2008-01-04 23:55:22 +00:00
Daniel Stenberg
fe0d7aee49
Daniel Egger provided 'nonewline=yes' support for the <stdout> section
2008-01-04 23:31:04 +00:00
Daniel Stenberg
2e42b0a252
Based on Maxim Perenesenko's patch, we now do SOCKS5 operations and let the
...
proxy do the host name resolving and only if --socks5ip (or
CURLOPT_SOCKS5_RESOLVE_LOCAL) is used we resolve the host name locally and
pass on the IP address only to the proxy.
2008-01-04 23:01:00 +00:00
Daniel Stenberg
fcc485092a
14.3 extend CURLOPT_SOCKOPTFUNCTION prototype
...
(for next SONAME bump)
2008-01-04 22:16:16 +00:00
Yang Tse
a4945fe687
Missing newline at end of message
2008-01-04 19:56:56 +00:00
Yang Tse
88d89b2177
Fix 'format string' compiler warning
2008-01-04 15:39:06 +00:00
Yang Tse
61a2d5ea75
'ControlPath' ssh client configuration file option requires OpenSSH 4.2 or
...
later to accept 'none' as an indication to disable connection multiplexing
2008-01-04 14:12:10 +00:00
Yang Tse
c479c64333
SunSSH 1.1 ssh client does not support config file options:
...
ConnectTimeout
ForwardX11Trusted
HashKnownHosts
RekeyLimit
ServerAliveCountMax
ServerAliveInterval
2008-01-04 13:24:17 +00:00
Yang Tse
7a2177dc42
- Display curl_ssh_config when socks server fails to start.
...
- Capability of running socks5 tests must be based on ssh daemon version
and not on ssh client version.
2008-01-04 13:00:40 +00:00
Yang Tse
bf6e2f28ba
Make sure @INC is modified before 'using' the sshhelp module.
2008-01-04 03:05:33 +00:00
Yang Tse
f5da1e5484
'LocalCommand' no longer used for ssh client config file. When used it
...
requires a non blank argument.
2008-01-04 03:04:30 +00:00
Yang Tse
fd8d862c37
Modify test harness so that the minimum SSH version required to run
...
SCP, SFTP and SOCKS4 tests is now OpenSSH 2.9.9 or SunSSH 1.0
For SOCKS5 tests minimum versions are OpenSSH 3.7 or SunSSH 1.0
2008-01-03 20:48:22 +00:00
Gisle Vanem
083d3190e5
'false' and 'true' are not built-ins on most compilers.
...
Use TRUE/FALSE from setup_once.h.
2008-01-03 15:18:27 +00:00
Daniel Stenberg
6787d1ed35
one gone, one added
2008-01-02 22:46:15 +00:00
Daniel Stenberg
d9023c16ab
- I fixed two cases of missing return code checks when handling chunked
...
decoding where a write error (or abort return from a callback) didn't stop
libcurl's processing.
2008-01-02 22:30:34 +00:00
Daniel Stenberg
193d33fd4a
I removed the socklen_t use from the public curl/curl.h header and instead
...
made it an unsigned int. The type was only used in the curl_sockaddr struct
definition (only used by the curl_opensocket_callback). On all platforms I
could find information about, socklen_t is 32 unsigned bits large so I don't
think this will break the API or ABI. The main reason for this change is of
course for all the platforms that don't have a socklen_t definition in their
headers to build fine again. Providing our own configure magic and custom
definition of socklen_t on those systems proved to work but was a lot of
cruft, code and extra magic needed - when this very small change of type seems
harmless and still solves the missing socklen_t problem.
2008-01-02 22:23:27 +00:00
Daniel Stenberg
a46b40b7fd
Richard Atterer brought a patch that added support for SOCKS4a proxies, which
...
is an inofficial PROXY4 variant that sends the hostname to the proxy instead
of the resolved address (which is already supported by SOCKS5). --socks4a is
the curl command line option for it and CURLOPT_PROXYTYPE can now be set to
CURLPROXY_SOCKS4A as well.
2008-01-02 21:40:11 +00:00
Daniel Stenberg
0b9b8acb08
updated
2008-01-02 21:39:46 +00:00
Gisle Vanem
bf98b635cd
Added '-d' option for Watt-32 debugging.
2008-01-02 05:30:52 +00:00
Daniel Stenberg
7795eb6db8
Mohun Biswas pointed out that --libcurl generated a source code with an int
...
function but without a return statement. While fixing that, I also took care
about adding some better comments for the generated code.
2008-01-01 21:11:26 +00:00
Daniel Stenberg
31674559d3
--libcurl was added in 7.16.1, a useful information
2007-12-27 21:44:21 +00:00
Daniel Stenberg
04e4d9a0b3
Dmitry Kurochkin mentioned a flaw
...
(http://curl.haxx.se/mail/lib-2007-12/0252.html ) in detect_proxy() which
failed to set the bits.proxy variable properly when an environment variable
told libcurl to use a http proxy.
2007-12-26 23:29:35 +00:00
Daniel Stenberg
f277124a0f
In an attempt to repeat the problem in bug report #1850730
...
(http://curl.haxx.se/bug/view.cgi?id=1850730 ) I wrote up test case 552. The
test is doing a 70K POST with a read callback and an ioctl callback over a
proxy requiring Digest auth. The test case code is more or less identical to
the test recipe code provided by Spacen Jasset (who submitted the bug report).
2007-12-26 21:48:52 +00:00
Daniel Stenberg
6adf5880f5
what we're having atm
2007-12-26 21:46:51 +00:00
Gunter Knauf
4e8c4fc80b
added missing semicolon fromn last commit.
2007-12-25 13:26:01 +00:00
Daniel Stenberg
fc1d1ea934
Gary Maxwell filed bug report #1856628
...
(http://curl.haxx.se/bug/view.cgi?id=1856628 ) and provided a fix for the
(small) memory leak in the SSL session ID caching code. It happened when a
previous entry in the cache was re-used.
2007-12-24 23:45:48 +00:00
Dan Fandrich
9cd30c2012
Use getcwd() to get the directory, which works even if one of the directory
...
components doesn't have read permission set.
2007-12-22 18:25:43 +00:00
Dan Fandrich
d639ed1aaf
Use getcwd() to get the directory, which works even if one of the
...
directory components doesn't have read permission set.
2007-12-20 21:21:43 +00:00
Dan Fandrich
c3a02f5407
Ensure that nroff doesn't put anything but ASCII characters into the
...
--manual text.
2007-12-19 21:19:01 +00:00
Yang Tse
674845f239
( http://curl.haxx.se/mail/archive-2007-12/0039.html ) reported and fixed
...
a file truncation problem on Windows build targets triggered when retrying
a download with curl.
2007-12-18 18:33:24 +00:00
Yang Tse
07a1857d59
MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP,
...
and makes wrong asumptions of build target when it isn't specified. So,
if no build target has been defined we will target WinXP when building
with MSVC 9.0 (VS2008).
2007-12-18 18:08:19 +00:00
Yang Tse
f4ffa85f60
pollfd struct and WSA_poll fixes for Windows Vista already present in CVS
2007-12-18 10:36:32 +00:00
Daniel Stenberg
bcd7d03b3b
Mateusz Loskot pointed out that VC++ 9.0 (2008) has the pollfd struct and
...
defines in the SDK somehow differently so we have to add a define to the
config-win32.h file to make select.h compile nicely.
2007-12-17 21:19:42 +00:00
Daniel Stenberg
82c9379b6c
spell!
2007-12-15 22:19:08 +00:00
Daniel Stenberg
c1730dc50a
Add test 551 that tests callback-post over a proxy that requires Digest auth.
...
A failed attempt to repeat bug report #1850730 (ie the test works fine).
2007-12-15 22:13:07 +00:00
Daniel Stenberg
20695098c8
remove mistaken "-d" from here
2007-12-14 22:09:15 +00:00
Daniel Stenberg
ee52ae001c
-u addition: If you just give the user name (without entering a colon) curl
...
will prompt for a password. Denis Bredelet pointed out!
2007-12-14 11:19:56 +00:00
Dan Fandrich
26115aac5d
Added missing <features>
2007-12-14 01:09:45 +00:00
Dan Fandrich
ca6b27aed2
Fixed typo in test title
2007-12-14 01:05:30 +00:00
Yang Tse
4fabe22173
Fix compiler warning
2007-12-13 14:39:51 +00:00
Daniel Stenberg
7b1a22147e
David Wright filed bug report #1849764
...
(http://curl.haxx.se/bug/view.cgi?id=1849764 ) with an included fix. He
identified a problem for re-used connections that previously had sent
Expect: 100-continue and in some situations the subsequent POST (that didn't
use Expect:) still had the internal flag set for its use. David's fix (that
makes the setting of the flag in every single request unconditionally) is
fine and is now used!
2007-12-13 10:00:06 +00:00
Daniel Stenberg
dc24540ed1
Gilles Blanc made the curl tool enable SO_KEEPALIVE for the connections and
...
added the --no-keep-alive option that can disable that on demand.
2007-12-12 11:22:15 +00:00
Daniel Stenberg
92eae30f4d
clarify that the CURLMOPT_TIMERFUNCTION callback can pass in 0 and -1 as legal
...
values and what they mean
2007-12-11 21:19:38 +00:00
Daniel Stenberg
79ef08f631
build acountry too
2007-12-11 19:34:31 +00:00
Gisle Vanem
e3c5f8374b
Added acountry.c.
2007-12-11 17:26:07 +00:00
Gisle Vanem
6dc68b4193
Added build of acountry.nlm.
2007-12-11 17:24:43 +00:00
Gisle Vanem
afab4d888f
Added build of acountry.exe.
2007-12-11 17:23:18 +00:00
Gisle Vanem
c751dfd65d
Build acountry.exe. Added 'socklen_t' define.
2007-12-11 17:22:20 +00:00
Gisle Vanem
dbca1347f1
Another sample application that returns country-code and
...
name from an IPv4-address or host-name. Using the service of
countries.nerd.dk.
2007-12-11 17:21:12 +00:00
Daniel Stenberg
3b6315ce1f
grrr, the previous commit was meant to properly make sure that we don't
...
link any executables when doing debug builds since they kind of assume
symbols provided by libcurl, but it also wrongly included acountry.c
2007-12-10 22:20:26 +00:00
Daniel Stenberg
3c1db5f250
when building
2007-12-10 22:19:06 +00:00
Daniel Stenberg
562e9b7bf3
build ahost and adig by default but don't install them
2007-12-10 21:42:04 +00:00
Patrick Monnerat
a83e72692f
Define new options in OS400 RPG interface
...
Port OS400 compilation scripts to >= V5R2M0
2007-12-10 17:09:09 +00:00
Gisle Vanem
bd99a7dc8c
Fix for targets that do have 'struct in6_addr', but which doesn't
...
define 's6_addr' as a macro.
2007-12-10 16:14:02 +00:00
Daniel Stenberg
db2d52a792
cut out the number of contributors from this file since it'll always be wrong
2007-12-10 11:33:46 +00:00
Daniel Stenberg
24602edc17
5.13 How do I stop an ongoing transfer?
2007-12-10 10:28:56 +00:00
Daniel Stenberg
b0b40d9a00
Andrew Moise filed bug report #1847501
...
(http://curl.haxx.se/bug/view.cgi?id=1847501 ) and pointed out a memcpy()
that should be memmove() in the convert_lineends() function.
2007-12-09 22:31:53 +00:00
Daniel Stenberg
71b105ceb1
add in toc too
2007-12-09 12:26:05 +00:00
Daniel Stenberg
ccb4956145
RTMP support?
2007-12-09 12:22:22 +00:00
Daniel Stenberg
3d09cb0a88
oops another bad numbering
2007-12-09 12:20:06 +00:00
Daniel Stenberg
a03c2d825b
oops duplicate numbering
2007-12-09 12:12:52 +00:00
Daniel Stenberg
06fb242e23
slightly rephrased
2007-12-09 12:00:54 +00:00
Gisle Vanem
a086952244
Removed use of '..\lib\libcurl_wc.lib' as this is not really
...
a static-lib. Renamed 'OBJ_DIR' to 'WC_Win32.obj'.
2007-12-09 09:58:56 +00:00
Gisle Vanem
2b314064ae
Removed building 'libcurl_wc.lib' as this isn't a static-library
...
in the common sense. Renamed 'OBJ_DIR' to 'WC_Win32.obj'.
2007-12-09 09:44:05 +00:00
Daniel Stenberg
439990be88
Travelling some 500km by train back and forth on the same day gives you time
...
to do things you don't otherwise do, but here's the summary of today's work...
2007-12-08 23:01:46 +00:00
Daniel Stenberg
41d8186c7e
reformat to FAQ/CONTRIBUTE style, for nicer web-look when I apply the magic
...
script(s) on it online
2007-12-08 23:00:00 +00:00
Daniel Stenberg
6e9276229f
cleanup
2007-12-08 22:58:12 +00:00
Daniel Stenberg
636f5eb882
fix a crash in oom situations (thanks runtests.pl -t!)
2007-12-08 22:57:17 +00:00
Daniel Stenberg
963ef5414c
add keywords
2007-12-08 22:56:17 +00:00
Daniel Stenberg
975812d246
add missing files
2007-12-08 22:56:05 +00:00
Daniel Stenberg
089668ec73
correct the comment about size
2007-12-08 22:53:49 +00:00
Daniel Stenberg
cc0ce38acc
add test 549 and 550
2007-12-08 22:53:28 +00:00
Daniel Stenberg
8cdff55b80
mention how to enable chunked encoding for POSTs
2007-12-08 22:52:39 +00:00
Daniel Stenberg
662bee7193
All static functions that were previously name Curl_* something no longer
...
use that prefix as we use that prefix only for library-wide internal global
symbols.
2007-12-08 22:50:55 +00:00
Daniel Stenberg
f8172f85b1
clarify that when curl_multi_timeout() returns -1 it just means that there
...
is no current timeout. It does not mean wait forever and it does not mean
do not wait at all. It means there is no timeout value known at this point in
time.
2007-12-06 22:36:52 +00:00
Daniel Stenberg
7d3ea12b62
Spacen Jasset reported a problem with doing POST (with data read with a
...
callback) over a proxy when NTLM is used as auth with the proxy. The bug
also concerned Digest and was limited to using callback only. Spacen worked
with us to provide a useful patch. I added the test case 547 and 548 to
verify two variations of POST over proxy with NTLM.
2007-12-05 21:20:14 +00:00
Daniel Stenberg
59dc9085d1
fix compiler warning
2007-12-05 11:10:24 +00:00
Daniel Stenberg
4e4f33a297
added test548 which uses the lib547 source file, preparing for test547 which
...
is supposed to repeat the bug report "NTLM proxy authentication with
CURLOPT_READDATA seems broken." posted on the curl-library mailing list on dec
3 2007.
2007-12-05 11:08:56 +00:00
Yang Tse
8fa599215b
Fix compiler warning: variable may be used uninitialized
2007-12-04 00:15:03 +00:00
Daniel Stenberg
31e2409d6b
Ray Pekowski filed bug report #1842029
2007-12-03 22:44:47 +00:00
Yang Tse
15c304225f
Fix three issues previous cleanup introduces.
2007-12-03 19:57:18 +00:00
Daniel Stenberg
e1998e3b58
SSL session id caching bugfix
2007-12-03 11:49:20 +00:00
Daniel Stenberg
5c447f2499
Bug report #1842029 ( http://curl.haxx.se/bug/view.cgi?id=1842029 ) identified
...
a problem with SSL session caching that prevent it from working, and the
associated fix!
2007-12-03 11:48:09 +00:00
Daniel Stenberg
9d0ffb9cc6
mention "no longer default-appends ;type= on FTP URLs thru proxies" as a bug
...
fix even if kind of implied by the new option
2007-12-03 11:41:36 +00:00
Daniel Stenberg
2be50baf97
Now libcurl (built with OpenSSL) doesn't return error anymore if the remote
...
SSL-based server doesn't present a certificate when the request is told to
ignore certificate verification anyway.
2007-12-03 11:39:27 +00:00
Daniel Stenberg
a1772ca406
Erik Kline cleaned up ares_gethostbyaddr.c:next_lookup() somewhat
2007-12-03 10:25:05 +00:00
Daniel Stenberg
30eda92a53
Brad Spencer fixed the configure script to assume that there's no
...
/dev/urandom when built cross-compiled as then the script cannot check for
it.
2007-12-03 10:22:29 +00:00
Daniel Stenberg
1f058f1014
removed the ;type= thing for FTP urls through proxy, since that's now only
...
present when enabled by on option which isn't done by default (and isn't even
available for the curl app atm)
2007-12-03 09:50:32 +00:00
Daniel Stenberg
84d0477cb9
107 - resolve the type= thing for FTP URLs over HTTP proxies, is solved
2007-12-02 23:39:39 +00:00
Daniel Stenberg
1c93e75375
Michal Marek introduced CURLOPT_PROXY_TRANSFER_MODE which is used to control
...
the appending of the "type=" thing on FTP URLs when they are passed to a
HTTP proxy. Some proxies just don't like that appending (which is done
unconditionally in 7.17.1), and some proxies treat binary/ascii transfers
better with the appending done!
2007-12-02 23:38:23 +00:00
Dan Fandrich
380ed8bebf
Upped copyright year
2007-11-30 02:31:07 +00:00
Daniel Stenberg
98e8978857
uh, corrected pretty major write error!
2007-11-29 22:27:51 +00:00
Daniel Stenberg
56ddfbea6e
ftp resumed upload and long Digest nonces
2007-11-29 22:15:22 +00:00
Daniel Stenberg
45a2240ead
A bug report on the curl-library list showed a HTTP Digest session going on
...
with a 700+ letter nonce. Previously libcurl only support 127 letter ones
and now I bumped it to 1023.
2007-11-29 22:14:48 +00:00
Daniel Stenberg
f75ba55b51
Fixed the resumed FTP upload loop to not require that the read callback
...
returns a full buffer on each invoke.
2007-11-29 22:14:33 +00:00
Daniel Stenberg
46e6115d72
include the libssh2 return code in the output for these failures to ease
...
debugging
2007-11-29 11:25:10 +00:00
Daniel Stenberg
800a72878a
the gethostbyname fix applied here as well
2007-11-28 15:18:27 +00:00
Daniel Stenberg
649f7b7fd3
fix next_lookup() to continue searching even if c-ares failed to load the
...
/etc/hosts file, pointed out by Erik Kline:
http://daniel.haxx.se/projects/c-ares/mail/c-ares-archive-2007-11/0027.shtml
2007-11-28 10:46:40 +00:00
Daniel Stenberg
c1b734a3e1
When --with-gssapi (without given path) is used, we must use krb5-config to
...
get the libs as well and not only the include path like we used to.
2007-11-28 10:33:47 +00:00
Yang Tse
cf806748ec
To allow remote log inspection avoid redirecting messages to stderr.
...
Cleanup some debugging messages. Unlink log file on exit.
2007-11-28 01:46:28 +00:00
Daniel Stenberg
b28dc011e0
Remove the check for libdl since that isn't actually used and it causes
...
warnings. Pointed out by Robin Cornelius.
2007-11-27 22:41:53 +00:00
Daniel Stenberg
ee4fef3768
pkgconfig fix by Andreas Schuldei
2007-11-27 22:38:11 +00:00
Daniel Stenberg
058a023fae
spellfix
2007-11-27 22:37:55 +00:00
Yang Tse
0c367fef94
ConnectTimeout requires OpenSSH 3.7 or later
2007-11-27 20:57:22 +00:00
Yang Tse
a418d290f1
Explicitly disallow remote hosts to connect to local forwarded ports,
...
the socks server port in the test suite. This is the default setting
unless a tinkered built ssh is being used.
2007-11-27 00:52:30 +00:00
Yang Tse
08cb30801c
Stop ssh and socks servers when verification fails
2007-11-26 14:26:40 +00:00
Yang Tse
788de4f7ba
Providing an explicit bind address besides the port for dynamic application-level
...
port forwarding, our socks port, prevents ssh from running on some systems.
By default, ssh binds local port forwardings to the loopback address, since this
was the address being given as the explicit bind address, now it isn't given.
2007-11-26 14:07:09 +00:00
Daniel Stenberg
ebce0a16f6
more blurb
2007-11-26 12:26:58 +00:00
Daniel Stenberg
df546bd58c
Added recent changes and spellchecked
2007-11-26 11:04:51 +00:00
Daniel Stenberg
05221e9056
test1015 --data-urlencode
2007-11-26 11:04:21 +00:00
Daniel Stenberg
e963714de6
#1 fixed --data-urlencode when no = or @ was used
...
#2 extended the user-agent buffer since I hit the 128 byte boundary!
2007-11-26 11:03:32 +00:00
Daniel Stenberg
dc11239ff1
slightly less outdated
2007-11-26 11:02:45 +00:00
Yang Tse
d59841618d
Temporary change to better debug startup failures
...
of test suite ssh and socks servers.
2007-11-26 02:45:24 +00:00
Yang Tse
8d3964782a
Allow different start timeout specification for each server
2007-11-25 03:55:53 +00:00
Daniel Stenberg
162c039e9d
reqdata doesn't exist anymore and the path moved to the UrlState struct
2007-11-24 23:18:21 +00:00
Daniel Stenberg
13648f8ccd
struct HandleData is now called struct SingleRequest, and is only for data that
...
is inited at the start of the DO action. I removed the Curl_transfer_keeper
struct completely, and I had to move out a few struct members (that had to
be set before DO or used after DONE) to the UrlState struct. The SingleRequest
struct is accessed with SessionHandle->req.
One of the biggest reasons for doing this was the bunch of duplicate struct
members in HandleData and Curl_transfer_keeper since it was really messy to
keep track of two variables with the same name and basically the same purpose!
2007-11-24 23:16:55 +00:00
Yang Tse
5b809a3104
make 'checkdied' in runtests.pl more robust
2007-11-23 12:18:45 +00:00
Yang Tse
3daa54d636
Revert last change since it breaks running the test suite
...
when builddir is different from srcdir.
2007-11-23 09:50:44 +00:00
Yang Tse
8f1829d1d2
Improve chance of running runtests.pl from outside the
...
source tree 'tests' directory
2007-11-23 04:03:46 +00:00
Yang Tse
6efb6addf2
Debugging messages to trace startnew failures
2007-11-22 19:56:38 +00:00
Yang Tse
d789097af0
Provide a socklen_t definition in curl.h for Win32 API build targets
...
which don't have one.
2007-11-22 16:35:07 +00:00
Daniel Stenberg
4bd2d49ca1
make nlen a size_t to better hold diffs between pointers etc
2007-11-22 09:39:04 +00:00
Daniel Stenberg
ecfede9b3c
Alessandro Vesely helped me improve the --data-urlencode's syntax, parser
...
and documentation.
2007-11-22 09:36:28 +00:00
Daniel Stenberg
cb04619de2
Make the do_complete() function not get called until the DO actually is
...
compelete, which bascially means when used with the multi interface
2007-11-21 22:37:55 +00:00
Yang Tse
61e2e86aef
Temporary change adding additional debugging messages to better pinpoint
...
startup failures of test suite ssh and socks servers.
2007-11-21 19:33:09 +00:00
Yang Tse
9b86eecb94
Fix trying to return outside of a subroutine
2007-11-21 17:50:30 +00:00
Daniel Stenberg
35212da048
and we start on 1.5.2!
2007-11-21 10:16:44 +00:00
Daniel Stenberg
755e743cdd
change
2007-11-21 10:12:20 +00:00
Daniel Stenberg
1a323390ec
oops
2007-11-21 10:12:06 +00:00
Daniel Stenberg
23559fd118
start working on 1.5.1 now
2007-11-21 09:31:56 +00:00
Daniel Stenberg
d994a873a4
this is what 1.5.0 is
2007-11-21 09:24:03 +00:00
Daniel Stenberg
b6575ce0b0
While inspecting the Negotiate code, I noticed how the proxy auth was using
...
the same state struct as the host auth, so both could never be used at the
same time! I fixed it (without being able to check) to use two separate
structs to allow authentication using Negotiate on host and proxy
simultanouesly.
2007-11-20 23:17:08 +00:00
Daniel Stenberg
e2b2a84497
clarify somewhat what happens to some data when a share is set to be used
2007-11-20 23:16:19 +00:00
Daniel Stenberg
86956c2261
white space changes only to clean up indent and source width
2007-11-20 23:02:58 +00:00
Daniel Stenberg
ef6dfdc7fd
remove the unconditional enabling of cookies if you set a share to use!
2007-11-20 22:59:10 +00:00
Daniel Stenberg
f3b85ef79d
a bunch of new comments
2007-11-20 22:57:24 +00:00
Daniel Stenberg
1d7e42ee9f
rephrased
2007-11-20 22:01:05 +00:00
Yang Tse
6dfb5b4e1f
Don't gather additional debug info unless sshd actually fails
2007-11-20 16:47:56 +00:00
Patrick Monnerat
930085751c
ILE RPG binding: OS/400 specific and contained in source distribution
2007-11-20 14:23:13 +00:00
Yang Tse
258c4686b2
Improve detection of sshd un/supported options.
...
Gather additional debug info when the test suite ssh server fails to start.
2007-11-20 14:10:09 +00:00
Daniel Stenberg
600d0b1303
Introuced --data-urlencode to the curl tool for easier url encoding of the
...
data sent in a post.
2007-11-20 10:08:42 +00:00
Daniel Stenberg
2f928797cf
fix the treatment of the parameter-based precision, as in "%.*s%s" as
...
previously the second %s would wrongly get the numerical argument that is used
for the variable precision for the first %s...
2007-11-20 10:03:33 +00:00
Daniel Stenberg
f3f06e823c
107 - resolve the type= thing for FTP URLs over HTTP proxies
2007-11-20 09:44:37 +00:00
Daniel Stenberg
58292f49c5
106 - Share interface force-enable the cookie parser
2007-11-19 23:20:15 +00:00
Yang Tse
5376d1047c
This is a temporary change to test if OpenSSH 3.6 and SunSSH 1.1
...
are good/compatible enough to run the test suite ssh server and
socks tests
2007-11-19 17:20:32 +00:00
Daniel Stenberg
1746b57161
fill in missing copyrights
2007-11-19 15:47:01 +00:00
Daniel Stenberg
0561bffab3
I think this is the right fix for other non-OpenSSL libs, based on the NSS fix
...
from the other day. It is time to setup the internal SSL libs and treat them
with a "handler" struct similar to how we deal with the protocols these days...
2007-11-19 09:24:24 +00:00
Yang Tse
968e943eac
Temporary change to help debugging string(s) returned by sshd -V
...
when sshd is not being identified as an OpenSSH daemon
2007-11-19 01:49:28 +00:00
Gunter Knauf
5be00c95a7
removed now obsolete defines;
...
updated external library versions to latest.
2007-11-18 22:48:39 +00:00
Daniel Stenberg
c80b9c3778
Rob Crittenden fixed SSL connections with NSS done with the multi-interface
2007-11-18 09:45:05 +00:00
Yang Tse
536f98a766
Add /opt/ssh/sbin and /opt/ssh/libexec to the sshd locations search list.
...
Improve wording of a couple of debug messages.
2007-11-18 01:16:44 +00:00
Yang Tse
c4e5613a7d
When unable to start test suite sshserver, log if OpenSSH has not been
...
found or the OpenSSH version found
2007-11-17 17:43:33 +00:00
Daniel Stenberg
bff962398d
Andres Garcia made the examples build fine on Windows (mingw + msys) when
...
the lib was built staticly.
2007-11-17 10:22:44 +00:00
Yang Tse
2b15823dab
Add /usr/local/sbin and /usr/freeware/bin to the sshd locations search list
2007-11-17 02:28:54 +00:00
Daniel Stenberg
59dcc7e191
Michal Marek made the test suite remember what test servers that fail to
...
start so that subsequent tries are simply skipped.
2007-11-16 23:06:53 +00:00
Steinar H. Gunderson
ea3fe98867
Fix a double free.
2007-11-16 09:36:00 +00:00
Yang Tse
4f05613fbb
Fix unsigned integral math check in add_buffer_send()
2007-11-16 01:19:46 +00:00
Daniel Stenberg
22e52ddd6e
Ates Goral identified a problem in http.c:add_buffer_send() when a debug
...
callback was used, as it could wrongly pass on a bad size for the outgoing
HTTP header. The bad size would be a very large value as it was a wrapped
size_t content. This happened when the whole HTTP request failed to get sent
in one single send. http://curl.haxx.se/mail/lib-2007-11/0165.html
2007-11-15 23:42:21 +00:00
Daniel Stenberg
1125d45397
removed unnecessary check from add_buffer_send() that only was made within
...
#ifdef CURL_DOES_CONVERSIONS anyway! I turned it into a DEBUGASSERT() instead.
2007-11-15 23:30:59 +00:00
Daniel Stenberg
44d408204a
Michal Marek fixed the test suite to better deal with the case when the HTTP
...
ipv6 server can't run.
2007-11-15 22:41:31 +00:00
Daniel Stenberg
50feea3eef
Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into
...
do_init() and do_complete() which now are called first and last in the DO
function. It simplified the flow in multi.c and the functions got more
sensible names!
2007-11-15 21:45:45 +00:00
Yang Tse
ca95f58ac0
Needed now that in6_addr is referenced in ares.h
2007-11-15 19:44:01 +00:00
Yang Tse
ed636cbe44
Replace isupper with our uppercase macro version
2007-11-15 13:20:18 +00:00
Yang Tse
738e4f410c
Replace isgraph with our uppercase macro version
2007-11-15 13:12:35 +00:00
Daniel Stenberg
4e731a0189
Make the Transfer() function return earlier without doing any initializations
...
for the cases where there's nothing to do in here, like for SFTP directory
listings that already is complete when this function gets called. The init
stuff clears byte counters which isn't really desired.
2007-11-15 11:03:02 +00:00
Steinar H. Gunderson
5cf6a539fe
When looking up in DNS and then in the hosts file, return the error code from DNS if both fail, instead of returning the error code from the hosts file, as today. Patch from the Google tree.
2007-11-15 09:16:48 +00:00
Steinar H. Gunderson
17fde12fb8
Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. Patch from the Google tree.
2007-11-15 08:36:25 +00:00
Daniel Stenberg
5c8b973d4f
use the existing variable instead
2007-11-14 22:44:30 +00:00
Daniel Stenberg
b22e03b2b2
Fix how TFTP connections are treated when re-used, if the SessionHandle has
...
been used for other protocols in between. I found this when test 2004 started
to fail for me!
2007-11-14 22:41:42 +00:00
Yang Tse
a2926ebe7c
Fix a variable potential wrapping in add_buffer() when using absolutely
...
huge send buffer sizes
2007-11-14 00:48:11 +00:00
Daniel Stenberg
c508d70258
Fixed a remaining problem with doing SFTP directory listings on a re-used
...
persistent connection. Mentioned by Immanuel Gregoire on the mailing list.
2007-11-12 23:04:44 +00:00
Daniel Stenberg
f5971f54ff
comment language
2007-11-12 21:42:20 +00:00
Daniel Stenberg
c5b16d4468
Bug report #1830637 ( http://curl.haxx.se/bug/view.cgi?id=1830637 ), which was
...
forwarded from the Gentoo bug tracker by Daniel Black and was originally
submitted by Robin Johnson, pointed out that libcurl would do bad memory
references when it failed and bailed out before the handler thing was
setup. My fix is not done like the provided patch does it, but instead I
make sure that there's never any chance for a NULL pointer in that struct
member.
2007-11-12 21:38:43 +00:00
Daniel Stenberg
3c71a1bab7
oops, fixed build when CURL_LIBSSH2_DEBUG is defined
2007-11-12 09:24:05 +00:00
Daniel Stenberg
3ec322685b
new ruby binding, curl-multi version 0.1
2007-11-11 14:20:15 +00:00
Yang Tse
9a39839a43
Some versions of winsock2.h have pollfd struct and constants
2007-11-10 04:23:15 +00:00
Yang Tse
e87c996fe0
Fix compiler warning: integral size mismatch in argument
2007-11-08 19:28:25 +00:00
Yang Tse
32195c673d
Define WIN32 when build target is Win32 API.
...
This also defines it for WinCE even though it is a subset of WIN32.
2007-11-08 18:13:54 +00:00
Yang Tse
b99a61c5b0
Fix compiler warning: may be used uninitialized
2007-11-08 16:43:01 +00:00
Yang Tse
c960cd41e8
Fix comment
2007-11-08 16:32:31 +00:00
Daniel Stenberg
a29471d0f7
spell!
2007-11-08 10:25:23 +00:00
Daniel Stenberg
ba6f20a244
Bug report #1823487 ( http://curl.haxx.se/bug/view.cgi?id=1823487 ) pointed
...
out that SFTP requests didn't use persistent connections. Neither did SCP
ones. I gave the SSH code a good beating and now both SCP and SFTP should
use persistent connections fine. I also did a bunch for indent changes as
well as a bug fix for the "keyboard interactive" auth.
2007-11-08 10:22:49 +00:00
Yang Tse
61572a1f97
The only libraries actually needed for sample programs adig and
...
ahost are ws2_32.lib and advapi32.lib
2007-11-08 01:33:28 +00:00
Yang Tse
dee3844f13
MSVC versions prior to VS2005 do not complain about portable C functions
2007-11-07 18:18:42 +00:00
Daniel Stenberg
cbd1a77ec2
if () => if()
...
while () => while()
and some other minor re-indentings
2007-11-07 09:21:35 +00:00
Dan Fandrich
33f7ac06c3
Improved telnet support by drastically reducing the number of write
...
callbacks needed to pass a buffer to the user. Instead one per byte it
is now as little as one per segment.
2007-11-07 05:52:03 +00:00
Dan Fandrich
70f10f1ac9
Add a call to curl_global_cleanup to show how to do a proper shutdown.
2007-11-07 04:53:37 +00:00
Yang Tse
775b60fa09
Bug report #1824894 ( http://curl.haxx.se/bug/view.cgi?id=1824894 ) pointed
...
out a problem in curl.h when building C++ apps with MSVC. To fix it, the
inclusion of header files in curl.h is moved outside of the C++ extern "C"
linkage block.
2007-11-06 17:18:27 +00:00
Gisle Vanem
66e4d391d3
Added prototype for _strtoi64().
2007-11-06 16:20:54 +00:00
Gisle Vanem
caf880be18
Constified from arguments.
2007-11-06 16:20:04 +00:00
Dan Fandrich
c8355c27e9
Sort the directory listing because the server doesn't always do it.
2007-11-05 20:54:35 +00:00
Dan Fandrich
c2d7e2ae17
Added some keywords
2007-11-05 20:53:15 +00:00
Daniel Stenberg
98ecad0da6
tclcurl and a mirror recount when bad ones have been cut out
2007-11-05 15:43:41 +00:00
Daniel Stenberg
bbc4e05434
Andres Garcia made it build and run on windows
2007-11-05 10:07:34 +00:00
Daniel Stenberg
ad6e28073c
removed space after if and while before the parenthesis for better source code
...
consistency
2007-11-05 09:45:09 +00:00
Daniel Stenberg
af29dcbafb
I check the code right now and while() and if() are in majority over while ()
...
and if () so the rule is from now on => no space before the parenthesis.
2007-11-05 09:31:30 +00:00
Daniel Stenberg
b9a7f4e502
Move connection-oriented variables from the SessionHandle struct to the
...
connectdata struct. This will in theory enable us to do persistent connections
with SCP+SFTP, but currently the state machine always (and wrongly) cleanup
everything in the 'done' action instead of in 'disconnect'. Also did a bunch
of indent fixes, if () => if() and a few other source cleanups like added
comments etc.
2007-11-05 09:30:45 +00:00
Daniel Stenberg
51009a40b4
make sure the code deals with failures on the DO_MORE state properly
2007-11-03 14:44:38 +00:00
Daniel Stenberg
2ec8f77f21
avoid setting up a transfer when the state machine failed previously
2007-11-02 23:34:00 +00:00
Daniel Stenberg
7f62028d66
Toby Peterson patched a memory problem in the command line tool that
...
happened when a user had a home dir as an empty string. curl would then do
free() on a wrong area.
2007-11-01 21:49:59 +00:00
Daniel Stenberg
d34fe06fb0
minor re-indent
2007-11-01 21:43:56 +00:00
Dan Fandrich
2f3d520571
Ignore more features that curl-config is not expected to know about
2007-11-01 21:20:24 +00:00
Dan Fandrich
48dd0c5673
Fixed curl-config --features to not display libz when it wasn't used
...
due to a missing header file.
2007-11-01 18:55:00 +00:00
Dan Fandrich
8be493296d
Make postcheck failure message more like the others
2007-11-01 17:42:39 +00:00
Dan Fandrich
6f33531861
Added test case 1014 to compare curl-config --features with curl --version
2007-11-01 03:09:27 +00:00
Dan Fandrich
16897354bc
Added test case 1013 to check that curl-config --protocols matches the
...
protocols listed in curl --version
2007-11-01 00:36:55 +00:00
Dan Fandrich
823a0454a6
Fixed the output of curl-config --protocols which showed SCP and SFTP
...
always, except when --without-libssh2 was given
2007-10-31 23:33:58 +00:00
Dan Fandrich
6790c559af
Detect curl source when valgrind provides an absolute source file name
2007-10-31 18:32:06 +00:00
Gisle Vanem
c56c4a0a47
Add support for LDAP urls. Allthough the OpenWatcom
...
headers <winlap.h> and <winber.h> defines wrong calling convention.
2007-10-31 10:58:51 +00:00
Gisle Vanem
45064c5778
Added optional use of zlib (USE_ZLIB=1).
...
Use a response-file for the C-compiler.
2007-10-31 10:20:48 +00:00
Daniel Stenberg
7aba59f577
contributor re-count (we'll break the 600 limit very very soon now) and I made
...
all the numericals at the top phrased "shorter" and I cut out the "number of
releases since the very beginning" since that's just the number curl releases
+ 26 and not a very interesting number anyway.
2007-10-31 09:21:31 +00:00
Dan Fandrich
59b05ac383
Fixed an OOM problem with file: URLs
...
Moved Curl_file_connect into the protocol handler struct.
2007-10-30 23:00:40 +00:00
Daniel Stenberg
9b15f1be26
added new people from the 7.17.1 announcement
2007-10-30 22:48:08 +00:00
Dan Fandrich
38cd2d781f
Added test case 546 to check that subsequent FTP transfers work after a
...
failed one using the multi interface
2007-10-29 22:57:31 +00:00
Daniel Stenberg
2f285b3f16
curl-config --features and --protocols show the correct output when built
...
with NSS
2007-10-29 22:13:09 +00:00
Daniel Stenberg
57d2fb41d0
Based on one of those bug reports that are intercepted by a distro's bug
...
tracker (https://bugzilla.redhat.com/show_bug.cgi?id=316191 ), I now made
curl-config --features and --protocols show the correct output when built
with NSS.
2007-10-29 22:13:00 +00:00
Dan Fandrich
0f77fe55b6
Reverted the const change--what was I thinking?
2007-10-29 20:57:03 +00:00
Dan Fandrich
68ee002ad0
Made some pointers const
2007-10-29 18:32:20 +00:00
Daniel Stenberg
1fc3b18592
7.17.2
2007-10-29 15:06:04 +00:00
Daniel Stenberg
5a5287ef2a
start working on 7.17.2
2007-10-29 15:05:47 +00:00
Daniel Stenberg
30c85c327b
7.17.1!
2007-10-29 14:49:11 +00:00
Daniel Stenberg
ed3cc86390
correct mirror count
2007-10-29 14:48:37 +00:00
Daniel Stenberg
e5f1499f62
let 7.17.1 be version-info 4:1:0
2007-10-29 10:19:07 +00:00
Gisle Vanem
848f40fd65
OpenWatcom cannot use wldap32.lib (wrong calling convention?).
...
Added generation of dummy ca-bundle.h. Sorted objects.
2007-10-28 12:02:20 +00:00
Daniel Stenberg
5adf53dc01
http://curl.wetzlmayr.at/ is a new web mirror in Nuremberg, Germany
2007-10-28 09:33:03 +00:00
Dan Fandrich
15feb8217f
Fixed the 2000-series tests so that the downloaded data is actually checked
2007-10-27 01:04:36 +00:00
Dan Fandrich
59dccb34b0
Made the magic testnumber > 10000 support actually work
2007-10-27 01:02:57 +00:00
Dan Fandrich
e8057241c6
Fixed the test case to create only a single test file, which is all the
...
test harness supports.
2007-10-26 20:19:49 +00:00
Dan Fandrich
d3ee83747c
Fixed a valgrind uninitialized variable error.
2007-10-26 19:26:41 +00:00
Dan Fandrich
3f55ed0ef7
Check that all servers in the <server> section are supported, not just
...
the first.
2007-10-26 19:26:04 +00:00
Daniel Stenberg
f9cfef3599
mention --static-libs as added in 7.17.1
2007-10-26 07:46:02 +00:00
Yang Tse
07dbfa25a0
typecast to prevent compiler warning
2007-10-26 01:12:33 +00:00
Yang Tse
1d49c04545
Detect, log and avoid storing a request with a negative size.
2007-10-26 00:36:36 +00:00
Dan Fandrich
faaaf62655
Added the --static-libs option to curl-config
2007-10-25 22:30:35 +00:00
Dan Fandrich
43885493ea
Disable valgrind for this test to avoid the rlimit = soft rlimit problem
...
found by Michal Marek.
2007-10-25 21:49:45 +00:00
Daniel Stenberg
1230422181
oops
2007-10-25 21:14:15 +00:00
Daniel Stenberg
6a17cae4f6
Made libcurl built with NSS possible to ignore the peer verification.
...
Previously it would fail if the ca bundle wasn't present, even if the code
ignored the verification results.
2007-10-25 21:08:55 +00:00
Dan Fandrich
1eac702c1a
Added test case 2004.
...
Disable valgrind in test case 1004 due to a libtool bug.
2007-10-25 21:04:51 +00:00
Daniel Stenberg
4b96ac504c
prevent compiler warnings about shadowing and one case of unused variable
2007-10-25 20:54:46 +00:00
Patrick Monnerat
0678a51d3b
Allow test server to handle binary POSTs.
...
Tests 35, 544 545 added: binary data POSTs.
2007-10-25 19:40:05 +00:00
Dan Fandrich
b7dd186d36
When valgrind is disabled in the test file, don't run it at all (as opposed
...
to running it and ignoring its output).
2007-10-25 19:39:52 +00:00
Yang Tse
26c1c8b2ad
Don't show valgrind log files of other tests
2007-10-25 18:07:13 +00:00
Daniel Stenberg
824aa5f918
Michal Marek fixed the test script to be able to use valgrind even when the
...
lib is built shared with libtool.
2007-10-25 14:30:51 +00:00
Daniel Stenberg
ca67dcbc05
Don't assume there's a sessionhandle around when a connection is disconnected,
...
so do the data->reqdata.current_conn assignment when we know there is an easy
handle existing! Fixes the valgrind report on test 509.
2007-10-25 09:41:35 +00:00
Daniel Stenberg
9dbc2c827d
fix the check
2007-10-25 09:34:16 +00:00
Daniel Stenberg
91e27ce755
Fixed a TFTP memory leak. Enabled test 2003 to verify this.
2007-10-25 07:47:38 +00:00
Dan Fandrich
65ed696625
Fixed the test TFTP server to support the >10000 test number notation
...
Added test cases 2002 and 2003 (the latter disabled for now)
2007-10-24 22:48:23 +00:00
Daniel Stenberg
3e3eaaada7
enable 2000 and 2001
2007-10-24 21:27:25 +00:00
Daniel Stenberg
8997d258f7
Curl_ftp_disconnect() no longer relies on anything in the reqdata struct. That
...
was even mentioned to be bad in a comment! Should make test 2000 and 2001 work
fine.
Also, freedirs() now take a ftp_conn struct pointer which saves some extra
unnecessary variable assignments.
2007-10-24 21:14:11 +00:00
Daniel Stenberg
a3f958aaaa
added clarifying comment
2007-10-24 21:09:59 +00:00
Dan Fandrich
38649d1362
Added test cases 2000 and 2001 which test multiple protocols using the
...
same easy handle
Fixed the filecheck: make target to work outside the source tree
2007-10-24 19:40:07 +00:00
Dan Fandrich
4f00a02ba3
Fixed the test FTP server to support the >10000 test number notation
2007-10-24 19:39:29 +00:00
Yang Tse
edef367e9c
Missing double quotes
2007-10-24 16:40:59 +00:00
Yang Tse
08c5e2a194
Windows build targets have socklen_t definition in ws2tcpip.h but some
...
versions of ws2tcpip.h do not have the definition. It seems that when
the socklen_t definition is missing from ws2tcpip.h the definition for
INET_ADDRSTRLEN is also missing, and that when one definition is present
the other one also is available.
2007-10-24 14:39:07 +00:00
Patrick Monnerat
c67c54d4b3
Close log/server.input ASAP to avoid lengthy file lock on cygwin
2007-10-24 13:03:08 +00:00
Daniel Stenberg
23b05e8473
Vladimir Lazarenko pointed out that we should do some 'mt' magic when
...
building with VC8 to get the "manifest" embedded to make fine stand-alone
binaries. The maketgz and the src/Makefile.vc6 files were adjusted
accordingly.
2007-10-24 09:28:36 +00:00
Daniel Stenberg
949ff9715a
Bug report #1812190 ( http://curl.haxx.se/bug/view.cgi?id=1812190 ) points out
...
that libcurl tried to re-use connections a bit too much when using non-SSL
protocols tunneled over a HTTP proxy.
2007-10-23 21:00:51 +00:00
Yang Tse
b9a305983f
File is not a protocol that can deal with "persistancy"
2007-10-23 15:16:46 +00:00
Yang Tse
8e7da9464a
Read callback should return 0 when no more data left
2007-10-23 15:10:48 +00:00
Yang Tse
e550df675a
Fix compiler warning: subscript has type `char'
2007-10-23 10:14:24 +00:00
Gunter Knauf
f614fe4946
removed dependency on gettimeofday() since we use only 1 sec resolution here.
2007-10-22 23:31:40 +00:00
Daniel Stenberg
e6ad066ed1
removed 105, it is now assumed to be fixed!
...
105 - "invalid free after an http redirect to ftp"
2007-10-22 15:07:29 +00:00
Daniel Stenberg
5b358603bd
Michal Marek forwarded the bug report
...
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to
FTP that caused memory havoc. His work together with my efforts created two
fixes:
#1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with
at connection cleanup, at which time the struct HandleData could be
used by another connection.
Also, the unused char *urlpath member is removed from struct FTP.
#2 - provide a Curl_reset_reqproto() function that frees
data->reqdata.proto.* on connection setup if needed (that is if the
SessionHandle was used by a different connection).
2007-10-22 15:05:35 +00:00
Daniel Stenberg
3910a61b61
Removed 93 and 100, there's no work on these and they're not critical in any
...
way:
93 - Digest for IIS fix (subject for removal)
100 - icc segmentation faults (subject for removal)
2007-10-22 14:48:25 +00:00
Daniel Stenberg
45d9772667
#103 is fixed
2007-10-22 10:23:25 +00:00
Daniel Stenberg
268eebca01
mention Patrick Monnerat's recent work on the postfields problems
2007-10-22 09:28:42 +00:00
Daniel Stenberg
1056dc9a26
Bug report #1815530 ( http://curl.haxx.se/bug/view.cgi?id=1815530 ) points out
...
that specifying a proxy with a trailing slash didn't work (unless it also
contained a port number).
2007-10-22 09:25:45 +00:00
Gunter Knauf
053654dc4d
Mohun Biswas sent a patch to fix generated MSVC8 makefiles.
2007-10-20 21:06:24 +00:00
Yang Tse
7fe89c5d29
We use this ZERO_NULL to avoid picky compiler warnings,
...
when assigning a NULL pointer to a function pointer var.
2007-10-20 15:47:16 +00:00
Yang Tse
5c8fc7dce9
Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits
2007-10-20 15:11:51 +00:00
Yang Tse
e8d3710aff
Add custom check for WINLDAP libraries.
...
In CURL_CHECK_LIBS_WINLDAP and CURL_CHECK_LIBS_LDAP, check first with no
additional library even when the optional list of libraries has been given.
2007-10-19 16:15:42 +00:00
Yang Tse
d0fe681a28
Fix message shown when detecting icc version
2007-10-19 12:15:00 +00:00
Yang Tse
9a70a6d0c0
Avoid shadowing a global declaration
2007-10-19 10:52:28 +00:00
Yang Tse
ee19b44fe0
Renamed a variable to avoid shadowing a global declaration
2007-10-18 17:31:19 +00:00
Yang Tse
8f0bef2fa0
Renamed internal function to avoid a variable shadowing it
2007-10-18 17:17:18 +00:00
Yang Tse
33ddeb6dcc
Fix compiler warning: feupdateenv is not implemented and will always fail.
...
Specifically for linux x86-64 with Intel's icc.
2007-10-18 16:24:14 +00:00
Yang Tse
e0dc7d6fc8
Sync PLATFORM_AIX_V3 detection and CURL_CC_DEBUG_OPTS()
...
icc warning level with libcurl's
2007-10-18 15:11:51 +00:00
Patrick Monnerat
8f5909b664
Allow CURLOPT_COPYPOSTFIELDS with explicit data size = 0
2007-10-18 10:54:49 +00:00
Dan Fandrich
bef2e7f2ff
Avoid a NULL pointer dereference in an OOM condition.
2007-10-18 01:04:57 +00:00
Yang Tse
8cfb0e26bb
Fix compiler warning: conversion from "int" to "unsigned char"
...
may lose significant bits
2007-10-18 01:01:20 +00:00
Yang Tse
0164f0cf81
Fix overflow detection, take four. Avoiding zero size malloc.
2007-10-17 19:29:06 +00:00
Yang Tse
420ea83ef3
Fix CURL_CHECK_LIBS_LDAP failure when no parameter is given
2007-10-17 18:47:01 +00:00
Yang Tse
223e470e93
actually sync with lib/setup_once.h
2007-10-17 18:18:27 +00:00
Yang Tse
e7387f7557
Fix overflow detection, thanks to Patrick Monnerat detecting test
...
failure condition: http://curl.haxx.se/mail/lib-2007-10/0152.html
2007-10-17 18:06:32 +00:00
Yang Tse
582bad89ef
sync with lib/setup_once.h
2007-10-17 16:59:24 +00:00
Yang Tse
92433e596b
We use this ZERO_NULL to avoid picky compiler warnings,
...
when assigning a NULL pointer to a function pointer var.
2007-10-17 16:58:32 +00:00
Yang Tse
5360f88393
Default check for more libraries in CURL_CHECK_LIBS_LDAP,
...
and allow parameter specification of libraries to check.
2007-10-17 13:08:10 +00:00
Yang Tse
949073d448
Fix compiler warning: signed and unsigned type in conditional expression
2007-10-17 00:44:48 +00:00
Yang Tse
85877dae9a
Fix compiler warning: comparison between signed and unsigned
2007-10-17 00:10:00 +00:00
Yang Tse
c6ef31955a
ANSI C compliant overflow check
2007-10-16 23:32:02 +00:00
Steinar H. Gunderson
92aaff009d
Fix a bug where fallback from AF_INET6 to AF_INET would not work properly together with relative search; if you had a search path of .a.com and .b.com, and foo.a.com would return ARES_ENODATA and foo.b.com would return ARES_ENOTFOUND, the lookup would not properly retry with AF_INET as it forgot the first ARES_ENODATA.
2007-10-16 21:27:51 +00:00
Dan Fandrich
65ba6e3337
Fixed compiler warning re: unused variable `bigsize'
2007-10-16 18:09:57 +00:00
Yang Tse
fbb5518ab6
Avoid depending on a header file for the definition of NULL
2007-10-15 23:58:11 +00:00
Dan Fandrich
a83b5d1b67
Mention first version with CURLOPT_COPYPOSTFIELDS.
...
Don't confuse NUL with NULL.
2007-10-15 21:19:40 +00:00
Dan Fandrich
add90abfa4
Updated minimum libcurl size
2007-10-15 21:03:40 +00:00
Patrick Monnerat
a005243908
Fix dynamic CURLOPT_POSTFIELDS bug: back to static.
...
CURLOPT_COPYPOSTFIELDS option added for dynamic.
Fix some OS400 features.
2007-10-15 18:32:01 +00:00
Dan Fandrich
001a2d9b67
Fix LDAP compile error when LDAP is not available.
...
Fixed a typo in the LDAP configure code and made sure NULL is defined
in a test programs that need it.
2007-10-15 16:24:46 +00:00
Yang Tse
95446f694b
Fix custom check for LDAP libraries
2007-10-14 23:47:15 +00:00
Yang Tse
4db954f802
Add custom check for LDAP libraries
2007-10-14 21:25:10 +00:00
Yang Tse
a171f60bf7
Add custom checks for lber, ldap, ldapssl and ldap_ssl header files
2007-10-14 02:37:04 +00:00
Daniel Stenberg
887e8f9265
Chris Leighton:
...
My understanding is that we use "number" for discrete variables and
"amount" for continuous variables.
So you can say "The amount of flour required depends on..." or, "Last
night I consumed a large amount of beer!".
And, "That tank contains a large number of fish" or, "Over the week I
consumed a number of cases of beer."
I think that features are discrete, so the man page would read "...the
number of features will make your head spin!".
2007-10-13 20:49:51 +00:00
Yang Tse
07625fe243
Add check for winldap and winber header files
2007-10-13 14:23:15 +00:00
Dan Fandrich
61ffcd7815
Made a few more functions static with the protocol handler table in place.
2007-10-13 00:47:53 +00:00
Daniel Stenberg
a9f47b9364
another Curl_handler fix, the #ifdefs got a bit mixed up...
2007-10-12 20:53:43 +00:00
Dan Fandrich
7831c1ae44
Fixed a few compile errors and warnings.
2007-10-12 18:49:14 +00:00
Daniel Stenberg
5ce3eb066e
added three serious bugs to fix before release, and marked the previous two
...
as subject for removal from this list (without any fix)
2007-10-12 15:26:33 +00:00
Patrick Monnerat
07b6e7363d
Added per-protocol callback static tables, replacing callback ptr storage
...
in the connectdata structure by a single handler table ptr.
2007-10-12 13:36:37 +00:00
Dan Fandrich
2741f97a69
Fixed a couple of typos that messed up the tests.
2007-10-12 02:09:45 +00:00
Dan Fandrich
d7fbe07ee2
Added some <keywords> sections and use some key words more consistently.
2007-10-12 01:44:22 +00:00
Dan Fandrich
2fce1f3e97
Fixed the -l option of runtests.pl
...
Added support for skipping tests based on key words.
2007-10-11 21:15:09 +00:00
Yang Tse
d09bac137a
improve checking for ldap.h and ldap_ssl.h header files
2007-10-10 13:00:11 +00:00
Yang Tse
43e8f00861
lber.h needs to be included since ldap.h might not include it
2007-10-09 23:51:55 +00:00
Yang Tse
3337be81c8
Add check for lber.h and ldap.h header files
2007-10-09 23:44:14 +00:00
Gunter Knauf
0cc9122093
added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code.
2007-10-09 23:25:58 +00:00
Yang Tse
54bcde0a14
also log error message string
2007-10-09 23:24:28 +00:00
Yang Tse
660c86ce95
logmsg already appends '\n'
2007-10-09 23:21:29 +00:00
Gunter Knauf
50b3545ada
fix socklen_t for MSVC6 & 7.
2007-10-09 22:10:17 +00:00
Gunter Knauf
baac8065cf
added two more module dependencies for LDAPS.
2007-10-09 20:15:27 +00:00
Dan Fandrich
257e38d5c5
Documented error codes 77-80, and fixed the one for 60.
2007-10-09 16:49:41 +00:00
Daniel Stenberg
fc70b2f916
Add a paragraph about CURLOPT_CUSTOMREQUEST not actually changing libcurl's
...
behavior, it only changes the actual request method keyword and this is not
always what the user/app wants.
2007-10-09 14:53:50 +00:00
Daniel Stenberg
33a8e6c30c
Michal Marek removed the no longer existing return codes from the curl.1
...
man page.
2007-10-09 08:42:50 +00:00
Gisle Vanem
3c875e0112
Added needed 'HAVE_*' defines.
2007-10-08 14:39:52 +00:00
Gisle Vanem
59136ece19
'FD_CLOXEC' is meaningless on MSDOS/Watt-32.
2007-10-08 14:38:51 +00:00
Daniel Stenberg
08fd1829e0
Known bug #47 , which confused libcurl if doing NTLM auth over a proxy with
...
a response that was larger than 16KB is now improved slightly so that now
the restriction at 16KB is for the headers only and it should be a rare
situation where the response-headers exceed 16KB. Thus, I consider #47 fixed
and the header limitation is now known as known bug #48 .
2007-10-07 08:28:03 +00:00
Gisle Vanem
43a4604639
<ws2tcpip.h> needed for 'socklen_t' typedef.
2007-10-06 17:20:06 +00:00
Daniel Stenberg
83f385acf3
add url to the wikipedia article for a longer description
2007-10-05 15:18:34 +00:00
Daniel Stenberg
606af3024b
Alexey Pesternikov documented CURLOPT_OPENSOCKETDATA and
...
CURLOPT_OPENSOCKETFUNCTION
2007-10-05 15:16:18 +00:00
Daniel Stenberg
4449bd9b4d
Michael Wallner made the CULROPT_COOKIELIST option support a new magic
...
string: "FLUSH". Using that will cause libcurl to flush its cookies to the
CURLOPT_COOKIEJAR file.
2007-10-05 14:37:33 +00:00
Daniel Stenberg
bffa835573
The new file docs/libcurl/ABI describes how we view ABI breakages, soname
...
bumps and what the version number's significance to all that is.
2007-10-04 22:05:25 +00:00
Daniel Stenberg
6dd6b4d1fa
I enabled test 1009 and made the --local-port use a wide range to reduce the
...
risk of failures.
2007-10-04 21:26:26 +00:00
Daniel Stenberg
67d94514b0
Kim Rinnewitz reported that --local-port didn't work with TFTP transfers.
...
This happened because the tftp code always uncondionally did a bind()
without caring if one already had been done and then it failed. I wrote a
test case (1009) to verify this, but it is a bit error-prone since it will
have to pick a fixed local port number and since the tests are run on so
many different hosts in different situations I add it in disabled state.
2007-10-04 10:01:41 +00:00
Steinar H. Gunderson
91b38857ef
Removed a piece of redundant code (process_answer already takes care of it).
2007-10-04 08:12:12 +00:00
Steinar H. Gunderson
6d5f899761
Another timeout fix in ares_getnameinfo().
2007-10-04 08:09:52 +00:00
Steinar H. Gunderson
77a3e3c7f7
Send the timeout count in ares_getnameinfo().
2007-10-04 08:09:04 +00:00
Steinar H. Gunderson
81249965f7
Moved the NULL check for channel upwards in ares_destroy().
2007-10-04 08:07:47 +00:00
Steinar H. Gunderson
45c6db9ac4
Clarified the comment over ares_cancel.
2007-10-04 08:06:25 +00:00
Yang Tse
06be8bc389
On error, close "log/server.response"
2007-10-04 02:09:33 +00:00
Yang Tse
0ac5fd354b
If TCP_NODELAY is not defined we can't disable the Nagle algorithm
2007-10-03 23:38:07 +00:00
Yang Tse
a11c8a6ea0
Cleanup no longer used macros
2007-10-03 16:58:10 +00:00
Yang Tse
2858935187
Fix compiler warning: local variable may be used without having been initialized
2007-10-03 16:26:56 +00:00
Patrick Monnerat
43b10339ab
Upgrade OS400 wrappers and RPG copy file according to latest code updates
2007-10-03 15:09:21 +00:00
Yang Tse
3f3a38f9c6
Fix issue related with the use of ares_timeout() result.
2007-10-03 13:19:34 +00:00
Daniel Stenberg
4bf28cb904
exported symbols must use lowercase "curl_", and I also fixed two compiler
...
warnings, one C99 thing and the bad pointer sent to the callback
2007-10-03 08:58:40 +00:00
Daniel Stenberg
1abde9009a
recount contributors after the 7.17.0 release
2007-10-03 08:54:35 +00:00
Daniel Stenberg
db85a941d0
people from the 7.17.0 announcement
2007-10-03 08:51:36 +00:00
Daniel Stenberg
1bfb0fc5da
"97 - check ip callback", check
2007-10-03 08:46:45 +00:00
Daniel Stenberg
ce1cfcb7a6
Alexey Pesternikov introduced CURLOPT_OPENSOCKETFUNCTION and
...
CURLOPT_OPENSOCKETDATA to set a callback that allows an application to replace
the socket() call used by libcurl. It basically allows the app to change
address, protocol or whatever of the socket. (I also did some whitespace
indent/cleanups in lib/url.c which kind of hides some of these changes, sorry
for mixing those in.)
2007-10-03 08:45:00 +00:00
Daniel Stenberg
ce81cd21d3
I renamed the CURLE_SSL_PEER_CERTIFICATE error code to
...
CURLE_PEER_FAILED_VERIFICATION (standard CURL_NO_OLDIES style), and made this
return code get used by the previous SSH MD5 fingerprint check in case it
fails.
2007-10-03 08:07:50 +00:00
Daniel Stenberg
51c6a5d43b
Based on a patch brought by Johnny Luong, libcurl now offers
...
CURLOPT_SSH_HOST_PUBLIC_KEY_MD5 and the curl tool --hostpubmd5. They both make
the SCP or SFTP connection verify the remote host's md5 checksum of the public
key before doing a connect, to reduce the risk of a man-in-the-middle attack.
2007-10-03 08:00:42 +00:00
Daniel Stenberg
15b8da1980
"99 - curl_easy_close()" seems to have gone uninteresting
2007-10-02 22:00:03 +00:00
Daniel Stenberg
c1c257d19a
102, check
2007-10-02 21:59:06 +00:00
Yang Tse
08b9f73219
Fix memory leak under low memory conditions.
2007-10-02 19:19:47 +00:00
Yang Tse
94162d62ac
Avoid a segfault when generating a DNS "Transaction ID" in internal
...
function init_id_key() under low memory conditions.
2007-10-02 18:26:48 +00:00
Yang Tse
059707be32
Renamed a couple of global variables to avoid shadowing warnings
2007-10-02 16:05:28 +00:00
Yang Tse
048bfeaaef
Fix compiler warning
2007-10-02 15:26:30 +00:00
Yang Tse
a137109a0c
<winber.h> needed for Windows LDAP client 32 API support
2007-10-02 14:48:38 +00:00
Yang Tse
17c01d21a9
Linking with wldap32.lib needed for Windows LDAP client 32 API support
2007-10-02 14:26:04 +00:00
Yang Tse
f5cad68d22
Add ares_llist.c and ares_llist.h to MSCV project file.
2007-10-02 11:13:58 +00:00
Daniel Stenberg
119364741e
known bug #46 : chunked-encoded CONNECT responses from a http proxy now works.
...
Added test case 1008 to verify. Note that #47 is still there.
2007-10-02 10:21:36 +00:00
Daniel Stenberg
8d1239c091
Disable the Nagle algorithm and send back responses in small chunks in an
...
attempt to force smaller bits to get read by clients.
2007-10-02 10:13:37 +00:00
Daniel Stenberg
30a39fe877
document --post301, based on the phrasing in curl_easy_setopt.3 for
...
CURLOPT_POST301 written by Philip Langdale
2007-10-02 09:57:48 +00:00
Daniel Stenberg
0489081d3f
CURLOPT_POST301 section, added by Philip Langdale
2007-10-02 09:56:52 +00:00
Daniel Stenberg
19c8da85d8
Fixed the problem where next_lookup would use 'status' uninitialized. Now
...
it gets passed the initial value as an argument.
2007-10-02 08:12:30 +00:00
Yang Tse
b03abddb28
Avoid inline C99ism, and move c-ares routines for managing doubly-linked lists.
2007-10-02 02:18:01 +00:00
Daniel Stenberg
ccf083e26d
ares_strerror() segfaulted if the input error number was out of the currently
...
supported range.
2007-10-01 22:52:31 +00:00
Daniel Stenberg
dbd4abf0ff
Prevent ares_strerror() from segfaulting if an invalid error code is passed
...
in as argument!
2007-10-01 22:51:38 +00:00
Daniel Stenberg
9ca2644429
Added test536 that was accidentally missing. I also wrote up a new makefile
...
target called 'filecheck' so that if you run 'make filecheck' in this directory
it'll check if the local files are also mentioned in the Makefile.am so that
they are properly included in release archives!
2007-09-30 22:58:24 +00:00
Daniel Stenberg
ec08e2f9f2
Alex Fishman reported a curl_easy_escape() problem that was made the
...
function do wrong on all input bytes that are >= 0x80 (decimal 128) due to a
signed / unsigned mistake in the code. I fixed it and added test case 543 to
verify.
2007-09-30 22:40:24 +00:00
Yang Tse
38dd0ede9d
Fix compiler warning
2007-09-30 19:43:23 +00:00
Yang Tse
62c264bcdb
check availability of <netinet/tcp.h>
2007-09-30 02:12:11 +00:00
Yang Tse
b108c664ac
Fix missing right parenthesis
2007-09-30 01:27:39 +00:00
Yang Tse
64db60397b
Fix comparison between signed and unsigned
2007-09-30 01:01:43 +00:00
Yang Tse
d243908a01
improve portability, defining MAXDNAME and MAXCDNAME
2007-09-30 00:37:47 +00:00
Steinar H. Gunderson
c145fbea49
Fix a memory leak that I recently inadvertedly introduced.
2007-09-30 00:08:01 +00:00
Steinar H. Gunderson
84fcff79f4
Use ISDIGIT instead of isdigit; fixes a gcc warning.
2007-09-29 21:57:05 +00:00
Daniel Stenberg
f58ba5ab1c
Immanuel Gregoire fixed a problem with persistent transfers over SFTP - the
...
previous proto struct was kept.
2007-09-29 21:34:34 +00:00
Steinar H. Gunderson
2694b970e8
Port the TCP socket fix made in ares_fds() to ares_getsock() as well.
2007-09-29 19:26:59 +00:00
Steinar H. Gunderson
23f5d145ec
Previously, processing a large batch of timeouts was O(n^2) in the number of
...
outstanding queries, and processing a DNS response packet was O(n) in the
number of outstanding queries. To speed things up in Google, we added a few circular,
doubly-linked lists of queries that are hash-bucketed based on
the attributes we care about, so most important operations are now O(1).
It might be that the number of buckets are higher than most people would need,
but on a quick calculation it should only be 100kB or so even on a 64-bit
system, so I've let it stay as-is.
2007-09-29 18:18:47 +00:00
Gisle Vanem
b01ab65225
We should standarise on C comments.
2007-09-29 14:37:47 +00:00
Gisle Vanem
7a7f490efa
Fix compiler warning in setsockopt().
2007-09-29 14:34:59 +00:00
Steinar H. Gunderson
95c15fce0c
TCP queries can time out too, not just UDP queries. (Patch from the Google tree.)
2007-09-29 14:25:14 +00:00
Steinar H. Gunderson
c788efffd4
Read and process as many packets as possible in read_udp_packets, to avoid having to run the entire event loop once per packet. (Patch from the Google tree.)
2007-09-29 14:21:47 +00:00
Steinar H. Gunderson
c1a475e708
There are two different places in write_tcp_data() that advance the send_queue; however, they are slightly different and only the first one properly uses a while loop. Consolidate both into a single function that DTTR. (Patch from the Google tree.)
2007-09-29 14:09:14 +00:00
Steinar H. Gunderson
d0de9663e2
Reject names that are longer than 255 characters, to avoid problems with strict or buggy DNS server implementations. (Patch from the Google tree)
2007-09-29 13:58:23 +00:00
Steinar H. Gunderson
d6dd848523
In ares_mkquery, make sure we set buflen and buf to reasonable values if there's an error. (Patch from the Google tree)
2007-09-29 13:56:36 +00:00
Steinar H. Gunderson
9fc66e4dd9
Be stricter about what's a valid IP address in fake_hostent. (Patch from the Google tree.)
2007-09-29 13:52:14 +00:00
Steinar H. Gunderson
6ecea9453b
Handle the root of the DNS tree correctly in ares_expand_name.
2007-09-29 13:38:17 +00:00
Daniel Stenberg
2c105af910
Adapted the c-ares code to the API change c-ares 1.5.0 brings in the
...
notifier callback(s).
2007-09-28 21:48:28 +00:00
Daniel Stenberg
bb667c8ac6
rename variable to prevent shadow warning
2007-09-28 21:45:05 +00:00
Daniel Stenberg
8179743cee
today's modifications by Steinar and me
2007-09-28 20:28:20 +00:00
Daniel Stenberg
3d59a3855a
Bumped version to 1.5.0 for next release and soname bumped to 2 due to ABI
...
and API changes in the progress callback (and possibly more coming up from
Steinar)
2007-09-28 20:28:06 +00:00
Dan Fandrich
8388366849
Renamed a variable to avoid shadowing a global declarations.
2007-09-28 18:47:59 +00:00
Steinar H. Gunderson
ef3b425b11
Unrevert previous 'missing' hunks. They were missing since the patch is still in for review :-)
2007-09-28 15:56:28 +00:00
Steinar H. Gunderson
026d93b4f6
Yet more missing hunks... Nggh.
2007-09-28 15:55:11 +00:00
Steinar H. Gunderson
36710c4586
Always register for TCP events even if there are no outstanding queries, as the other side could always close the connection, which is a valid event which should be responded to.
2007-09-28 15:53:10 +00:00
Steinar H. Gunderson
63ac6156aa
Forgot to include a few hunks from ares_process.c earlier. Fixing now.
2007-09-28 15:51:00 +00:00
Steinar H. Gunderson
08a70d117c
Support a few more socket options, and refactor the option setting a bit. (Patch from the Google tree.)
2007-09-28 15:15:39 +00:00
Steinar H. Gunderson
6ce589c3ee
Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
2007-09-28 14:46:51 +00:00
Steinar H. Gunderson
d426c20c0a
Three fixes in one commit (sorry): a) Take care of the tcpbuf if it ends while queued for transmission, note broken servers and close them in the main loop, and store TCP socket generation number in order not to send the same query twice over the same socket.
2007-09-28 14:28:14 +00:00
Steinar H. Gunderson
54ca7d8cb2
Don't skip a server if it's the only one. (Bugfix from the Google tree.)
2007-09-28 14:26:11 +00:00
Dan Fandrich
0819c3a8cf
Don't strdup an empty string
2007-09-27 18:39:10 +00:00
Dan Fandrich
ad05b22de3
Renamed a few variables to avoid shadowing global declarations.
2007-09-27 18:12:03 +00:00
Dan Fandrich
9fc8800b6d
Removed cut-and-paste cruft leading to fclose() of an unopened file
2007-09-27 17:22:10 +00:00
Daniel Stenberg
a4d6611d26
a name resolve that times out is still a failed name resolve
2007-09-27 12:05:39 +00:00
Daniel Stenberg
015fc6aa17
wrong, revert the previous "fix" and instead check that the fd_set pointer
...
is non-NULL before we FD_CLR
2007-09-27 12:04:56 +00:00
Daniel Stenberg
a739b9bc45
eek, fix the conditions to return on either problem instead of requiring
...
both to occur
2007-09-27 12:02:15 +00:00
Dan Fandrich
0bd2d54814
Renamed a few variables to avoid shadowing global declarations.
2007-09-27 02:45:58 +00:00
Dan Fandrich
16b95fc773
Enabled a few more gcc warnings with --enable-debug. Renamed a few
...
variables to avoid shadowing global declarations.
2007-09-27 01:45:22 +00:00
Yang Tse
9c5cd6c413
Fix compiler warning: the address of 'env' will always evaluate as 'true'
2007-09-27 00:58:41 +00:00
Daniel Stenberg
9b55056423
we added a curl_easy_setopt() option too
2007-09-26 12:46:03 +00:00
Daniel Stenberg
fd4cf78f36
Philip Langdale provided the new CURLOPT_POST301 option for
...
curl_easy_setopt() that alters how libcurl functions when following
redirects. It makes libcurl obey the RFC2616 when a 301 response is received
after a non-GET request is made. Default libcurl behaviour is to change
method to GET in the subsequent request (like it does for response code 302
- because that's what many/most browsers do), but with this CURLOPT_POST301
option enabled it will do what the spec says and do the next request using
the same method again. I.e keep POST after 301.
The curl tool got this option as --post301
Test case 1011 and 1012 were added to verify.
2007-09-26 12:44:59 +00:00
Daniel Stenberg
a6315359d7
Max Katsev reported that when doing a libcurl FTP request with
...
CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE
before it does SIZE which makes it less useful. I walked over the code and
made it do this properly, and added test case 542 to verify it.
2007-09-26 12:00:01 +00:00
Dan Fandrich
966130132f
Make glibc define the prototype for strcasestr
2007-09-25 17:33:56 +00:00
Daniel Stenberg
a19de6e9ac
a new Lua binding and I shortened the wording on several bindings by cutting
...
out "written"
2007-09-25 08:46:49 +00:00
Dan Fandrich
bdfeaa0f95
#ifdef out a few more functions when SSL is disabled.
2007-09-25 06:45:05 +00:00
Dan Fandrich
c478200766
Use a native strcasestr() if found.
2007-09-25 06:43:58 +00:00
Daniel Stenberg
775f86cb5a
Immanuel Gregoire fixed KNOWN_BUGS #44 : --ftp-method nocwd did not handle
...
URLs ending with a slash properly (it should list the contents of that
directory). Test case 351 brought back and also test 1010 was added.
2007-09-24 21:47:35 +00:00
Daniel Stenberg
db1c92ceac
Bad use of "its" replaceed with a rephrase. I noticed this flaw thanks to the
...
Debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443734
2007-09-24 10:56:26 +00:00
Daniel Stenberg
0f4664d27f
Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on in
...
several functions (write_tcp_data, read_tcp_data, read_udp_packets) so that
if it fails and the socket is closed the following code doesn't try to use
the file descriptor.
2007-09-22 21:23:10 +00:00
Daniel Stenberg
0f89a2e639
Steinar H. Gunderson modified c-ares to now also do to DNS retries even when
...
TCP is used since there are several edge cases where it still makes sense.
2007-09-22 21:04:16 +00:00
Daniel Stenberg
05b26e7566
Brad House provided a fix for ares_save_options(): Apparently I overlooked
...
something with the ares_save_options() where it would try to do a malloc(0)
when no options of that type needed to be saved. On most platforms, this was
fine because malloc(0) doesn't actually return NULL, but on AIX it does, so
ares_save_options would return ARES_ENOMEM.
2007-09-22 20:45:50 +00:00
Daniel Stenberg
6c511abf43
--proxy-negotiate is added in 7.17.1
2007-09-21 11:53:56 +00:00
Daniel Stenberg
bb6d0771c2
the NSS patch has been committed
2007-09-21 11:19:13 +00:00
Daniel Stenberg
75f6c36e51
Available command line options: 119
2007-09-21 11:08:03 +00:00
Daniel Stenberg
015d5869d7
Mark Davies fixed Negotiate authentication over proxy, and also introduced
...
the --proxy-negotiate command line option to allow a user to explicitly
select it.
2007-09-21 11:05:31 +00:00
Dan Fandrich
4686adb433
Added variable substitution to the <verify><file> section.
...
Made a few more tests work remotely.
2007-09-20 20:39:17 +00:00
Daniel Stenberg
785a4899f5
reformatted to be similar to the FAQ to make it look nicer on the site:
...
http://curl.haxx.se/docs/contribute.html
2007-09-20 14:43:31 +00:00
Daniel Stenberg
da62aff6bb
Achint Mehta pointed out this dead link
2007-09-20 14:19:57 +00:00
Daniel Stenberg
322308e298
the winsock stuff is made by curl_global_init
2007-09-20 14:05:53 +00:00
Daniel Stenberg
b53e326828
fix bad link
2007-09-20 14:05:11 +00:00
Daniel Stenberg
0885d787ab
Immanuel Gregoire is the man
2007-09-20 14:02:34 +00:00
Dan Fandrich
2620d78e94
Fixed typo in error message.
2007-09-20 00:37:08 +00:00
Daniel Stenberg
8c3f40ee32
Rob Crittenden provided an NSS update with the following highlights:
...
o It looks for the NSS database first in the environment variable SSL_DIR,
then in /etc/pki/nssdb, then it initializes with no database if neither of
those exist.
o If the NSS PKCS#11 libnspsem.so driver is available then PEM files may be
loaded, including the ca-bundle. If it is not available then only
certificates already in the NSS database are used.
o Tries to detect whether a file or nickname is being passed in so the right
thing is done
o Added a bit of code to make the output more like the OpenSSL module,
including displaying the certificate information when connecting in
verbose mode
o Improved handling of certificate errors (expired, untrusted, etc)
The libnsspem.so PKCS#11 module is currently only available in Fedora
8/rawhide. Work will be done soon to upstream it. The NSS module will work
with or without it, all that changes is the source of the certificates and
keys.
2007-09-18 22:21:54 +00:00
Daniel Stenberg
b1aafbd957
mention the prefered source code line length to be less than 80 columns
2007-09-18 21:33:05 +00:00
Daniel Stenberg
45fd6685bd
Immanuel pointed out that public key SSH auth failed if no public/private
...
key was specified and there was no HOME environment variable, and then it
didn't continue to try the other auth methods. Now it will instead try to
get the files id_dsa.pub and id_dsa from the current directory if none of
the two conditions were met.
2007-09-18 21:14:28 +00:00
Dan Fandrich
0159636373
Use double quotes in command lines for consistency.
2007-09-18 20:41:20 +00:00
Gunter Knauf
7ac7c119be
added a define for Win32 to detect already defined ssize_t.
2007-09-18 18:18:34 +00:00
Dan Fandrich
4f067b1d1c
IPv6 is a required feature for these two tests, even if it's not obvious.
2007-09-18 17:41:04 +00:00
Dan Fandrich
ae60745e3e
Fixed the required server entry
2007-09-17 23:23:13 +00:00
Dan Fandrich
7f496d8c3f
Changed some FTP tests to validate the format of the PORT and EPRT commands
...
sent by curl, if not the addresses themselves.
2007-09-17 21:44:57 +00:00
Dan Fandrich
048c74f2fa
Added %CLIENTIP and %CLIENT6IP data file substitution variables.
...
Added hooks to the test suite to make it possible to test a curl running
on a remote host.
2007-09-17 21:42:01 +00:00
Dan Fandrich
0ed57d370d
Allow setting the IP address on which to listen for connections.
2007-09-17 21:39:34 +00:00
Daniel Stenberg
551abba277
Gnter's ldap fixes
2007-09-17 20:43:05 +00:00
Dan Fandrich
9b11a84e74
Make the ftp server connect to the address given by curl in the PORT/EPRT
...
instead of hard-coding it to 127.0.0.1
2007-09-17 18:12:11 +00:00
Dan Fandrich
26f8de459a
Made the directory postprocessor more forgiving of input directory format
2007-09-17 17:22:46 +00:00
Daniel Stenberg
ceff98fd49
three done, seven to go
2007-09-15 22:05:20 +00:00
Daniel Stenberg
e04151ed76
Michal Marek made libcurl automatically append ";type=<a|i>" when using HTTP
...
proxies for FTP urls.
2007-09-15 21:14:12 +00:00
Daniel Stenberg
cdb2552424
offer a friendlier single-line command
2007-09-15 21:06:11 +00:00
Gunter Knauf
b41e65a8e3
fixed ldap support for winldap.
2007-09-15 20:03:03 +00:00
Gunter Knauf
be8c219ec2
fixed VC6 makefiles for new ldap linkage.
2007-09-15 20:02:22 +00:00
Daniel Stenberg
099c011059
I want these CONNECT problems fixed too
2007-09-15 08:51:42 +00:00
Daniel Stenberg
245a780711
7.17.1 planned release in November 2007, and a bunch of things to deal with
2007-09-15 08:50:04 +00:00
Dan Fandrich
05e4a3026d
Replaced 127.0.0.1 with %HOSTIP where possible
2007-09-14 19:32:31 +00:00
Dan Fandrich
39a416f12a
Added LDAPS, SCP and SFTP to curl-config --protocols. Removed and
...
fixed some AC_SUBST configure entries.
2007-09-14 01:56:08 +00:00
Dan Fandrich
9b23b31071
Added LDAPS, SCP and SFTP to curl-config --protocols.
...
Removed and fixed some AC_SUBST configure entries.
2007-09-14 01:24:59 +00:00
Dan Fandrich
8412d1e493
Compile samples with -DCURL_NO_OLDIES
2007-09-13 22:20:35 +00:00
Daniel Stenberg
2ee41a5ffc
7.17.1-CVS is now the dev version
2007-09-13 21:06:19 +00:00
Daniel Stenberg
a18f599482
start over on 7.17.1
2007-09-13 21:05:56 +00:00
Dan Fandrich
6d27647b61
Remove remaining traces of ftp3rdparty.c and mention htmltidy.c
2007-09-13 20:36:52 +00:00
Daniel Stenberg
3bc11344de
Version 7.17.0 (13 September 2007)
2007-09-13 20:22:14 +00:00
Daniel Stenberg
3dbe708308
added some further stuff from the feature-requests tracker, and a bunch of URLs
...
to the specific tracker entries
2007-09-13 09:02:15 +00:00
Dan Fandrich
621709c623
TFTP error 0 is no longer treated as success
2007-09-12 18:20:52 +00:00
Daniel Stenberg
9e241864e3
Extracting the CURLINFO_PRIVATE pointer makes no point since nothing set
...
it. This caused a segfault in some fprintf() implementations. Like on Solaris.
2007-09-12 10:46:14 +00:00
Daniel Stenberg
cf613fdba4
rephrased to mention ftp
2007-09-11 22:37:47 +00:00
Daniel Stenberg
e6addcf624
curl.digimirror.nl is a new mirror in Amsterdam, the Netherlands
2007-09-11 22:36:39 +00:00
Daniel Stenberg
9e88343a17
Daniel S (12 September 2007)
...
- Bug report #1792649 (http://curl.haxx.se/bug/view.cgi?id=1792649 ) pointed
out a problem with doing an empty upload over FTP on a re-used connection.
I added test case 541 to reproduce it and to verify the fix.
- I noticed while writing test 541 that the FTP code wrongly did a CWD on the
second transfer as it didn't store and remember the "" path from the
previous transfer so it would instead CWD to the entry path as stored. This
worked, but did a superfluous command. Thus, test case 541 now also verifies
this fix.
2007-09-11 22:23:57 +00:00
Daniel Stenberg
1ce732e9d6
- I noticed while writing test 541 that the FTP code wrongly did a CWD on the
...
second transfer as it didn't store and remember the "" path from the
previous transfer so it would instead CWD to the entry path as stored. This
worked, but did a superfluous command. Thus, test case 541 now also verifies
this fix.
2007-09-11 22:21:39 +00:00
Daniel Stenberg
cc618e761c
- Bug report #1792649 ( http://curl.haxx.se/bug/view.cgi?id=1792649 ) pointed
...
out a problem with doing an empty upload over FTP on a re-used connection.
I added test case 541 to reproduce it and to verify the fix.
2007-09-11 22:21:12 +00:00
Daniel Stenberg
24db40de7c
A brand new binding for SP-Forth was written
2007-09-09 22:22:45 +00:00
Dan Fandrich
7350f9851a
TFTP now reports the "not defined" TFTP error code 0 as an error,
...
not success.
2007-09-07 20:35:37 +00:00
Dan Fandrich
d030dfa6e2
Added test case 1007 to test permission problem when uploading with TFTP
...
(to validate bug #1790403 ).
2007-09-07 20:05:20 +00:00
Daniel Stenberg
14d6db0873
http://curl.cheap.co.il is a new mirror in Tel-Aviv, Israel
2007-09-06 21:38:50 +00:00
Daniel Stenberg
0ff311aa1a
two new CONNECT response problems that have appeared
2007-09-06 13:38:05 +00:00
Dan Fandrich
8147c3659d
Minix doesn't support getsockopt on UDP sockets or send/recv on TCP
...
sockets.
2007-09-05 22:01:57 +00:00
Daniel Stenberg
73e91ce20c
Curl_GetFTPResponse() now checks and properly deals with the fact that the
...
underlying ftp_readresp() function has a separate "cache" where there might
in fact be leftover data...
2007-09-05 21:41:07 +00:00
Dan Fandrich
8780ff879c
Minix doesn't support getsockopt on UDP sockets or send/recv on TCP
...
sockets.
2007-09-05 17:22:23 +00:00
Dan Fandrich
6fd1cfeab1
Minor updates
2007-09-05 17:17:59 +00:00
Daniel Stenberg
9d0533056c
I can't spell
2007-09-03 14:10:32 +00:00
Daniel Stenberg
6c4f317f7f
curlpp 0.7.1 was relased
2007-09-03 14:08:23 +00:00
Gunter Knauf
21ed69b51e
added some comments for MingW32 builds.
2007-09-03 11:10:46 +00:00
Dan Fandrich
3b819b3064
bash is not required when compiling under Minix
2007-09-01 21:21:52 +00:00
Dan Fandrich
3fa60164af
Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED.
...
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants,
creating macros for backward compatibility.
2007-08-31 19:36:32 +00:00
Dan Fandrich
ac6e0501c6
Made some of the error strings returned by the *strerror functions more
...
generic, and more consistent with each other.
2007-08-31 17:56:06 +00:00
Dan Fandrich
4f17c58315
Fixed an invalid returned error code added in my last submission.
2007-08-31 17:54:01 +00:00
Dan Fandrich
f6251734fc
Added more accurate error code returns from SFTP operations. Added test
...
case 615 to test an SFTP upload failure.
2007-08-30 23:03:59 +00:00
Dan Fandrich
9f44a95522
Renamed several libcurl error codes and options to make them more general
...
and allow reuse by multiple protocols. Several unused error codes were
removed. In all cases, macros were added to preserve source (and binary)
compatibility with the old names. These macros are subject to removal at
a future date, but probably not before 2009. An application can be
tested to see if it is using any obsolete code by compiling it with the
CURL_NO_OLDIES macro defined.
Documented some newer error codes in libcurl-error(3)
2007-08-30 20:34:57 +00:00
Gunter Knauf
4b60c3e9d3
added --enable-ldaps switch;
...
renamed LDAP(S) messages from 'yes' to 'enabled'.
2007-08-30 20:28:40 +00:00
Dan Fandrich
5d4c981e13
Fixed a few compiler warnings. Try to do a slightly better job of
...
cleaning up after an OOM condition in curl_multi_add_handle
2007-08-30 18:26:19 +00:00
Daniel Stenberg
da4a776758
Made Curl_GetFTPResponse() use lots less code and instead use the proper
...
low-level ftp_readresp() function. Hopefully adressing bug #1779054 .
2007-08-30 14:06:00 +00:00
Dan Fandrich
1b66c1da6c
Added lots of consts
2007-08-29 05:36:53 +00:00
Dan Fandrich
5cb2ee878c
Mention that 'make test' does more than just run all the tests (suggested
...
by Kris/tinker105 in bug #1779054 ) and mention the torture tests.
2007-08-28 18:23:19 +00:00
Dan Fandrich
8cf0814a14
Fixed some minor type mismatches and missing consts mainly found by splint.
2007-08-27 06:31:28 +00:00
Dan Fandrich
523767660c
Fixed some minor mismatched types found by splint.
2007-08-26 05:53:26 +00:00
Gunter Knauf
327c0d6b1c
bail out with error if someone tries to use another cert than PEM with OpenLDAP.
2007-08-25 12:10:30 +00:00
Gunter Knauf
870842ccee
only link with -lwldap32 if we dont use other LDAP SDKs.
2007-08-25 12:08:38 +00:00
Gunter Knauf
68b215157f
added defines to build with OpenLDAP.
2007-08-24 17:08:49 +00:00
Patrick Monnerat
a892cf2c12
Adding DOCS file in OS400 installation library with license and various other documentation text files.
...
Setting character set of OS400 installed source components
2007-08-24 15:56:59 +00:00
Daniel Stenberg
7cba40b218
Bug report #1779054 ( http://curl.haxx.se/bug/view.cgi?id=1779054 ) pointed
...
out that libcurl didn't deal with large responses from server commands, when
the single response was consisting of multiple lines but of a total size of
16KB or more. Dan Fandrich improved the ftp test script and provided test
case 1006 to repeat the problem, and I fixed the code to make sure this new
test case runs fine.
2007-08-24 14:00:42 +00:00
Patrick Monnerat
d994fcf2b1
Remove leading space in curl_version_info ss_version field.
2007-08-24 09:06:17 +00:00
Dan Fandrich
975fafdc49
Added test case 1005 to test excessively-long replies spread out over
...
multiple lines (similar to test case 1003).
2007-08-23 23:25:47 +00:00
Dan Fandrich
9537580ba2
Allow ftp server alternate replies to contain backslash-escaped control
...
characters.
2007-08-23 23:24:39 +00:00
Patrick Monnerat
bc0adcef1f
Make ldap.h, gssapi.h and qsossl.h inclusions conditional.
2007-08-23 18:46:45 +00:00
Dan Fandrich
7ffae92daf
Need even more time to wait for an accept.
2007-08-23 18:45:28 +00:00
Dan Fandrich
abca03cf36
Added test1004 to validate a previous fix for a memory leak when an
...
empty proxy server is selected.
2007-08-23 17:35:00 +00:00
Dan Fandrich
374f0214b6
Mention OS/400 and TPF
2007-08-23 17:26:42 +00:00
Daniel Stenberg
4945b2454d
ported to OS/400
2007-08-23 15:00:55 +00:00
Daniel Stenberg
a5cb022407
added the two new os400 files
2007-08-23 14:58:10 +00:00
Daniel Stenberg
feb63efc31
Add the files in the OS400 dir to the dist. I didn't add it as a new subdir
...
just because if I do that automake does funny things automatically with the
makefile.sh file in that directory and thus doing it this way was a quick
work-around that annoyance!
2007-08-23 14:46:37 +00:00
Daniel Stenberg
4cf3ad07e5
--libcurl does not support -F
2007-08-23 14:33:08 +00:00
Patrick Monnerat
557cc55f6f
Porting library to OS/400
2007-08-23 14:30:24 +00:00
Gunter Knauf
2d8dba388b
added support for CA cert verification;
...
default now to verify cert unless data->set.ssl.verifypeer is 0.
2007-08-23 00:10:56 +00:00
Daniel Stenberg
91fd2c3bcd
Bug report #1779751 ( http://curl.haxx.se/bug/view.cgi?id=1779751 ) pointed
...
out that doing first a file:// upload and then an FTP upload crashed libcurl
or at best caused furious valgrind complaints. Fixed now by making sure we
free and clear the file-specific struct properly when done with it.
2007-08-22 22:48:41 +00:00
Gisle Vanem
d38891c950
Reversed the 'HAVE_LDAP_URL_PARSE' ifdef statement.
2007-08-22 18:05:46 +00:00
Daniel Stenberg
381e372939
Bug report #1779054 ( http://curl.haxx.se/bug/view.cgi?id=1779054 ) pointed
...
out that libcurl didn't deal with very long (>16K) FTP server response lines
properly. Starting now, libcurl will chop them off (thus the client app will
not get the full line) but survive and deal with them fine otherwise. Test
case 1003 was added to verify this.
2007-08-22 14:18:06 +00:00
Daniel Stenberg
c347db2e0a
added a size > buffer size check to make it easier to track this in the
...
future
2007-08-22 14:09:13 +00:00
Daniel Stenberg
232a4553b8
Upped the buffer size to 17000+ bytes to prepare for the upcoming test 1003
...
that verfies ridiculously long server response lines. Also changed sprintf
to snprintf in a few places.
2007-08-22 13:57:49 +00:00
Daniel Stenberg
014f1bea9a
1) the talk about strings used by libcurl doesn't apply to libcurl >= 7.17.0
...
2) added nroff header
2007-08-22 11:28:26 +00:00
Gunter Knauf
5b4f50857a
for now comment the tls_start section...
2007-08-22 10:14:57 +00:00
Gunter Knauf
6f10a718e4
sync libssh2 paths with comments.
2007-08-21 03:04:46 +00:00
Gunter Knauf
658de40930
added targets to create the files missing in CVS which makes calling buildconf.bat obsolete;
...
removed obsolete wsock32 link lib.
2007-08-21 02:42:29 +00:00
Gunter Knauf
2c06e7f8ef
fixed wrong CLAGS define.
2007-08-20 23:31:57 +00:00
Gunter Knauf
fa1c916943
fixed warning with unused var;
...
removed now obsolete defines since we include now ldap headers which define these.
2007-08-20 23:31:26 +00:00
Daniel Stenberg
b132e865b9
Based on a patch by Christian Vogt, the FTP code now sets the upcoming
...
download transfer size much earlier to be possible to get read with
CURLINFO_CONTENT_LENGTH_DOWNLOAD as soon as possible.
2007-08-20 21:54:00 +00:00
Gunter Knauf
77431568d2
converted tabs to spaces.
2007-08-20 19:33:46 +00:00
Gunter Knauf
e16c1b8e28
removed trailing spaces.
2007-08-20 19:30:25 +00:00
Dan Fandrich
1a8d8aa227
Increase timeout for accept for improved reliability on loaded servers.
2007-08-20 17:53:38 +00:00
Gunter Knauf
d4c4fd6272
compile with ldaps by default since it seems to work fine so far.
2007-08-20 16:34:04 +00:00
Gunter Knauf
acb905231d
fixed ldaps section for OpenLDAP. Still not working, but at least it compiles now, and should serve as base to get it finally working. Also seems that the ifdefs can be arranged some better because the Solaris and Netscape/iPlanet/Mozilla LDAP SDKs seem to be closer to the Novell section than the OpenLDAP one.
2007-08-20 16:30:41 +00:00
Gunter Knauf
c915eac93c
added some comments about the paths and build options;
...
added define to build with ldaps support;
enabled build with the Novell LDAP SDK.
2007-08-20 16:21:51 +00:00
Gunter Knauf
72e675caee
dont set CURL_LDAP_HYBRID for MingW32 configure builds.
2007-08-20 15:51:45 +00:00
Gunter Knauf
e347cff0e4
added define for ldap_ssl.h.
2007-08-20 12:50:44 +00:00
Gunter Knauf
d79fdbc46e
ignore errors of the RM command; seems that the del command fails on W2K when the file to delete isnt found while on XP it only prints the warning but make continues....
2007-08-19 23:23:50 +00:00
Gunter Knauf
ab13c2f814
added some comments in the makefiles about build options.
2007-08-19 00:26:24 +00:00
Daniel Stenberg
138ca334f9
ignore all the binaries and the .deps and .libs
2007-08-17 22:33:25 +00:00
Daniel Stenberg
1aa82decea
- Robson Braga Araujo filed bug report #1776232
...
(http://curl.haxx.se/bug/view.cgi?id=1776232 ) about libcurl calling
Curl_client_write(), passing on a const string that the caller may not
modify and yet it does (on some platforms).
2007-08-17 22:31:51 +00:00
Daniel Stenberg
014fe6971e
remove stupid comment since there's no content in this test case
2007-08-17 22:24:51 +00:00
Daniel Stenberg
3217809294
Robson Braga Araujo filed bug report #1776235
...
(http://curl.haxx.se/bug/view.cgi?id=1776235 ) about ftp requests with NOBODY
on a directory would do a "SIZE (null)" request. This is now fixed and test
case 1000 was added to verify.
2007-08-17 22:22:43 +00:00
Daniel Stenberg
f3c7adcb54
NEXT soname bump
...
* #undef CURL_FTP_HTTPSTYLE_HEAD in lib/ftp.c to remove the HTTP-style headers
from being output in NOBODY requests over ftp
2007-08-17 22:21:41 +00:00
Daniel Stenberg
dcf698dc74
some keywords for future stats/coverage checks
2007-08-17 22:17:23 +00:00
Daniel Stenberg
54117be639
Moved the 5320 and 5322 into the 1000-series instead which is a documented
...
range. They are about FTP but the 100-199 range is full.
2007-08-17 22:11:25 +00:00
Daniel Stenberg
5a79532aee
Song Ma provided a patch that cures a problem libcurl has when doing resume
...
HTTP PUT using Digest authentication. Test case 5320 and 5322 were also
added to verify the functionality.
2007-08-17 20:21:32 +00:00
Gunter Knauf
29ac001aa6
fixed warning about uninitialized.
2007-08-16 15:23:39 +00:00
Gunter Knauf
ccba0d10b6
added basic ldaps support; for now its ifdef'd with HAVE_LDAP_SSL unless we know its fully working, and available with all LDAP SDKs.
...
Win32 requires to have the trusted CA in local keystore - I've not found yet a way to disable the cert check.
2007-08-16 14:08:47 +00:00
Gunter Knauf
7f7e42732d
added define PORT_LDAPS.
2007-08-15 16:17:32 +00:00
Patrick Monnerat
ca410ec2ca
Fix a potential buffer overflow bug in lib/version.c
2007-08-15 14:49:16 +00:00
Gunter Knauf
e5d8693865
added ldap_msgfree() to fix memory leak.
2007-08-15 08:18:37 +00:00
Gunter Knauf
46c92c0b80
added a dependency for libcares if build with ares support;
...
other minor makefile tweaks.
2007-08-14 18:39:26 +00:00
Dan Fandrich
7b5d148b1f
LDAP is no longer excluded on Minix.
2007-08-14 17:23:32 +00:00
Gunter Knauf
f4bc326670
updated NetWare docu about recent LDAP changes.
2007-08-14 16:43:52 +00:00
Gunter Knauf
327598e7b4
only include LDAP headers if we build with LDAP support.
2007-08-14 16:31:20 +00:00
Gunter Knauf
11caaad5f9
added -lwldap32 to link libs.
2007-08-14 14:48:25 +00:00
Gunter Knauf
3e0845e182
changed autoload dependent LDAP NLM.
2007-08-14 13:01:40 +00:00
Gunter Knauf
a2c7abea6c
trial to enable LDAP support again with patched Novell headers.
2007-08-14 12:02:10 +00:00
Daniel Stenberg
2f8f12e82e
Andrew Wansink provided an NTLM bugfix: in the case the server sets the flag
...
NTLMFLAG_NEGOTIATE_UNICODE, we need to filter it off because libcurl doesn't
unicode encode the strings it packs into the NTLM authenticate packet.
2007-08-14 10:28:21 +00:00
Daniel Stenberg
5cdcc2b3aa
the curl_multi_handle_control() idea
2007-08-14 10:11:34 +00:00
Dan Fandrich
652e2cf57c
Removed redundant dependency lines
2007-08-13 18:11:37 +00:00
Dan Fandrich
8ee5e95ab1
Removed unused variable.
2007-08-13 16:37:51 +00:00
Patrick Monnerat
22c61d8da6
Simplify and rename internal structure to avoid potential name clash with LDAP header file.
2007-08-13 13:03:08 +00:00
Daniel Stenberg
1b88990cbb
Fixed the LDAP_DEPRECATED #define as suggested by Daniel Johnson, and
...
indented some of the code to curl-style
2007-08-12 22:25:50 +00:00
Daniel Stenberg
df3e8e19c1
minor change in language for the --libcurl source header
2007-08-12 20:36:06 +00:00
Gunter Knauf
44dc36cc8f
disable LDAP since we can no longer compile due to header incompatiblities.
2007-08-12 00:48:10 +00:00
Daniel Stenberg
6d3701318d
Allen Pulsifer provided a patch that makes libcurl set the expected download
...
size earlier when doing HTTP downloads, so that applications and the
progress meter etc know get the info earlier in the flow than before.
2007-08-11 21:05:13 +00:00
Daniel Stenberg
d0edb47896
Patrick Monnerat modified the LDAP code and approach in curl. Starting now,
...
the configure script checks for openldap and friends and we link with those
libs just like we link all other third party libraries, and we no longer
dlopen() those libraries. Our private header file lib/ldap.h was renamed to
lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix)
just before this commit, just in case.
2007-08-11 20:57:54 +00:00
Gunter Knauf
b238e0b1b4
fixed warning with gcc 4.x (hopefully); dynamincally imported UseAccurateCaseForPaths() for CLIB port to be stonetime-compatible (NW 3.x).
2007-08-09 22:33:49 +00:00
Gunter Knauf
3f62bfb61d
fixed a warning which MingW gcc 4.2.1.
2007-08-09 21:05:05 +00:00
Dan Fandrich
c7a66d5af4
There's no need to ignore the User-Agent for this test.
2007-08-09 03:28:16 +00:00
Gunter Knauf
1866b95b7f
moved ugly CLIB define to nwos.c.
2007-08-08 20:09:08 +00:00
Dan Fandrich
668c204970
Song Ma noted a zlib memory leak in the illegal compressed header
...
countermeasures code path.
2007-08-08 17:51:40 +00:00
Gunter Knauf
af2d899d6b
removed asm rules since we have no asm in the sources, and this produced 2 warnings.
2007-08-08 17:07:16 +00:00
Gunter Knauf
d5ed9f787f
blocked ssize_t define for MingW32.
2007-08-08 16:59:43 +00:00
Patrick Monnerat
259f27b09f
Fix getsockname argument type
...
Improve "universal" alignment type in struct memdebug
2007-08-08 10:37:07 +00:00
Daniel Stenberg
c1b9356081
Usage of the BCURLOPT_PROGRESSFUNCTION callback is not recommended when using
...
the multi interface, but having the comment in here caused more questions than
we fixed problems so I remove it now. It still works fine.
2007-08-07 21:14:31 +00:00
Dan Fandrich
c669e1ae45
Fixed torture test for test 509
2007-08-07 18:24:49 +00:00
Gunter Knauf
10203cada9
moved HAVE_LONGLONG from makefiles to config-win32.h.
2007-08-07 17:40:56 +00:00
Daniel Stenberg
58b0415d36
add URL to more "generated public config.h" details
2007-08-07 13:01:36 +00:00
Patrick Monnerat
ad9cb40b6f
Some #if --> #ifdef
...
undef standard *printf before (re)defining them
2007-08-07 12:44:38 +00:00
Dan Fandrich
2e60ca382d
Fixed some icc compiler warnings.
2007-08-07 00:10:27 +00:00
Gunter Knauf
25920f4a14
Peteris Krumins pointed out that MingW32 doesnt provide a batch file to set the path to the bin folder.
2007-08-06 22:21:38 +00:00
Daniel Stenberg
160c302933
ontributors from the 7.16.4 release notes and a removed duplicate
2007-08-06 15:58:05 +00:00
Daniel Stenberg
dddc8e3374
removed the rsaglue hint since it doesn't apply to modern OpenSSL, and added
...
some brief hints about gssapi and libssh2
2007-08-06 15:54:38 +00:00
Daniel Stenberg
bccb1ee7cd
we now support GSS/Kerberos 5 for ftp file transfers!
2007-08-06 14:56:21 +00:00
Daniel Stenberg
26af759732
Patrick Monnerat updated the _FORM_DEBUG-enabled code, and I updated comments
...
based on his comments/suggestions.
2007-08-05 21:33:31 +00:00
Gunter Knauf
87fc4ad919
changed to use libssh2 0.16;
...
fixed link order in case libssh2 is build with zlib.
2007-08-04 23:35:23 +00:00
Daniel Stenberg
b214298960
another mirror
2007-08-04 20:58:53 +00:00
Daniel Stenberg
1926f4573d
Patrick Monnerat fixed curl_easy_escape() and curlx_strtoll() to work on
...
non-ASCII systems.
2007-08-04 20:47:59 +00:00
Dan Fandrich
7fe65aaf5b
Fixed a couple of compiler warnings.
2007-08-04 16:54:58 +00:00
Dan Fandrich
0d3d84e3ff
Refactored CreateConnection() somewhat to reduce its length by splitting
...
it into a few new functions.
Fixed a few leaks in out of memory conditions, including for test case 231.
2007-08-03 22:46:59 +00:00
Gunter Knauf
e789a3802c
fixed small fix issue I introduced with my previous commit.
2007-08-03 19:54:31 +00:00
Gunter Knauf
4aabbc5ac2
some more makefile fixes/changes.
2007-08-03 14:30:02 +00:00
James Housley
e7a50e37d6
Start adding some expanded error conversion of libssh2 errors.
2007-08-03 13:57:37 +00:00
James Housley
9fa05db83b
The previous commit to force the use of libssh2-0.16 by removing
...
LIBSSH2_APINO
2007-08-03 13:46:59 +00:00
Gunter Knauf
7ed58c4636
changed 'rm -f' to 'del /f' so it works without GnuUtils as Peteris Krumins pointed out; changed to use latest external libs.
2007-08-03 12:53:00 +00:00
Gunter Knauf
f2f7c18245
Peteris Krumins pointed out some MingW32 related build issues.
2007-08-03 11:46:00 +00:00
Gunter Knauf
efaab37698
Peteris Krumins pointed out that the standard MingW32 build depends on zlib; removed that, and added another option for zlib build, and renamed all other targets to reflect zlib dependency.
2007-08-03 11:24:22 +00:00
Daniel Stenberg
869319ce4a
SCP and SFTP support now requires libssh2 0.16 or later
2007-08-03 08:31:47 +00:00
Daniel Stenberg
252f16db02
remove left-over partly support for libssh2 0.14
2007-08-03 08:25:28 +00:00
Daniel Stenberg
72f5d6ba46
The SSH code now only works with libssh2 0.16 or later. Thus we must not
...
release the next curl until there is a libssh2 0.16 released.
2007-08-03 08:14:51 +00:00
Daniel Stenberg
5ec786b02e
Scott Cantor filed bug report #1766320
...
(http://curl.haxx.se/bug/view.cgi?id=1766320 ) pointing out that the libcurl
code accessed two curl_easy_setopt() options (CURLOPT_DNS_CACHE_TIMEOUT and
CURLOPT_DNS_USE_GLOBAL_CACHE) as ints even though they're documented to be
passed in as longs, and that makes a difference on 64 bit architectures.
2007-08-02 20:10:28 +00:00
Dan Fandrich
035ee257c8
Fixed a compiler warning.
2007-08-02 19:23:35 +00:00
Daniel Stenberg
188b08ca55
Patrick Monnerat's cleanup fix after my alloc-strings commit
2007-08-02 14:42:16 +00:00
Daniel Stenberg
6f750f3b57
Dmitriy Sergeyev reported a regression: resumed file:// transfers broke
...
after 7.16.2. This is much due to the different treatment file:// gets
internally, but now I added test 231 to make it less likely to happen again
without us noticing!
2007-08-02 14:09:08 +00:00
Daniel Stenberg
5a6dcdc36c
clarify that setting POSTFIELDS to NULL or "" is not enough to make a zero byte
...
POST
2007-08-02 13:26:06 +00:00
Daniel Stenberg
59c16a570f
argh, Greg Morse pointed out that the NTLM POST fix only worked if VERBOSE
...
was set, this should make it work for all cases!
2007-08-02 11:34:50 +00:00
Daniel Stenberg
50c10aa5bf
Patrick Monnerat and I modified libcurl so that now it *copies* all strings
...
passed to it with curl_easy_setopt()! Previously it has always just refered
to the data, forcing the user to keep the data around until libcurl is done
with it. That is now history and libcurl will instead clone the given
strings and keep private copies.
2007-08-01 21:20:01 +00:00
Daniel Stenberg
006878686c
Greg Morse reported a problem with POSTing using ANYAUTH to a server requiring
...
NTLM, and he provided test code and a test server and we worked out a bug
fix. We failed to count sent body data at times, which then caused internal
confusions when libcurl tried to send the rest of the data in order to
maintain the same connection alive.
(and then I did some minor reformatting of code in lib/http.c)
2007-08-01 12:58:04 +00:00
Daniel Stenberg
bd100b2a51
AIX 4 and 5 get to use non-blocking sockets
2007-07-30 22:54:02 +00:00
Daniel Stenberg
5b1bbffdff
Peter O'Gorman pointed out (and fixed) that the non-blocking check in
...
configure made libcurl use blocking sockets on AIX 4 and 5, while that
wasn't the intention.
2007-07-30 22:53:18 +00:00
Daniel Stenberg
16710a1c9b
users should use the CURLMOPT_TIMERFUNCTION rather than curl_multi_timeout
...
when using the socket API
2007-07-30 22:01:04 +00:00
Daniel Stenberg
ba5c71b79b
less blocking these days
2007-07-30 21:47:56 +00:00
Daniel Stenberg
f3799462c2
updated based on suggestion from Jeff Pohlmeyer
2007-07-30 21:47:44 +00:00
Daniel Stenberg
f01c6e51f4
Patrick Monnerat restored qssl successful compilation and loading
2007-07-30 21:41:12 +00:00
Daniel Stenberg
21d62118dc
give credit to Greg Zavertnik
2007-07-30 20:07:43 +00:00
Dan Fandrich
de55038e33
Properly set USE_SSL on OS/400
2007-07-30 17:08:26 +00:00
Dan Fandrich
ea908c23ae
Fixed compiler warning on non-SSL builds
2007-07-30 17:05:39 +00:00
Daniel Stenberg
844cbc701a
Added "4.15 FTPS doesn't work" and updated a few other sections slightly
2007-07-29 22:17:39 +00:00
Daniel Stenberg
f1fa7b8ba4
Bug report #1759542 ( http://curl.haxx.se/bug/view.cgi?id=1759542 ). A bad use
...
of a socket after it has been closed, when the FTP-SSL data connection is taken
down.
2007-07-29 12:54:05 +00:00
Daniel Stenberg
86ff3194fa
added missing part for the qsossl support
2007-07-27 08:33:32 +00:00
Daniel Stenberg
d460b601f9
added initial pkg-config file (attempt)
2007-07-26 21:56:47 +00:00
Dan Fandrich
48a06d1a7b
Removed unused variable.
2007-07-24 15:23:16 +00:00
Daniel Stenberg
813a1107f4
#if that should be #ifdef
2007-07-23 21:48:27 +00:00
Daniel Stenberg
b3461bab1d
Implemented the parts of Patrick Monnerat's OS/400 patch that introduces
...
support for the OS/400 Secure Sockets Layer library
2007-07-23 21:46:26 +00:00
Dan Fandrich
5ecd56d964
Implemented only the parts of Patrick Monnerat's OS/400 patch that renamed
...
some few internal identifiers to avoid conflicts, which could be useful on
other platforms.
2007-07-23 18:51:22 +00:00
Dan Fandrich
cc44fb1dc8
Log the "<CMD> wasn't handled" error normally since it is now expected
...
to occur in a couple of tests.
2007-07-23 17:51:43 +00:00
Gunter Knauf
77b0efdbc2
added 2 system libs necessary for linking OpenSSL 0.9.8e statically.
2007-07-23 01:05:34 +00:00
Daniel Stenberg
68653bcbdd
fix mess added in my previous commit
2007-07-22 10:19:53 +00:00
Daniel Stenberg
9af807a5ce
HTTP Digest auth fix on a re-used connection
2007-07-22 10:17:52 +00:00
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
Gunter Knauf
0de56e5535
added nwos.c so that it gets distributed with releases and tarballs.
2007-07-12 10:44:46 +00:00
Gunter Knauf
0878b14f79
added time loop to sockfilt.c in order to wait for SO_REUSEADDR;
...
added go_sleep() to util.c.
2007-07-12 01:07:49 +00:00
Marty Kuhrt
7d56f35388
Updated to match curl.h
2007-07-11 23:17:11 +00:00
Daniel Stenberg
d12759c73e
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.
2007-07-11 22:20:46 +00:00
Gunter Knauf
c0095d6dd9
removed now obsolete NETDB_DEFINE_CONTEXT macro calls.
2007-07-11 21:47:31 +00:00
Gunter Knauf
6a88eab067
updated makefile to compile nwos.c.
2007-07-11 21:38:28 +00:00
Gunter Knauf
a4f36558fc
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.
2007-07-11 21:34:22 +00:00
Dan Fandrich
5e1cd407a3
Added the first libcurl version to which the SSH options were added.
2007-07-11 19:21:38 +00:00
Gunter Knauf
2a1345ae9f
added netdb.h for NetWare CLIB since gethostname() is defined there.
2007-07-11 09:08:03 +00:00
Gunter Knauf
cf61c8d659
fixed endif comment.
2007-07-11 09:03:22 +00:00
Gunter Knauf
c39690486c
fixed endif comment.
2007-07-11 08:55:28 +00:00
Dan Fandrich
814b471d55
Added a code coverage section using gcc and gcov.
2007-07-10 22:55:51 +00:00
Daniel Stenberg
5119fb16d6
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).
2007-07-10 22:45:01 +00:00
Daniel Stenberg
dc2c70be07
Giancarlo Formicuccia reported and fixed a problem with a closed connection
...
to a proxy during CONNECT auth negotiation.
2007-07-10 22:31:13 +00:00
Dan Fandrich
19631f5d5f
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 ).
2007-07-10 22:27:16 +00:00
James Housley
a8d6b40736
The previous commits changed the error code
2007-07-10 22:26:59 +00:00
James Housley
8026d94c07
* 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
2007-07-10 22:26:32 +00:00
Dan Fandrich
93bd512357
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.
2007-07-10 22:23:16 +00:00
Daniel Stenberg
04d3a8c714
start working on 7.16.5...
2007-07-10 22:07:33 +00:00
Daniel Stenberg
4b1782c371
7.16.4 preps
2007-07-10 21:36:30 +00:00
Gunter Knauf
f84642197f
added better CodeWarrior detection (forgot to add with previos version).
2007-07-09 02:00:39 +00:00
Gunter Knauf
ec1b7a0eea
added better CodeWarrior detection;
...
added defines for setlocale().
2007-07-08 23:19:24 +00:00
Gunter Knauf
4b0e48cb4e
added better CodeWarrior detection;
...
moved autounload flag so that its used for both lib architectures.
2007-07-08 23:18:47 +00:00
Gunter Knauf
41df67fc2c
added better CodeWarrior detection.
2007-07-08 23:17:56 +00:00
Gunter Knauf
932d38323f
removed some obsolete include paths and defines.
2007-07-07 16:26:02 +00:00
Daniel Stenberg
74ad8516d7
Thomas J. Moore made it build with less warnings
2007-07-06 22:14:29 +00:00
Daniel Stenberg
ed4a16dbd1
Gavrie Philipson's change, updated numbers
2007-07-06 21:56:42 +00:00
Daniel Stenberg
e2bac4fe6f
add note about windows and dlls with CURLOPT_WRITEDATA
2007-07-06 20:14:03 +00:00
Gunter Knauf
836ffbfc22
fixed NetWare CLIB implementation of getpass_r()
2007-07-06 14:58:59 +00:00
James Housley
7fd4f82a45
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.
2007-07-05 12:48:34 +00:00
Dan Fandrich
598bc3968e
Add -a when running torture tests now that it's supported.
2007-07-05 01:38:00 +00:00
James Housley
29357151af
Fix spelling error in error message
2007-07-04 22:54:29 +00:00
Gunter Knauf
6606ae6fe0
add test for gettimeofday() so that HAVE_GETTIMEOFDAY gets defined.
2007-07-04 17:20:19 +00:00
Gunter Knauf
9f21f74fbd
enabled ares build.
2007-07-04 13:45:46 +00:00
Gunter Knauf
3760180320
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.
2007-07-04 10:54:15 +00:00
Gunter Knauf
056af4c9ac
added check for sys/param.h.
2007-07-04 09:01:40 +00:00
Gunter Knauf
07bf3c86b6
trial to catch problem with Daniels cross-mingw ares builds.
2007-07-03 18:18:40 +00:00
Gunter Knauf
4182803bc2
added NetWare CLIB-own header to solve gcc warnings.
2007-07-03 16:21:57 +00:00
Gunter Knauf
7509ef6b4e
few minor changes to make ares compile for NetWare CLIB architecture.
2007-07-03 16:00:36 +00:00
Gunter Knauf
70f8068d4d
fixed rule to build libcares when needed.
2007-07-03 00:50:40 +00:00
Gunter Knauf
a7513a8521
changed to build for CLIB / LIBC.
2007-07-03 00:42:11 +00:00
Gunter Knauf
3f7e541415
added libcares to static build if ares enabled.
2007-07-03 00:12:03 +00:00
Daniel Stenberg
f7e9a21c53
contributors from the 7.16.3 release notes
2007-07-02 22:04:36 +00:00
Gunter Knauf
f1537d45ca
sync'd with lib makefile changes: use var for awk; fixed RECV* / SEND* defines; debug var can be overwritten; added better compiler path handling.
2007-07-02 18:50:18 +00:00
Gunter Knauf
5a051617f3
some more makefile tweaks and hacks to deal with both lib architectures.
2007-07-02 18:42:14 +00:00
James Housley
55cd28283c
Fix problem with the indenting noticed by Pavel
2007-07-02 17:22:51 +00:00
Gunter Knauf
924665c84c
ignore make error when trying to copy curl.pdf which isnt in CVS.
2007-07-01 22:17:07 +00:00
Daniel Stenberg
fcfffbe2f2
mention the old name
2007-07-01 22:03:47 +00:00
Daniel Stenberg
54967d2a3a
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
2007-07-01 22:01:18 +00:00
Daniel Stenberg
667fd9a60b
Song Ma helped me verify and extend a fix for doing FTP over a SOCKS4/5 proxy
2007-07-01 21:28:14 +00:00
Gunter Knauf
892a24f4c4
changed RECV_* / SEND_* defines to correctly reflect NetWare APIs;
...
some more minor Makefile tidyups.
2007-07-01 21:06:41 +00:00
Gunter Knauf
f7676e9667
disabled 64bit type for CLIB build which removes compiler runtime dependency.
2007-07-01 16:55:37 +00:00
Gunter Knauf
8727803cf8
updated NetWare docu.
2007-07-01 12:09:25 +00:00
Gunter Knauf
73e13ef19d
added lib architecture to NLM description.
2007-07-01 01:33:51 +00:00
Gunter Knauf
e983cd5cd3
added HAVE_SYS_IOCTL_H define; added gcc runtime.
2007-06-30 23:53:54 +00:00
Gunter Knauf
ca3e5a6322
moved includes to setup.h so that the project headers also pick them up (eleminate gcc warning).
2007-06-30 23:45:57 +00:00
Gunter Knauf
c4931601c6
fixed path to Metrowerks tools and runtime since they changed between compiler versions.
2007-06-30 21:20:24 +00:00
Gunter Knauf
857492ac9e
minor patches to enable building for NetWare CLIB.
...
sent by Dmitry Mityugov.
2007-06-30 20:16:03 +00:00
Gunter Knauf
afdfa4bed2
minor patches to enable building for NetWare CLIB.
...
sent by Dmitry Mityugov.
2007-06-30 20:08:13 +00:00
Gunter Knauf
3fc6faf1ae
enabled building for NetWare CLIB architecture.
2007-06-30 20:02:51 +00:00
Gunter Knauf
c8a47bf662
revert previous patch since it turned out that older cp dont know this switch, argh!
2007-06-28 22:31:18 +00:00
James Housley
aed0cc6f2a
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().
2007-06-28 11:11:29 +00:00
Daniel Stenberg
d500c468fc
reality sync
2007-06-28 10:47:05 +00:00
Gunter Knauf
5df5a2aa54
fixed nasty cp warnings about not beeing able to preserve ownership.
2007-06-28 01:20:30 +00:00
Daniel Stenberg
9ca688c8e7
James Bursa's improvement
2007-06-27 21:35:17 +00:00
Daniel Stenberg
8edbe262d9
fix little flaw that could make the transfer loop end prematurely
2007-06-27 21:29:29 +00:00
James Housley
4cd7f85410
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
2007-06-27 20:15:48 +00:00
Gunter Knauf
edd35cab5c
removed trailing spaces.
2007-06-27 10:14:00 +00:00
Gunter Knauf
a2060effed
fixed wrong var name
2007-06-27 10:12:48 +00:00
Daniel Stenberg
33b9daaa4c
add an FTP rename example to 3.7
2007-06-26 21:53:46 +00:00
Daniel Stenberg
62f0f5571d
Robert Iakobashvili re-arranged the internal hash code to work with a custom
...
hash function for different hashes, and also expanded the default size for
the socket hash table used in multi handles to greatly enhance speed when
very many connections are added and the socket API is used.
2007-06-26 21:09:28 +00:00
James Housley
7a360de49d
The results for a list only directory should be sent to the callback
2007-06-26 20:23:10 +00:00
James Housley
1be4557694
ftp_list_only mode should list all file types, not just directories.
2007-06-26 19:12:58 +00:00
Daniel Stenberg
6a21738704
gah, adding missing braces, removed silly debug output, added new debug output
2007-06-25 14:17:52 +00:00
Daniel Stenberg
974fa1242a
Adjusted how libcurl treats HTTP 1.1 responses without content-lenth or
...
chunked encoding (that also lacks "Connection: close"). It now simply
assumes that the connection WILL be closed to signal the end, as that is how
RFC2616 section 4.4 point #5 says we should behave.
2007-06-25 13:58:14 +00:00
Daniel Stenberg
3dff58b3aa
fix the version string as well
2007-06-25 13:52:16 +00:00
Daniel Stenberg
abf8589f0d
start working towards 7.16.4
2007-06-25 09:34:44 +00:00
Daniel Stenberg
b8d006b9d7
7.16.3
2007-06-25 09:18:16 +00:00
Daniel Stenberg
af4edf10f5
As reported by "Tro" in http://curl.haxx.se/mail/lib-2007-06/0161.html and
...
http://curl.haxx.se/mail/lib-2007-06/0238.html , libcurl didn't properly do
no-body requests on FTP files on re-used connections properly, or at least
it didn't provide the info back in the header callback properly in the
subsequent requests.
2007-06-24 19:32:33 +00:00
Gunter Knauf
0f9e209534
added netware install target
2007-06-22 21:10:41 +00:00
Gunter Knauf
2aed8946b0
made debug flag settable from outside; add allways debug stuff when DB != NDEBUG
2007-06-22 21:10:17 +00:00
Daniel Stenberg
03b03f7b60
remove annoying debug output
2007-06-22 20:24:11 +00:00
Daniel Stenberg
a1b650ad7b
Gerrit Bruchhuser pointed out a warning that the Intel(R) Thread Checker
...
tool reports and it was indeed a legitimate one and it is one fixed. It was
a use of a share without doing the proper locking first.
2007-06-21 14:23:38 +00:00
Daniel Stenberg
d978f85d55
Adam Piggott filed bug report #1740263
...
(http://curl.haxx.se/bug/view.cgi?id=1740263). Adam discovered that when
getting a large amount of URLs with curl, they were fetched slower and
slower... which turned out to be because the --libcurl data collecting which
wrongly always was enabled, but no longer is...
2007-06-20 21:57:28 +00:00
James Housley
6e7f47da5b
If the creation of rsa and rsa_pub fail due to memory, don't try
...
other authentication methods. Terminate with a memory error.
2007-06-20 11:30:35 +00:00
James Housley
277bab0c7b
Check both variables, not the same one twice. Pointed out by Colin Hogben
2007-06-19 13:23:21 +00:00
Daniel Stenberg
fc3c5dae87
and fix another flaw in the singlecwd case when we get ftp://site.com/, also
...
from the #1739100 bug report
2007-06-19 12:33:28 +00:00
Daniel Stenberg
891dffb528
extra precaution to make PATH_MAX always be defined
2007-06-19 11:50:08 +00:00
James Housley
f0b361ecc1
Change rsa and rsa_pub from static arrays in ssh_conn to be dynamically
...
allocated when needed
2007-06-19 11:31:33 +00:00
James Housley
df7eed16dd
If LIBSSH2DEBUG was defined "i" was undefined
2007-06-18 22:28:40 +00:00
Daniel Stenberg
61db4f3e2a
Robson Braga Araujo filed bug report #1739100
...
(http://curl.haxx.se/bug/view.cgi?id=1739100 ) that mentioned that libcurl
could not actually list the contents of the root directory of a given FTP
server if the login directory isn't root. I fixed the problem and added three
test cases (one is disabled for now since I identified KNOWN_BUGS #44 , we
cannot use --ftp-method nocwd and list ftp directories).
2007-06-18 21:09:32 +00:00
Daniel Stenberg
fe85ae15f3
make the ftp-method multicwd case possible to LIST the root directory of a
...
server!
2007-06-18 21:04:45 +00:00
Daniel Stenberg
cc26cc5dcd
Test listing of root dir with the three ftp-methods. KNOWN_BUGS #44 make me
...
disable test 351 by default by I add the test case anyway to make it easier
to work on this problem in the future.
2007-06-18 21:04:05 +00:00
Daniel Stenberg
eb965e2a13
44. --ftp-method nocwd does not handle URLs ending with a slash properly (it
...
should list the contents of that directory). See test case 351.
2007-06-18 21:03:14 +00:00
Daniel Stenberg
4e35395d0e
Daniel Johnson reported the tests now run fine on OS X!
2007-06-18 08:57:13 +00:00
James Housley
b61b420cb8
Curl_ssh_connect() was using an uninitialized variable in one location.
...
Caught by the auto-builds
2007-06-16 16:58:02 +00:00
Daniel Stenberg
b0aa11fde7
Tom Regner added /usr/lib/misc to the path to scan for sftp to make the
...
sftp tests run fine on gentoo
2007-06-14 21:16:08 +00:00
Daniel Stenberg
b691102ec7
Shmulik Regev fixed a flaw in the multi interface that occurred when doing
...
HTTP CONNECT over a proxy
2007-06-14 14:42:21 +00:00
Daniel Stenberg
2785fe7f61
s/HAVE_POLL/HAVE_SYS_POLL_H
2007-06-14 14:15:21 +00:00
James Housley
db5d4bd811
Remove duplicate code that was left in as part of 1.35. This code
...
only affected sftp_sendquote() for the "chgrp/chmod/chown" commands.
This also fixed failure of test 614 on a system that previously failed.
2007-06-14 13:22:00 +00:00
Daniel Stenberg
dc3b3c6916
Make our own definitions of the POLL* defiens and the pollfd struct only get
...
done if the sys/poll.h file is missing, as we have seen machines with poll()
present but without the header file and machines that don't get HAVE_POLL
defined but that do have the sys/poll.h header file...
2007-06-14 11:21:48 +00:00
James Housley
82d3f97659
BUG FIX: When reading a directory listing that contains symlinks
...
with the latest libssh2, the listing would be truncated at the symlink.
Fix by looping on LIBSSH2_ERROR_EAGAIN, like the rest of the calls.
2007-06-14 10:36:53 +00:00
Daniel Stenberg
235632ed2c
Tom Regner provided a patch and worked together with James Housley, so now
...
CURLOPT_FTP_CREATE_MISSING_DIRS works for SFTP connections as well as FTP
ones.
2007-06-13 20:17:35 +00:00
Daniel Stenberg
68330c86e7
Rich Rauenzahn filed bug report #1733119
...
(http://curl.haxx.se/bug/view.cgi?id=1733119 ) and we collaborated on the fix.
The problem is that for 64bit HPUX builds, several socket-related functions
would still assume int (32 bit) arguments and not socklen_t (64 bit) ones.
2007-06-13 20:08:19 +00:00
James Housley
f37dc9168a
Restore functionality mistakenly removed in the previous commit
2007-06-13 17:13:44 +00:00
James Housley
17798ed740
Update documentation to reflect SFTP's ability to create directories on
...
upload. Some text provieded by Tom Regner
2007-06-13 15:02:34 +00:00
Gisle Vanem
05ba9f9fcd
libssh2_session_free() returns void. Fix "#endif".
2007-06-13 14:01:48 +00:00
James Housley
96f4af4db9
Commit Tom Regner's code for SFTP create missing directories. This patch
...
uses the --ftp-create-dirs flag to control if cURL will try and create
directories that are specified in an upload path, but don't exist.
2007-06-13 12:15:23 +00:00
James Housley
3ec7f8a25a
Add a define to protect the state machine from older versions of libssh2,
...
ie 0.14, that don't know about newer constants used in the state machine.
2007-06-13 11:27:41 +00:00
Daniel Stenberg
375cdf89ad
With lots of help from Rich Rauenza(?) in bug #1733119 , we introduce a fairly
...
complicated work-around for 64bit HPUX compiles. We do the fix using inline
static functions to make them follow the header file properly and thus get
used fine in the test suite too etc.
2007-06-12 21:39:21 +00:00
James Housley
ab7e7144ef
* Updates for the latest version of libssh2, specifically
...
libssh2_sftp_shutdown() and libssh2_session_free() can now return
LIBSSH2_ERROR_EAGAIN.
* Fix the _send() and _recv() return values so non-blocking works
2007-06-12 21:32:45 +00:00
James Housley
6f59e19b91
While connect and transfer works fine in non-blocking mode for the test
...
suite, transfer fails in the real world. So after connect set to blocking
as full non-blocking is migrated out.
2007-06-12 16:15:20 +00:00
Daniel Stenberg
7800b56dc8
mention James current work on ssh
2007-06-12 13:51:57 +00:00
James Housley
73c13220ee
Prevent the state machine from getting stuck in SSH_AUTH_HOST_INIT
2007-06-12 13:47:32 +00:00
James Housley
99e0597c7b
Convert Curl_ssh_connect() to run in a state machine for
...
LIBSSH2_APINO >= 200706012030. More to come...
2007-06-12 12:31:10 +00:00
Daniel Stenberg
3247ac1918
remove unused field in the state struct
2007-06-12 08:15:02 +00:00
Dan Fandrich
c45d44fee9
Wait longer for servers to start up since the ssh server needs to generate
...
keys the first time (which can take a while on a slow or loaded host).
Enforce a longer startup wait time for the ssh client SOCKS server, too.
Check for an error code from startnew() when starting any server.
2007-06-11 17:53:10 +00:00
Dan Fandrich
1e718a515a
We do not use RSA keys in the test suite.
2007-06-11 17:49:25 +00:00
Daniel Stenberg
d23d686de2
restore the correct timeout time that my previous commit broke
2007-06-11 13:35:33 +00:00
Daniel Stenberg
c8677e9d3f
Properly wait for the c-ares resolve to complete, hopefully the cure for
...
bug #1733955
2007-06-11 13:32:49 +00:00
Daniel Stenberg
a32eaffa77
Daniel Black's clarfication about the NTLM support
2007-06-11 07:27:02 +00:00
Gisle Vanem
1dcb99f0f7
constify 'hostname' in init_thread_sync_data(). Simply clear
...
the whole 'tsd' structure on exit in destroy_thread_sync_data().
2007-06-11 04:33:21 +00:00
Gisle Vanem
03bc2d34da
Squelsh some warnings for libssh older than 0.1.5.
2007-06-11 04:07:51 +00:00
Dan Fandrich
477e27f99d
Fixed the test harness so that it actually kills the ssh being used as
...
the SOCKS server.
2007-06-08 18:56:05 +00:00
Dan Fandrich
6a84d492f1
Improved compatibility with perl 5.0 on the 'open' calls.
2007-06-08 17:32:24 +00:00
Dan Fandrich
873d95a34c
Incorporated Daniel Black's test706 and test707 SOCKS test cases.
2007-06-08 17:21:40 +00:00
Dan Fandrich
1500e95839
Improved compatibility with perl 5.0 on the 'open' calls.
2007-06-08 17:03:50 +00:00
James Housley
4f8ebd1673
Curl_scp_done() needs to call libssh2_channel_free() to prevent a
...
memory leak, and it is the right thing to do.
2007-06-08 16:19:21 +00:00
James Housley
cd4e6fbcac
Fix to work with the latest CVS version of libssh2
...
* As of (LIBSSH2_APINO >= 200706012030) there are not *nb() functions
* As of (LIBSSH2_APINO >= 200706012030) most libssh2_*() functions
can return LIBSSH2_ERROR_EAGAIN to indicate that the call would block.
To make the code work as previously, blocking, all the code has been
updated so that when (LIBSSH2_APINO >= 200706012030) it loops simulating
blocking. This allows the existing code to function and not hold up
the upcoming release.
2007-06-08 16:02:57 +00:00
Daniel Stenberg
2fd2ca9dac
start working on 1.4.1
2007-06-08 09:01:33 +00:00
Daniel Stenberg
82d6240e7d
1.4.0 preps
2007-06-08 08:46:28 +00:00
Dan Fandrich
ad80490711
Changed the opens to work on older versions of perl.
...
Redirect ssh output to ssh.log
2007-06-07 22:42:26 +00:00
Dan Fandrich
38b490a310
Fixed a compiler warning on uClibc.
2007-06-07 22:24:53 +00:00
Daniel Stenberg
2ea052336f
bug #1720605 , There seems to be a problem when connecting to the Microsoft telnet server
2007-06-07 21:56:03 +00:00
Daniel Stenberg
3b9eefca89
Daniel S (6 June 2007)
...
- -s/--silent can now be used to toggle off the silence again if used a second
time.
Daniel S (5 June 2007)
- Added Daniel Black's work that adds the first few SOCKS test cases. I also
fixed two minor SOCKS problems to make the test cases run fine.
2007-06-07 21:47:29 +00:00
Dan Fandrich
073a6cea45
Renamed the sshd log file to sshd.log.
...
Added more options to the ssh config file to improve the consistency of
the test environment.
Force a rewrite of the ssh config files on every invocation.
Changed the opens to work on older versions of perl.
2007-06-07 21:42:33 +00:00
Dan Fandrich
345ffd1163
Cleaned up SOCKS tests. Use a magic port number instead of killserver
...
to do nonlistening server tests, like other tests.
2007-06-07 20:14:00 +00:00
Dan Fandrich
f0ffb35d55
Fixed some problems in starting SSH for use in SOCKS.
2007-06-07 19:49:09 +00:00
Daniel Stenberg
b4d2fbae6d
make -s/--silent properly toggle as it is documented
2007-06-06 20:08:40 +00:00
Daniel Stenberg
42a2138d11
the revert
2007-06-05 13:53:10 +00:00
Daniel Stenberg
e86dfd9688
added 703: a socks5 version of 702
2007-06-05 13:52:34 +00:00
Daniel Stenberg
a466b31574
Daniel Black's test suite fixes and initial test cases for SOCKS4/5 using
...
openssh
2007-06-05 13:50:59 +00:00
Daniel Stenberg
48064f8dee
if we read zero bytes from the proxy, the connection is broken and we need
...
to bail out
2007-06-05 13:42:23 +00:00
Daniel Stenberg
e71378d3c8
mark connect failures as non-connected when ConnectPlease() fails, like when
...
a connection through a socks proxy doesn't work
2007-06-05 13:41:50 +00:00
Daniel Stenberg
90d40aff72
Revered Ashish Sharma's multiple entries patch, as it caused memory madness
2007-06-04 21:33:02 +00:00
Daniel Stenberg
30808dca40
minor edit since getting an ID seems pointless when failure happens
2007-06-04 21:26:30 +00:00
Daniel Stenberg
8629620b1c
fix the bad bad bad mess this caused on name resolves returning more than
...
one name... Reported by James Bursa
2007-06-04 21:04:14 +00:00
Daniel Stenberg
25d2a27c64
Brad Spencer found and fixed three flaws in the code, found with the new
...
gcc 4.2.0 warning: -Waddress
2007-06-02 20:09:23 +00:00
Daniel Stenberg
b084dc8760
Brad House fixed VS2005 compiler warnings due to time_t being 64bit.
...
He also made recent Microsoft compilers use _strdup() instead of strdup().
2007-06-02 19:48:29 +00:00
Daniel Stenberg
2ae9536d32
Ashish Sharma provided a patch for supporting multiple entries in the
...
/etc/hosts file. Patch edited for coding style and functionality by me
(Daniel).
2007-06-02 19:42:25 +00:00
Daniel Stenberg
f5713dbb2e
ares_destroy_options() and ares_save_options() man pages by Brad House
2007-06-02 19:32:30 +00:00
Daniel Stenberg
b10ff9791b
ouch, two conditionals were turned backwards!
2007-06-01 21:24:34 +00:00
Daniel Stenberg
86a25239ec
do the update timer stuff even when CURLM_CALL_MULTI_PERFORM is returned
2007-06-01 21:01:57 +00:00
Daniel Stenberg
4c663ba9a8
When transferring 500 downloads in parallel with a c-ares enabled build only
...
to find that it crashed miserably, and this was due to some select()isms left
in the code. This was due to API restrictions in c-ares 1.3.x, but with the
upcoming c-ares 1.4.0 this is no longer the case so now libcurl runs much
better with c-ares and the multi interface with > 1024 file descriptors in
use.
2007-05-31 11:34:32 +00:00
Daniel Stenberg
713c9f8602
Feng Tu made (lib)curl support "upload" resuming work for file:// URLs.
2007-05-31 08:59:44 +00:00
Daniel Stenberg
14b9b823e6
make next version 1.4.0
2007-05-30 21:45:56 +00:00
Daniel Stenberg
6a674ded0e
first take at detecting a random device and seeding the random key using data
...
from it in randomize_key()
2007-05-30 21:37:17 +00:00
Daniel Stenberg
2faba57c85
Shmulik Regev brought cryptographically secure transaction IDs
2007-05-30 21:11:10 +00:00
Daniel Stenberg
79d59ec97b
Brad House added ares_save_options() and ares_destroy_options() that can be
...
used to keep options for later re-usal when ares_init_options() is used.
2007-05-30 20:49:14 +00:00
Daniel Stenberg
a49e78d9b7
Added CURLMOPT_MAXCONNECTS which is a curl_multi_setopt() option for setting
...
the maximum size of the connection cache maximum size of the multi handle.
2007-05-30 20:04:44 +00:00
Yang Tse
9583b51d80
In case of test failure, try not to show log files of other tests
2007-05-30 17:15:05 +00:00
Daniel Stenberg
670273968c
added ares_process_fd() to allow applications to ask for processing on
...
specific sockets and thus avoiding select() and associated functions/macros.
This function will be used by upcoming libcurl releases for this very
reason. It also made me export the ares_socket_t type in the public ares.h
header file, since ares_process_fd() uses that type for two of the arguments.
2007-05-30 12:58:47 +00:00
Daniel Stenberg
b6820b2674
remove really annoying debug output that makes life miserable when you do
...
hundreds of parallel transfers...
2007-05-30 09:24:06 +00:00
Daniel Stenberg
b9a6dfab03
When working with a problem Stefan Becker had, I found an off-by-one buffer
...
overwrite in Curl_select(). While fixing it, I also improved its performance
somewhat by changing calloc to malloc and breaking out of a loop earlier
(when possible).
2007-05-26 22:09:08 +00:00
Daniel Stenberg
8bd7197a8f
Primarily this fixes an off-by-one buffer overwrite (rare but still existing).
...
I also switched from calloc() to malloc() as a minor performance boost since
the rest of the code fills in the structs fine anyway - and they must for the
case when we use the stack-based auto variable array instead of the allocated
one.
I made the loop filling in poll_fds[] break when poll_nfds is reached as a
minor speed improvement.
2007-05-26 22:02:29 +00:00
Daniel Stenberg
ebb5e1db4b
Clarify a bit about the fact that easy handles remain in the multi stack when
...
transfers are done and need to be removed and closed or re-added.
2007-05-26 20:50:00 +00:00
Daniel Stenberg
4702807da8
make it a WARNING since this hits people hard in their faces
2007-05-26 20:47:33 +00:00
Daniel Stenberg
fe1fe64fd4
Rob Crittenden fixed bug #1705802
...
(http://curl.haxx.se/bug/view.cgi?id=1705802 ), which was filed by Daniel
Black identifying several FTP-SSL test cases fail when we build libcurl with
NSS for TLS/SSL. Listed as #42 in KNOWN_BUGS.
2007-05-25 21:56:27 +00:00
Daniel Stenberg
9d904ee41b
updated
2007-05-25 21:20:39 +00:00
Daniel Stenberg
fcc3e2ca34
Ravi Pratap fixed a flaw in the init_by_resolv_conf() function for windows
...
that could cause it to return a bad return code.
2007-05-25 21:11:28 +00:00
Daniel Stenberg
c25da51913
Song Ma filed bug report #1724016
...
(http://curl.haxx.se/bug/view.cgi?id=1724016 ) noticing that downloading
glob-ranges for TFTP was broken in CVS.
2007-05-24 21:11:18 +00:00
Daniel Stenberg
05ab8d291c
stay within 80 cols
2007-05-24 21:11:00 +00:00
Daniel Stenberg
70b1900dd1
'mytx' in bug report #1723194 ( http://curl.haxx.se/bug/view.cgi?id=1723194 )
...
pointed out that the warnf() function in the curl tool didn't properly deal
with the cases when excessively long words were used in the string to chop
up.
2007-05-24 20:58:25 +00:00
Daniel Stenberg
380e132da3
TFTP transfers are also blocking
2007-05-23 12:59:12 +00:00
Daniel Stenberg
f2eb3c1f79
fix the formatting of the trailing list
2007-05-23 12:51:52 +00:00
Daniel Stenberg
96c093f27c
Andre Guibert de Bruet fixed a memory leak when PKCS #12 parsing failed
2007-05-22 20:46:51 +00:00
Daniel Stenberg
a9d49769ff
Andre Guibert de Bruet fixed a memory leak in the function that verifies the
...
peer's name in the SSL certificate when built for OpenSSL. The leak happens
for libcurls with CURL_DOES_CONVERSIONS enabled that fail to convert the CN
name from UTF8.
2007-05-22 19:51:44 +00:00
Daniel Stenberg
d7616d8a0a
WaitForSingleObject() uses a millisecond timeout and CURL_TIMEOUT_RESOLVE is
...
counted in seconds...
2007-05-20 22:11:47 +00:00
Daniel Stenberg
826bbfc01c
better fix for the dl/ul counters
2007-05-18 10:40:43 +00:00
Daniel Stenberg
250f9670b7
Feng Tu reported that curl -w did wrong on TFTP transfers in
...
bug report #1715394 (http://curl.haxx.se/bug/view.cgi?id=1715394 ), and the
transfer-related info "variables" were indeed overwritten with zeroes wrongly
and have now been adjusted. The upload size still isn't accurate.
2007-05-18 10:32:48 +00:00
Daniel Stenberg
ed4936fd30
bail out with error codes on failures
2007-05-18 10:12:57 +00:00
Daniel Stenberg
4dd2628093
they spell five with a v...
2007-05-17 21:41:02 +00:00
Daniel Stenberg
8479785620
Feng Tu pointed out a division by zero error in the TFTP connect timeout
...
code for timeouts less than fice seconds, and also provided a fix for it.
2007-05-17 21:40:08 +00:00
Dan Fandrich
0427e94465
Added support for compiling under Minix 3.1.3 using ACK.
2007-05-17 06:04:44 +00:00
Dan Fandrich
09fd3b4935
Match file times occurring in the morning.
2007-05-16 17:45:53 +00:00
Dan Fandrich
3fef839f75
Added call to setvbuf (disabled by default for speed) to flush the
...
memdebug log file after every line and avoid losing the last few log
entries if curl crashes.
2007-05-15 00:36:56 +00:00
Dan Fandrich
ea43bb013b
Added support for quote commands before a transfer using SFTP and test
...
case 614.
Allow SFTP quote commands chmod, chown, chgrp to set a value of 0.
2007-05-15 00:28:50 +00:00
Dan Fandrich
b0a4c992e7
Added SFTP directory listing test case 613.
2007-05-14 22:03:42 +00:00
Dan Fandrich
85707460e5
Added FTPS upload tests 408 and 409.
2007-05-10 20:03:20 +00:00
Dan Fandrich
41ba7666f0
Kristian Gunstone fixed a problem where overwriting an uploaded file with
...
sftp didn't truncate it first, which would corrupt the file if the new
file was shorter than the old.
2007-05-09 18:24:27 +00:00
Dan Fandrich
4367e0513a
Added the list of SFTP post-quote commands, and fixed a few typos.
2007-05-09 18:05:14 +00:00
Dan Fandrich
ed998270aa
Added FTPS test cases 406 and 407
2007-05-08 22:14:30 +00:00
Daniel Stenberg
1b7f00b2a6
CURLE_FTP_COULDNT_STOR_FILE is now known as CURLE_UPLOAD_FAILED. This is
...
because I just made SCP uploads return this value if the file size of
the upload file isn't given with CURLOPT_INFILESIZE*. Docs updated to
reflect this news, and a define for the old name was added to the public
header file.
2007-05-08 11:34:31 +00:00
Daniel Stenberg
ad19f95f15
James Bursa fixed a bug in the multi handle code that made the connection
...
cache grow a bit too much, beyond the normal 4 * easy_handles.
2007-05-07 07:07:55 +00:00
Daniel Stenberg
bcfe3cb231
extended the description for the curl_multi_socket_action() change
2007-05-06 08:14:42 +00:00
Daniel Stenberg
805a5dcac8
42. Daniel Black filed bug report #1705802 where he accurately mentions that
...
several FTP-SSL test cases fail when we build libcurl with NSS for TLS/SSL:
http://curl.haxx.se/bug/view.cgi?id=1705802
2007-05-03 20:50:07 +00:00
Dan Fandrich
0b67ee7bad
Fixed a few typos.
2007-05-03 19:12:45 +00:00
Daniel Stenberg
9298037639
document the new 200alias behaviour
2007-05-03 12:30:33 +00:00
Daniel Stenberg
f7472075d7
Anders Gustafsson remarked that requiring CURLOPT_HTTP_VERSION set to 1.0
...
when CURLOPT_HTTP200ALIASES is used to avoid the problem mentioned below is
not very nice if the client wants to be able to use _either_ a HTTP 1.1
server or one within the aliases list... so starting now, libcurl will
simply consider 200-alias matches the to be HTTP 1.0 compliant.
2007-05-02 20:42:02 +00:00
Dan Fandrich
9f72db13c4
Fixed an out of memory handling issue with HTTP pipelines.
2007-05-02 19:13:56 +00:00
Daniel Stenberg
acc4868b78
Tobias Rundstrom reported a problem they experienced with xmms2 and recent
...
libcurls, which turned out to be the 25-nov-2006 change which treats HTTP
responses without Content-Length or chunked encoding as without bodies. We
now added the conditional that the above mentioned response is only without
body if the response is HTTP 1.1.
2007-05-02 17:35:47 +00:00
Daniel Stenberg
1afb67e31b
- Jeff Pohlmeyer improved the hiperfifo.c example to use the
...
CURLMOPT_TIMERFUNCTION callback option.
2007-05-02 13:52:38 +00:00
Daniel Stenberg
2f0539d880
- Set the timeout for easy handles to expire really soon after addition or
...
when CURLM_CALL_MULTI_PERFORM is returned from curl_multi_socket*/perform,
to make applications using only curl_multi_socket() to properly function
when adding easy handles "on the fly". Bug report and test app provided by
Michael Wallner.
2007-05-02 13:47:56 +00:00
Daniel Stenberg
6f7d0a7cbd
Merged _all_ old changelogs into the single CHANGES.0 file. Having a new one
...
for every year is giving us too many files! I also split out the changes
from 2006 from CHANGES to CHANGES.0 now.
2007-05-02 13:14:56 +00:00
Daniel Stenberg
3d513f7ab1
spell and language fix
2007-05-02 11:14:55 +00:00
Dan Fandrich
6c8e6549d0
Check the return code from curl_multi_add_handle()
2007-05-02 06:02:13 +00:00
Dan Fandrich
eec105daba
Fixed a logic error in the last patch and another out of memory issue.
...
Reduce the scope of some variables.
2007-05-02 00:50:06 +00:00
Dan Fandrich
19a80add95
Improved behaviour in out of memory conditions.
2007-05-01 20:52:05 +00:00
Dan Fandrich
93844f64ef
Use memcpy instead of strcpy to improve performance.
2007-05-01 20:50:50 +00:00
Daniel Stenberg
60588b2455
brlcad on #curl provided this patch (edited by me) since "configure will fail
...
looking for a C++ preprocessor on libtool-using projects" with the factory-
installed libtool version on Mac OS X.
2007-04-30 21:47:58 +00:00
Dan Fandrich
5187faeeb9
Improved the test harness to allow running test servers on other than
...
the default port numbers, allowing more than one test suite to run
simultaneously on the same host.
2007-04-30 20:15:33 +00:00
Dan Fandrich
1228ec9fbb
Fixed some tests to stop hard-coding the port number.
2007-04-30 19:05:48 +00:00
Dan Fandrich
717adfeb96
Rearranged some allocs so they will be freed correctly in the error path.
2007-04-29 07:04:29 +00:00
Daniel Stenberg
503557e5ce
Peter O'Gorman fixed libcurl to not init GnuTLS as early as we did before,
...
since it then inits libgcrypt and libgcrypt is being evil and EXITS the
application if it fails to get a fine random seed. That's really not a nice
thing to do by a library.
2007-04-28 21:01:30 +00:00
Daniel Stenberg
f611f42dcf
Frank Hempel fixed a curl_easy_duphandle() crash on a handle that had
...
been removed from a multi handle, and then fixed another flaw that prevented
curl_easy_duphandle() to work even after the first fix - the handle was
still marked as using the multi interface.
2007-04-28 20:27:07 +00:00
Daniel Stenberg
7a0e0c36c5
Move the explictit free of the range string to Curl_close() from Curl_disconnect()
...
since it easy-handle related and not connection-related.
2007-04-27 08:30:48 +00:00
Daniel Stenberg
61edee979f
oops, this was supposed to be properly removed
2007-04-27 08:19:48 +00:00
Daniel Stenberg
7a343a3f60
As a follow-up to the removal of the free of the range data in Curl_done() - this
...
moves and re-arranges how range/resume is setup and freed.
2007-04-27 08:18:47 +00:00
Daniel Stenberg
b4d3c4a76c
Peter O'Gorman found a problem with SCP downloads when the downloaded file
...
was 16385 bytes (16K+1) and it turned out we didn't properly always "suck
out" all data from libssh2. The effect being that libcurl would hang on the
socket waiting for data when libssh2 had in fact already read it all...
2007-04-26 21:30:29 +00:00
Dan Fandrich
f213d0db98
Added support in runtests.pl for "!n" test numbers to disable individual tests.
2007-04-25 23:18:52 +00:00
Dan Fandrich
6e835ef3aa
Fixed an out of memory handling issue.
2007-04-25 20:54:02 +00:00
Daniel Stenberg
ed8cb57151
Sonia Subramanian brought our attention to a problem that happens if you set
...
the CURLOPT_RESUME_FROM or CURLOPT_RANGE options and an existing connection
in the connection cache is closed to make room for the new one when you call
curl_easy_perform(). It would then wrongly free range-related data in the
connection close funtion.
2007-04-25 20:20:15 +00:00
Dan Fandrich
9bdb05b4d6
When displaying log files, truncate the really longs ones such as you
...
would get from a torture test.
2007-04-25 20:09:32 +00:00
Yang Tse
94b253fde7
Steve Little's fixes to allow compilation on VMS 64-bit mode
2007-04-25 03:00:10 +00:00
Dan Fandrich
61d7e720a5
Treat log files and -k the same when running torture tests as when not.
2007-04-24 23:28:57 +00:00
Dan Fandrich
17507eac85
Clear out FTP server options before each new client.
...
Wait for child processes to die to avoid creating zombies.
2007-04-24 21:30:39 +00:00
Daniel Stenberg
bc1ae973da
Robert Iakobashvili made the 'master_buffer' get allocated first once it is
...
can/will be used as it then makes the common cases save 16KB of data for each
easy handle that isn't used for pipelining.
2007-04-24 10:18:06 +00:00
Dan Fandrich
6a35841b2e
Added tests 610-612 to test more SFTP post-quote commands.
2007-04-23 23:00:38 +00:00
Dan Fandrich
28dde78dde
Added <postcheck> support to the test harness.
2007-04-23 22:58:45 +00:00
Dan Fandrich
37171809f6
Mention NSS, <postcmd> commands
2007-04-23 21:18:30 +00:00
Dan Fandrich
3398eca7c3
Changed another nonexistent host name to be under the haxx.se domain
...
to guarantee against it ever being valid.
2007-04-23 01:51:02 +00:00
Yang Tse
3616912d22
Avoid an unnecessary call to gettimeofday() when
...
using custom timeout values.
2007-04-22 18:17:46 +00:00
Daniel Stenberg
0abccc676d
--without-ssl disables OpenSSL only
2007-04-22 09:37:05 +00:00
Daniel Stenberg
a93af43974
- Song Ma's warning if -r/--range is given with a "bad" range, also noted in
...
the man page now.
2007-04-22 09:31:27 +00:00
Daniel Stenberg
0bbc759c0c
configure fix and new mirror
2007-04-22 08:51:11 +00:00
Daniel Stenberg
56a5c49ac0
clarify a bit on the follow-redirect logic and when curl switches from POST
...
to GET on redirect
2007-04-22 08:05:40 +00:00
Daniel Stenberg
02267eba4c
shell script assigns should not have spaces, hopefully fixes bug #1705177
2007-04-22 07:36:12 +00:00
Daniel Stenberg
cea9695bcf
Daniel Black filed bug #1704675 ( http://curl.haxx.se/bug/view.cgi?id=1704675 )
...
identifying a double-free problem in the SSL-dealing layer, telling GnuTLS to
free NULL credentials on closedown after a failure and a bad #ifdef for NSS
when closing down SSL.
2007-04-21 21:32:31 +00:00
Daniel Stenberg
92039629c7
Curl_ssl_close(): mark the connection as not using SSL anymore, to better
...
survive getting called twice
2007-04-21 21:24:53 +00:00
Gunter Knauf
c8d3327e92
fixed ARFLAGS for CodeWarrior build.
2007-04-21 15:32:35 +00:00
Dan Fandrich
043070f90e
Changed an error message slightly so it can be caught easier by the
...
autobuild logs scanner.
2007-04-20 17:16:32 +00:00
Daniel Stenberg
36626c4b6e
ifndef check the CURL_MAX_WRITE_SIZE define to allow this value to easier be
...
changed at build time (from command line or similar)
2007-04-20 07:19:36 +00:00
Yang Tse
7f33aae067
initialize pending_ms to zero to avoid compiler warning:
...
'pending_ms' may be used uninitialized in this function
2007-04-20 01:58:15 +00:00
Yang Tse
61022f3817
- Save one call to curlx_tvnow(), which calls gettimeofday(), in each of
...
Curl_socket_ready(), Curl_poll() and Curl_select() when these are called
with a zero timeout or a timeout value indicating a blocking call should
be performed.
These unnecessary calls to gettimeofday() got introduced in 7.16.2 when
fixing 'timeout would restart when signal caught while awaiting socket
events' on 20 March 2007.
- Move some loop breaking logic from the while clause into the loop,
avoiding compiler warning 'assignment within conditional expression'
2007-04-20 00:07:19 +00:00
Daniel Stenberg
bf648fcfc3
keep lines < 80 columns
2007-04-19 20:20:48 +00:00
Yang Tse
b0e909329e
fix comment and line spacing
2007-04-19 20:16:28 +00:00
Dan Fandrich
ae3d5949b8
Various test file cleanups, including using <servercmd> instead of writing
...
directly to ftpserver.cmd and removing unneeded empty sections.
2007-04-18 20:22:01 +00:00
Daniel Stenberg
c234b9d04b
clarify the comment about libssh2_sftp_write's return type
2007-04-18 20:15:22 +00:00
Daniel Stenberg
7a86740afd
- James Housley made SFTP uploads use libssh2's non-blocking API (if available)
2007-04-18 20:11:47 +00:00
Daniel Stenberg
8e719e3ef5
- Prevent the internal progress meter from updating more frequently than once
...
per second.
2007-04-18 20:02:41 +00:00
Dan Fandrich
66fc5498d2
Added test cases 296, 297 and 298 to test --ftp-method handling
2007-04-18 06:30:28 +00:00
Gunter Knauf
f30ae93a1f
added ranlib when library is created with ar.
2007-04-16 20:54:56 +00:00
Gisle Vanem
365e8eb78e
No need for USE_MANUAL. Use select_s() instead of select().
...
Added ares_getopt.o to program sample objects.
2007-04-16 16:52:56 +00:00
Daniel Stenberg
76627b322e
- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is a
...
function that deprecates the curl_multi_socket() function. Using the new
function the application tell libcurl what action that was found in the
socket that it passes in. This gives a significant performance boost as it
allows libcurl to avoid a call to poll()/select() for every call to
curl_multi_socket*().
2007-04-16 16:34:08 +00:00
Yang Tse
827228bd69
move linkage var declarations to ares_getopt.h
2007-04-16 15:35:34 +00:00
Gunter Knauf
69c5506b69
use Makefile.inc to determine sources.
2007-04-16 13:53:58 +00:00
Gunter Knauf
3a2e623fc8
ares_getopt() command-line parser function does not belong to actual c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
2007-04-16 13:17:26 +00:00
Daniel Stenberg
8aa9f01ed8
Jay Austin added "DH PARAMETERS" to the stunnel.pem certificate
2007-04-16 11:55:43 +00:00
Yang Tse
b0b6a853f6
ares_getopt() command-line parser function does not belong to actual
...
c-ares library. It is just a convinience source code helper function
for use in example programs adig.c and ahost.c
2007-04-16 09:08:15 +00:00
Yang Tse
0563a7a923
ares_getopt() command-line parser function does not belong to actual
...
c-ares library. It is just a convinience source code helper function
for use in example programs adig.c and ahost.c
2007-04-16 09:01:16 +00:00
Dan Fandrich
945ba7cb7e
Minor updates to --help output
2007-04-15 06:24:43 +00:00
Daniel Stenberg
e3dab1bea2
jayjwa added the "DH PARAMETERS" to make this work with recent stunnels
2007-04-14 20:29:09 +00:00
Daniel Stenberg
9c369c695d
updates
2007-04-14 20:27:11 +00:00
Gunter Knauf
011ccbc31a
removed unneeded brackets with NetWare implementation.
2007-04-14 16:55:17 +00:00
Gunter Knauf
f1596698ae
ups - c&p error.
2007-04-14 16:45:43 +00:00
Gunter Knauf
c60b52ab43
use system-own getpassword() function on NetWare.
2007-04-14 16:38:13 +00:00
Dan Fandrich
71a0d50f48
Added test cases 294 and 295 to test --ftp-account handling
2007-04-13 20:59:15 +00:00
Yang Tse
8d2a0fe85b
Fix test case 534 which started to fail 2007-04-13 due to the existance
...
of a new host on the net with the same silly domain the test was using
for a host which was supposed not to exist.
2007-04-13 11:35:19 +00:00
Yang Tse
b039d883e5
proper fix for compiler warning
2007-04-13 08:45:07 +00:00
Yang Tse
b3401ddbad
Take in account that it can be built with compiler debug info and
...
without the curl memory debugging leak detection code enabled.
2007-04-13 08:22:56 +00:00
Yang Tse
038fe54e21
fix compiler warning
2007-04-13 07:57:31 +00:00
Daniel Stenberg
4b5a65455e
update!
2007-04-12 21:53:18 +00:00
Daniel Stenberg
2566a5d4da
add a 'vc8' target that (re-)builds the */Makefile.vc8 files
2007-04-12 20:41:24 +00:00
Daniel Stenberg
c38c339480
Song Ma found a memory leak in the if2ip code if you pass in an interface
...
name longer than the name field of the ifreq struct (typically 6 bytes), as
then it wouldn't close the used dummy socket.
2007-04-12 20:09:19 +00:00
Yang Tse
ea74b4b8e1
update MSVC project files with ares_getopt()
2007-04-12 19:14:00 +00:00
Yang Tse
2364066be0
use ares_getopt for all platforms
2007-04-12 19:01:19 +00:00
Yang Tse
b36376e12d
add ares_getopt prototype
2007-04-12 18:59:46 +00:00
Yang Tse
8aae15b630
Rename function as ares_getopt()
2007-04-12 18:06:41 +00:00
Yang Tse
88bf2a2dc7
Replace tabs with spaces
2007-04-12 17:45:57 +00:00
Yang Tse
45847c5324
Add file ares_getopt.c
...
Original file name getopt.c Initial import into the c-ares source tree
on 2007-04-11. Lifted from version 5.2 of the 'Open Mash' project with
the modified BSD license, BSD license without the advertising clause.
2007-04-12 16:53:59 +00:00
Dan Fandrich
70cce4cddd
Work around an out of memory situation in Curl_ftp_done instead of
...
returning an error code, to allow connections to be torn down
cleanly since this function can be called AFTER an OOM situation
has already been reached.
2007-04-12 01:26:02 +00:00
Daniel Stenberg
42c0ac2008
start working on 7.16.3
2007-04-11 13:32:59 +00:00
Daniel Stenberg
70ddabbfb0
restart towards 7.16.3
2007-04-11 13:31:51 +00:00
Daniel Stenberg
e3716938bd
add recent contributors
2007-04-11 13:30:09 +00:00