Daniel Stenberg
4a9e12542d
7.13 coming up
2005-02-01 07:54:36 +00:00
Daniel Stenberg
21b4105454
somewhat nicer libcurl usage
2005-01-31 20:03:01 +00:00
Daniel Stenberg
d7648d94ca
htmltitle
2005-01-31 18:23:42 +00:00
Daniel Stenberg
883343ba63
HTML <head> parsing (with libxml) example code by Lars Nilsson.
2005-01-31 18:22:40 +00:00
Daniel Stenberg
16b5dc710f
four changes
2005-01-30 22:57:19 +00:00
Daniel Stenberg
686d767053
if the DO operation returns failure, bail out and close down nicely to
...
prevent memory leakage
2005-01-30 22:54:06 +00:00
Daniel Stenberg
ed3176dd6b
Let's add a cookie interface in 7.14
2005-01-30 13:26:12 +00:00
Daniel Stenberg
6a99ab098c
Bugfixed the parser that scans the valgrind report outputs. I noticed that it
...
previously didn't detect and report the "Conditional jump or move depends on
uninitialised value(s)" error.
When I fixed this, I caught a few curl bugs with it. And then I had to spend
time to make the test suite IGNORE these errors when OpenSSL is used since it
produce massive amounts of valgrind warnings (but only of the "Conditional..."
kind it seems).
So, if a test that requires SSL is run, it ignores the "Conditional..."
errors, and you'll get a "valgrind PARTIAL" output instead of "valgrind OK".
2005-01-30 12:56:36 +00:00
Daniel Stenberg
b03adde546
properly mark tests as requiring feature 'SSL'
2005-01-30 12:53:05 +00:00
Daniel Stenberg
e6034ea299
Use calloc() to save us the memset() call and terminate conn->host.name
...
properly, to avoid reading uninited variables when using file:// (valgrind)
2005-01-30 12:42:15 +00:00
Daniel Stenberg
c7f51ebeab
Clear the urlglob struct when allocated, since we might otherwise use
...
uninitialized variables. Pointed out to us by the friendly Valgrind.
2005-01-29 23:46:27 +00:00
Daniel Stenberg
9a820d7a98
include "url.h" for the Curl_safefree() proto
2005-01-29 22:38:45 +00:00
Daniel Stenberg
8dbaf534c8
Using the multi interface, and doing a requsted a re-used connection that
...
gets closed just after the request has been sent failed and did not re-issue
a request on a fresh reconnect like the easy interface did. Now it does!
(define CURL_MULTIEASY, run test case 160)
2005-01-29 22:31:06 +00:00
Daniel Stenberg
91f483c591
Define CURL_MULTIEASY when building this, to use my new curl_easy_perform()
...
that uses the multi interface to run the request. It is a great testbed for
the multi interface and I believe we shall do it this way for real in the
future when we have a successor to curl_multi_fdset().
2005-01-29 22:26:38 +00:00
Daniel Stenberg
c5b448038f
corrected the URL
2005-01-29 13:54:15 +00:00
Daniel Stenberg
c4ff5eb0ca
conn->ip_addr MUST NOT be used on re-used connections
2005-01-29 13:07:16 +00:00
Daniel Stenberg
0859cd2444
when using valgrind, include a much longer stack trace
2005-01-29 13:06:31 +00:00
Daniel Stenberg
59b45a90cc
multi interface: when a request is denied due to "Maximum redirects followed"
...
libcurl leaked the last Location: URL.
2005-01-29 12:01:20 +00:00
Daniel Stenberg
f661475962
Connect failures with the multi interface was often returned as "connect()
...
timed out" even though the reason was different. Fixed this problem by not
setting this timeout to zero when using multi.
2005-01-28 23:21:24 +00:00
Daniel Stenberg
54b02ecf09
adjusted to the moved unlock of the DNS entry
2005-01-28 22:22:59 +00:00
Daniel Stenberg
4551e7ce49
KNOWN_BUGS #17 fixed. A DNS cache entry may not remain locked between two
...
curl_easy_perform() invokes. It was previously unlocked at disconnect, which
could mean that it remained locked between multiple transfers. The DNS cache
may not live as long as the connection cache does, as they are separate.
To deal with the lack of DNS (host address) data availability in re-used
connections, libcurl now keeps a copy of the IP adress as a string, to be able
to show it even on subsequent requests on the same connection.
2005-01-28 22:14:48 +00:00
Daniel Stenberg
064bc3ecbc
Stephen More pointed out that CURLOPT_FTPPORT and the -P option didn't work
...
when built ipv6-enabled. I've now made a fix for it. Writing test cases for
custom port strings turned too tricky so unfortunately there's none.
2005-01-28 08:26:36 +00:00
Daniel Stenberg
cf38a4c470
test the EPRT/LPRT/PORT somewhat more
2005-01-27 23:03:02 +00:00
Daniel Stenberg
aacc79a3a3
Use the same work-around for the memdebug stuff as in the command line client,
...
to allow the contents of the env var decide the file name.
2005-01-27 22:40:56 +00:00
Daniel Stenberg
9864bf703d
a slightly involved work-around to prevent the debug-tracing from logging
...
a free-without-alloc as the first call
2005-01-27 15:59:01 +00:00
Daniel Stenberg
289a42f050
Make the debug build get the debug dump file path from the environment
...
variable to allow the test suite to better control where it ends up.
2005-01-27 15:51:03 +00:00
Daniel Stenberg
ade1e79b37
verify a part of the PORT line
2005-01-27 12:59:40 +00:00
Daniel Stenberg
2415724d5f
Make the server ignore the given PORT address, to make it possible to test
...
curl's -P option easier.
2005-01-26 23:18:31 +00:00
Daniel Stenberg
5463177f1f
added more official web and download mirrors
2005-01-26 12:05:33 +00:00
Daniel Stenberg
4efd751eda
new curlpp URL
2005-01-26 11:53:49 +00:00
Daniel Stenberg
2337efc3b1
fixed sort, mention C, the java binding is now maintained by Vic Hanson
2005-01-26 11:53:12 +00:00
Daniel Stenberg
b942a25a45
add number to the bugs to make them easier to refer to
2005-01-25 23:40:35 +00:00
Daniel Stenberg
beab9a9696
two known bugs
2005-01-25 22:21:42 +00:00
Daniel Stenberg
177dbc7be0
Ian Ford asked about support for the FTP command ACCT, and I discovered it is
...
present in RFC959... so now (lib)curl supports it as well. --ftp-account and
CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account
string after PASS have been sent away. The client responds with "ACCT [account
string]".) Added test case 228 and 229 to verify the functionality. Updated
the test FTP server to support ACCT somewhat.
2005-01-25 22:13:12 +00:00
Daniel Stenberg
f2e71edcbd
A minor "syntax error" in numerous test files corrected
2005-01-25 21:45:03 +00:00
Daniel Stenberg
fad6e5a5bc
new web mirror
2005-01-25 13:59:48 +00:00
Daniel Stenberg
52f6c437fe
--protocols is added in 7.13.0
2005-01-25 12:06:12 +00:00
Daniel Stenberg
80a8be6319
David Shaw contributed a fairly complete and detailed autoconf macro you can
...
use to detect libcurl and setup variables for the protocols the installed
libcurl supports: docs/libcurl/libcurl.m4
2005-01-25 09:29:05 +00:00
Daniel Stenberg
043d70fcdf
Use plain structs and not typedef'ed ones in the hash and linked-list code.
2005-01-25 00:06:29 +00:00
Daniel Stenberg
4f7e958969
two options less
2005-01-23 00:08:56 +00:00
Daniel Stenberg
53143910a1
\fI marked \fP more function calls etc.
2005-01-22 22:43:04 +00:00
Daniel Stenberg
95656cd7f3
If you're using libcurl as a win32 DLL, you MUST use the CURLOPT_WRITEFUNCTION
...
if you set CURLOPT_WRITEDATA - or you will experience crashes.
2005-01-22 22:24:17 +00:00
Daniel Stenberg
d8f79b263d
next release will be 7.13.0
2005-01-22 19:26:37 +00:00
Daniel Stenberg
51da8552c3
added a few items I plan to do
2005-01-22 09:03:55 +00:00
Daniel Stenberg
7e42cb61f7
FTP third transfer support overhaul. See CHANGES for details.
2005-01-21 09:32:32 +00:00
Daniel Stenberg
6c038680f9
clarify the struct name for CURLOPT_HTTPPOST
2005-01-21 08:56:04 +00:00
Daniel Stenberg
291a908f19
Added support for "verify" => "stripfile" to strip contents of the file that
...
is being checked.
Also made the server retrying sleep only one second instead of three, to reduce
some waiting when fooling around with the servers.
2005-01-20 22:48:43 +00:00
Daniel Stenberg
b264a03f89
Support file names passed to RETR that don't start with a number. In that
...
case, all non-numeric prefixing letters are cut off to figure out the test
number.
2005-01-20 22:47:31 +00:00
Daniel Stenberg
7472ede32a
Philippe Hameau found out that -Q "+[command]" didn't work, although some code
...
was written for it. I fixed and added test case 227 to verify it. The curl.1
man page didn't mention the '+' so I added it.
2005-01-20 22:22:12 +00:00
Daniel Stenberg
b5065e462b
add support for NOOP
2005-01-20 22:05:44 +00:00
Daniel Stenberg
8dd799b4bd
If you give a *_LARGE option you MUST make sure that the type of the passed-in
...
argument is a curl_off_t. If you use CURLOPT_INFILESIZE (without _LARGE) you
must make sure that to pass in a type 'long' argument. */
2005-01-20 14:24:56 +00:00
Daniel Stenberg
a38520c90d
added test226 too
2005-01-19 22:00:54 +00:00
Daniel Stenberg
3050ae57c0
Stephan Bergmann made libcurl return CURLE_URL_MALFORMAT if an FTP URL
...
contains %0a or %0d in the user, password or CWD parts. (A future fix would
include doing it for %00 as well - see KNOWN_BUGS for details.) Test case 225
and 226 were added to verify this
2005-01-19 21:56:02 +00:00
Daniel Stenberg
01205f772c
today's proxy fixes
2005-01-19 18:05:56 +00:00
Gisle Vanem
06ad5be3af
Don't copy 'stderr' for Win-CE in IPv6 code. Don't call
...
GetCurrentProcess() twice; use a local variable.
2005-01-19 10:20:55 +00:00
Daniel Stenberg
2fe3829e5e
add a URL to an article about making Apache support PUT
2005-01-19 10:09:15 +00:00
Daniel Stenberg
a0c8b9bc68
Stephan Bergmann pointed out two flaws in libcurl built with HTTP disabled:
...
1) the proxy environment variables are still read and used to set HTTP proxy
2) you couldn't disable http proxy with CURLOPT_PROXY (since the option was
disabled)
2005-01-19 09:36:44 +00:00
Daniel Stenberg
0406b1facf
skip sys/socket.h on windows CE
2005-01-18 15:13:23 +00:00
Daniel Stenberg
65dbee01e5
check for errno.h
2005-01-18 14:34:50 +00:00
Daniel Stenberg
b1080f7c9a
Cody Jones' enhanced version of Samuel Daz Garca's MSVC makefile patch.
2005-01-18 10:17:34 +00:00
Daniel Stenberg
7bfd58d41f
Add support for server 'ftp2' which is a second FTP server. Useful for 3rd
...
party transfer tests or tests that need two FTP servers.
2005-01-17 20:20:34 +00:00
Daniel Stenberg
3851c6aae2
support the new --id command line option, that allows a second (or third or
...
whatever) instance to run without overwriting the previous' logfiles
2005-01-17 19:49:12 +00:00
Daniel Stenberg
ae03fa7d8e
mention the name-prefix protocol guess thing
2005-01-17 14:57:21 +00:00
Daniel Stenberg
8a14dd25a9
updated the wording for -B/--use-ascii
2005-01-17 09:18:04 +00:00
Daniel Stenberg
e0bea7d541
Alex aka WindEagle pointed out that when doing "curl -v dictionary.com", curl
...
assumed this used the DICT protocol. While guessing protocols will remain
fuzzy, I've now made sure that the host names must start with "[protocol]."
for them to be a valid guessable name. I also removed "https" as a prefix that
indicates HTTPS, since we hardly ever see any host names using that.
2005-01-16 08:51:52 +00:00
Daniel Stenberg
534a8a05f3
mention --netrc in the -u description
2005-01-16 08:34:18 +00:00
Gisle Vanem
f5b8a26d9a
errrno can by freak accident become EINTR on DOS or
...
Windows (unrelated to select). select() can never set errno
to EINTR on Windows.
2005-01-15 09:26:07 +00:00
Daniel Stenberg
cf51f7fb65
output better error detection, like when ipv6 can't resolve
2005-01-15 09:21:51 +00:00
Daniel Stenberg
4d1f3d3cd0
Added README.hostip
2005-01-14 13:43:29 +00:00
Daniel Stenberg
f70b87b4c5
verify the protocol too
2005-01-14 09:39:20 +00:00
Daniel Stenberg
0e26355348
Inspired by Martijn Koster's patch and example source at
...
http://www.greenhills.co.uk/mak/gentoo/curl-eintr-bug.c , I now made the
select() and poll() calls properly loop if they return -1 and errno is
EINTR. glibc docs for this is found here:
http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html
This last link says BSD doesn't have this "effect". Will there be a problem
if we do this unconditionally?
S: ----------------------------------------------------------------------
2005-01-13 21:51:48 +00:00
Gisle Vanem
246ea56eab
Added dependencies.
2005-01-12 15:32:41 +00:00
Gisle Vanem
7c1bba315b
Added '-bd' option; target is a DLL.
...
Added dependencies.
2005-01-12 15:32:26 +00:00
Daniel Stenberg
9395cad379
support for retrieving used IP addresses
2005-01-11 22:26:00 +00:00
Daniel Stenberg
c5b2e85b47
Dan Torop cleaned up a few no longer used variables from David Phillips'
...
select() overhaul fix.
2005-01-11 20:22:44 +00:00
Gisle Vanem
38f8087281
Removed CURLTOOLDEBUG. It caused libcurl_wc.dll
...
to fail in mysterious ways.
2005-01-11 17:08:47 +00:00
Daniel Stenberg
e3fa7d021e
Renamed easy.h and multi.h to easyif.h and multiif.h to make sure they don't
...
shadow our public headers with the former names.
2005-01-11 15:25:29 +00:00
Gisle Vanem
a1813e2b2d
".\lib\easy.h" shadows for <curl/easy.h> in Watcom.
...
Force including ../include/curl/easy.h.
2005-01-11 14:59:24 +00:00
Gisle Vanem
2e62458eef
Fix '!if' expression.
2005-01-11 14:52:42 +00:00
Gisle Vanem
bb9e5565f2
".\lib\multi.h" shadows for <curl/multi.h> in Watcom.
...
Force including ../include/curl/multi.h.
2005-01-11 14:32:09 +00:00
Daniel Stenberg
29102befa6
Cyrill Osterwalder posted a detailed analysis about a bug that occurs when
...
using a custom Host: header and curl fails to send a request on a re-used
persistent connection and thus creates a new connection and resends it. It
then sent two Host: headers. Cyrill's analysis was posted here:
http://curl.haxx.se/mail/archive-2005-01/0022.html
2005-01-11 14:00:45 +00:00
Daniel Stenberg
9d1145598a
Bruce Mitchener identified (bug report #1099640 ) the never-ending SOCKS5
...
problem with the version byte and the check for bad versions. Bruce has lots
of clues on this, and based on his suggestion I've now removed the check of
that byte since it seems to be able to contain 1 or 5.
2005-01-10 23:32:14 +00:00
Daniel Stenberg
065e466f1a
Use Curl_easy_addmulti() to clear associations from easy handles to multi
...
handles. Include multi.h to get proto.
2005-01-10 11:42:20 +00:00
Daniel Stenberg
3ac00f32af
edited wording
2005-01-10 11:27:02 +00:00
Daniel Stenberg
21bb852750
Pavel Orehov reported memory problems with the multi interface in bug report
...
#1098843 . In short, a shared DNS cache was setup for a multi handle and when
the shared cache was deleted before the individual easy handles, the latter
cleanups caused read/writes to already freed memory.
2005-01-10 10:07:07 +00:00
Daniel Stenberg
83bab78bda
Hzhijun reported a memory leak in the SSL certificate code, that leaked the
...
remote certificate name when it didn't match the used host name.
2005-01-10 09:48:39 +00:00
Gisle Vanem
894ec46ef4
Note about the static lib requirement; -DCURL_STATICLIB.
2005-01-08 16:35:03 +00:00
Gisle Vanem
4eb1d3eb1b
Watcom additions.
2005-01-08 16:15:06 +00:00
Gisle Vanem
945423e83a
Added Watcom targets.
2005-01-08 16:12:27 +00:00
Gisle Vanem
9fd33c0b96
New file.
2005-01-08 16:06:37 +00:00
Gisle Vanem
3c09f2d2bd
Added Makefile.Watcom to EXTRA_DIST.
2005-01-08 16:03:45 +00:00
Daniel Stenberg
7b4bf6a22c
three recent bug fixes
2005-01-07 21:14:57 +00:00
Daniel Stenberg
b5b77f6367
disable the valgrind log checking
2005-01-07 21:11:24 +00:00
Daniel Stenberg
5a8097a4d5
fixed the valgrind log check and make it possible to disable it for a specific
...
test, see test 509
2005-01-07 21:11:13 +00:00
Daniel Stenberg
9cdf6fb64b
added test 199
2005-01-07 21:09:50 +00:00
Daniel Stenberg
a137223b4f
prevent a single byte read outside the string in test case 39
2005-01-06 22:54:37 +00:00
Daniel Stenberg
52e1ce9518
fixed #1097019 , multiple GET posts (-G) error
2005-01-06 22:25:35 +00:00
Daniel Stenberg
8127a34f98
recent events
2005-01-05 14:12:06 +00:00
Gisle Vanem
2dcb8b674f
Changed curl.dll to libcurl.dll.
2005-01-04 16:16:03 +00:00
Gisle Vanem
1e3b1b6e47
Minor comment fix.
2005-01-04 16:13:58 +00:00
Daniel Stenberg
9cdaae94cc
just narrowed some text to fit within 80 cols
2005-01-04 16:01:34 +00:00
Gisle Vanem
316e74be74
Removed _WIN32_WINNT to support IPv6 under Win-2K.
2005-01-04 16:00:14 +00:00
Daniel Stenberg
af69c4f4f7
Marty Kuhrt's VMS update
2005-01-03 19:17:10 +00:00
Daniel Stenberg
ad9648a215
reverted the bad naming of the implib names
2005-01-02 21:15:29 +00:00
Daniel Stenberg
1576f3319e
Alex Neblett's minor update
2005-01-02 19:19:32 +00:00
Daniel Stenberg
8ac90316d9
nah, don't use the system's getpass() function since it too often is limited
...
to 8(!) or similar lengths passwords
2004-12-26 09:17:38 +00:00
Daniel Stenberg
35ba5c826d
issue 54 - this takes sweat
2004-12-25 23:15:45 +00:00
Daniel Stenberg
4f4ffa98b5
Test case 241 fails on all systems that support IPv6 but that don't have the
...
host name 'ip6-localhost' in /etc/hosts (or similar) since the test case uses
that host name to test the IPv6 name to address resolver.
2004-12-25 22:51:37 +00:00
Daniel Stenberg
b7d92c3e03
--protocols, license, src/config.h.in
2004-12-25 22:30:31 +00:00
Daniel Stenberg
4ecf939452
./src/config.h.in is now removed from CVS. It is copied from the
...
lib/config.h.in file by buildconf
2004-12-25 22:10:38 +00:00
Daniel Stenberg
7ef6b05ef1
My reimplementation and cleanup of the getpass source code. We officially no
...
longer use Angus Mackay's getpass code due to the weirdo license his code was
donated to us under.
2004-12-25 22:08:02 +00:00
Daniel Stenberg
695f95aad1
mention the new --protocols
2004-12-24 09:02:23 +00:00
Daniel Stenberg
2a6ea6d7a7
David Shaw added --protocols, and thus the --feature no longer mentions what
...
protocols that are disabled.
2004-12-24 08:59:44 +00:00
Dan Fandrich
f5e0ff2170
Added LDAP library issue.
2004-12-23 22:34:00 +00:00
Daniel Stenberg
814d176b86
recent changes
...
and Merry Christmas!
2004-12-23 22:31:39 +00:00
Daniel Stenberg
3955b31362
David Shaw fixed the disable variables so that curl-config --feature works
...
correctly!
2004-12-23 08:48:59 +00:00
Daniel Stenberg
4b3fb5a01c
issue 47 in next release?
2004-12-22 22:46:05 +00:00
Daniel Stenberg
67abd4cd47
Rune Kleveland fixed a minor memory leak for received cookies with the (rare)
...
version attribute set.
2004-12-22 22:33:31 +00:00
Daniel Stenberg
58f4af7973
Marcin Konicki provided two configure fixes and a source fix to make curl
...
build out-of-the-box on BeOS.
2004-12-22 22:28:10 +00:00
Dan Fandrich
99befd3a15
C ensures that static variables are initialized to 0
2004-12-22 20:12:15 +00:00
Daniel Stenberg
3acda85c2b
added CURLINFO_HTTP_CONNECTCODE
2004-12-22 12:31:55 +00:00
Daniel Stenberg
dbb69797cf
uh, fixed!
2004-12-22 09:21:04 +00:00
Daniel Stenberg
2910880b15
Added: 4 protocols we _could_ support and the CONNECT HTTP/1.0 detail we might
...
fix one day.
2004-12-22 09:19:29 +00:00
Daniel Stenberg
8b5f0abef1
more about error codes
2004-12-21 21:35:00 +00:00
Daniel Stenberg
10b5327b19
test enforced chunked encoding with PUT on a local file
2004-12-21 20:19:05 +00:00
Daniel Stenberg
4ba1eb26fa
Added test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made the
...
-w option support 'http_connect' to make it easier to verify!
2004-12-21 19:59:35 +00:00
Daniel Stenberg
444f6427b8
oops, variables first then code
2004-12-21 14:33:37 +00:00
Daniel Stenberg
a173e07eec
Prevent failf() from using the va_list variable more than once.
...
See bug report #1088962 and Single Unix Specification:
http://www.opengroup.org/onlinepubs/007908799/xsh/vfprintf.html
2004-12-21 14:22:10 +00:00
Daniel Stenberg
3de85777de
mention how the FTP code should be fixed one day
2004-12-21 10:54:21 +00:00
Daniel Stenberg
f4c5314890
include sys/types.h before sys/select.h
2004-12-21 10:11:07 +00:00
Daniel Stenberg
1225ad58bd
set debug curl too when -c is used
2004-12-21 10:10:40 +00:00
Daniel Stenberg
951fdeba67
How do I list the root dir of an FTP server?
2004-12-21 09:37:55 +00:00
Dan Fandrich
327b46cced
Fixed a compile warning introduced by making the protocol table const. This
...
involves a binary-compatible change to the API struct curl_version_info_data
2004-12-20 21:14:45 +00:00
Dan Fandrich
80d301257c
Make some more arrays of pointers const.
2004-12-20 18:23:43 +00:00
Dan Fandrich
0e59182945
gcc 2.7 can't handle a few warning options that gcc 2.95 can.
2004-12-20 18:20:17 +00:00
Daniel Stenberg
7270d5ce26
start working on 7.12.4
2004-12-20 13:09:38 +00:00
Daniel Stenberg
a142d419d2
and we start all over again
2004-12-20 12:51:14 +00:00
Daniel Stenberg
23cf63f550
7.12.3
2004-12-20 12:35:02 +00:00
Gisle Vanem
13ee90bbd4
OpenSSL updates; get CA_BUNDLE from env. Assume no
...
Kerberos, have <pkcs12.h>, <engine.h> and built-in engines.
2004-12-19 11:52:31 +00:00
Gisle Vanem
754d6c3abd
Remove 'data' initialiser.
2004-12-19 11:39:34 +00:00
Daniel Stenberg
c6f6e81238
clarified a few changes
2004-12-19 10:11:03 +00:00
Daniel Stenberg
7803a1a28a
fixed the solaris pkcs12 build problem
2004-12-19 09:37:58 +00:00
Daniel Stenberg
3d647b9a98
if the pkcs12.h header exists, include it already in urldata.h to work around
...
a precedence problem with the zlib header. See CHANGES for details.
2004-12-19 09:37:32 +00:00
Daniel Stenberg
090a7f38be
check for openssl/pkcs12.h
2004-12-19 09:36:54 +00:00
Daniel Stenberg
8ad47a13e5
Samuel Listopad added support for PKCS12 formatted certificates.
2004-12-18 10:42:48 +00:00
Daniel Stenberg
497cc6bfaf
Samuel Listopad fixed -E to support "C:/path" (with forward slash) as well.
2004-12-18 10:28:31 +00:00
Daniel Stenberg
d5be114c07
mention the new cookie api plans
2004-12-18 10:28:04 +00:00
Daniel Stenberg
6e43a4ccce
Jean-Marc Ranger pointed out that the returned data doesn't survive a call
...
to curl_multi_remove_handle() either.
2004-12-18 10:24:49 +00:00
Dan Fandrich
a07dcfd850
Renamed a variable to avoid conflict with a C++ reserved word.
2004-12-17 20:18:53 +00:00
Gisle Vanem
321511a5be
Watcom has strtoll().
2004-12-17 19:57:50 +00:00
Gisle Vanem
c5297b9fd9
Watcom uses 'i64' suffix.
2004-12-17 18:33:09 +00:00
Gisle Vanem
7e00076586
<windows.h> required for Watcom.
2004-12-17 18:32:41 +00:00
Gisle Vanem
9a8ba19b73
s/_write/write/g
2004-12-17 18:31:40 +00:00
Gisle Vanem
41e776f9db
Fix calling convention of wlap32.dll function. Watcom
...
uses fastcall by default, so force cdecl.
2004-12-17 17:54:21 +00:00
Gisle Vanem
5c2d4a6bdd
Watcom has 'struct timeval'.
2004-12-17 17:49:10 +00:00
Gisle Vanem
83b709401c
Add libidn.a and iconv libraries if USE_IDNA=1.
2004-12-17 12:43:02 +00:00
Gisle Vanem
3590fffeae
Added option for using C-ares and libidn.
...
Dependencies generated from $(CSOURCES).
2004-12-17 12:38:06 +00:00
Gisle Vanem
5e2e87cc8d
getdate.c is gone.
2004-12-17 12:28:04 +00:00
Gisle Vanem
b1bdba7db5
Print true netrc name (.netrc/_netrc).
2004-12-17 12:26:18 +00:00
Daniel Stenberg
e3d342df96
avoid an extra malloc
2004-12-17 10:09:32 +00:00
Daniel Stenberg
ff54a74b4d
duplicate ! typo
2004-12-17 10:09:06 +00:00
Daniel Stenberg
ccf65be0a4
fixed minor memory leak when running out of memory
2004-12-17 09:00:19 +00:00
Daniel Stenberg
7dfef13224
oops, add missing return keyword
2004-12-17 08:58:48 +00:00
Daniel Stenberg
0b85e53af2
fix skip-reason
2004-12-16 22:45:06 +00:00
Daniel Stenberg
26cfb21c00
several windows large-file fixes
2004-12-16 22:22:26 +00:00
Daniel Stenberg
b7acdbcb4c
two more ftp directory re-use tests added
2004-12-16 22:22:11 +00:00
Daniel Stenberg
6e1e9caa32
Based on Gisle Vanem's patch: make sure the directory re-use works even when
...
a URL-encoded path is used.
2004-12-16 22:20:33 +00:00
Gisle Vanem
f71725de6e
Must include <io.h> and <sys/stat.h> before redefining
...
stat(), fstat() and lseek().
2004-12-16 21:27:29 +00:00
Dan Fandrich
26fe6da93b
Renamed a struct member to avoid conflict with a C++ reserved word.
2004-12-16 21:27:23 +00:00
Daniel Stenberg
8d4ac69175
reduced the number of sub-blocks
2004-12-16 18:18:23 +00:00
Daniel Stenberg
4f5a6a33b4
moved the lseek() and stat() magic defines to setup.h and now take advantage
...
of struct_stat in formdata.c as well, to support formpost uploads of large
files on Windows too
2004-12-16 18:09:27 +00:00
Gisle Vanem
ec8ee4404b
Support uploading and resuming of >2GB files.
...
Ref. lib/file.c.
2004-12-16 16:49:14 +00:00
Daniel Stenberg
e47b5d4e6c
Provide better reasons for why test cases are skipped. Also, don't show the
...
SKIPPED stuff in the short output. Some platforms get quite a lot of SKIPPED
and they don't add much value and only clutter screen space.
2004-12-16 14:18:11 +00:00
Daniel Stenberg
494c40fd98
NULL the fp pointer after it has been fclosed()
2004-12-16 13:55:19 +00:00
Daniel Stenberg
d3b414724b
Dinar in bug report #1086121 , found a file handle leak when a multipart
...
formpost (including a file upload part) was aborted before the whole file was
sent.
2004-12-16 09:52:36 +00:00
Dan Fandrich
38181fbc74
Fix the --enable-debug compiler warning options for older versions of gcc.
2004-12-15 21:09:53 +00:00
Daniel Stenberg
8847e61fca
yet another mirror!
2004-12-15 14:09:52 +00:00
Daniel Stenberg
95b84adb9b
precaution to prevent double typedefs of the bool
2004-12-15 14:05:07 +00:00
Daniel Stenberg
b34d161703
moved the bool typedef to setup.h
2004-12-15 10:33:51 +00:00
Daniel Stenberg
d88b3d3d5d
fixed how backslashes are treated in glob strings
2004-12-15 09:23:24 +00:00
Dan Fandrich
f2fb9039bd
Make some arrays of pointers const, too.
2004-12-15 03:03:45 +00:00
Dan Fandrich
a28b32aa45
Make some arrays of pointers const, too.
2004-12-15 02:32:04 +00:00
Dan Fandrich
1ba47e7af9
Add 'const' to immutable arrays.
2004-12-15 01:38:25 +00:00
Daniel Stenberg
9359498b06
clarify that the app must free the engine list
2004-12-14 22:47:13 +00:00
Daniel Stenberg
553082e24a
prevent compiler warning when built without engine support
2004-12-14 22:06:25 +00:00
Daniel Stenberg
dc28a9c0c1
make sure the ipv6 http server gets its pid stored in a separate file
2004-12-14 21:52:16 +00:00
Daniel Stenberg
1faef62d59
use the correct variables, not fixed values
2004-12-14 21:25:23 +00:00
Daniel Stenberg
0d0d5e7ee3
Harshal Pradhan fixed changing username/password on a persitent HTTP
...
connection.
2004-12-14 21:22:51 +00:00
Daniel Stenberg
4f567d0f81
mistake
2004-12-14 21:22:12 +00:00
Dan Fandrich
f23d923fd3
Only declare static variables if they're needed. Fixed some compile warnings.
2004-12-14 20:44:36 +00:00
Dan Fandrich
10d6d8b2ae
Header files are in openssl/ only if USE_OPENSSL is set.
2004-12-14 20:25:23 +00:00
Dan Fandrich
358e08b95d
Removed fputc() prototype since it's already in stdio.h
2004-12-14 20:17:58 +00:00
Gisle Vanem
e181eda253
Caller must free 'engines' list.
2004-12-14 14:24:04 +00:00
Gisle Vanem
7d3f5d7ac1
urldata.h: Removed engine_list.
...
ssluse.*: Added SSL_strerror(). Curl_SSL_engines_list() now returns a slist
which must be freed by caller.
2004-12-14 14:20:21 +00:00
Daniel Stenberg
37c7a695a2
Moved the CURLE_SSL_ENGINE_INITFAILED error code last in the list so that
...
the others remain at previous values.
2004-12-14 09:58:45 +00:00
Daniel Stenberg
07f107ae20
Moved the engine stuff from the root-level of the SessionHandle struct to the
...
UrlState sub-struct. Also made the engine_list exist for non-ssl builds to
make curl build.
2004-12-14 09:36:22 +00:00
Gisle Vanem
5c14b3be6d
Document CURLINFO_SSL_ENGINES and "--engine".
2004-12-13 20:14:04 +00:00
Gisle Vanem
1dc15ec1bc
Set 'data->state.os_errno = error' in some places.
...
Needed elsewhere too?
2004-12-13 17:52:55 +00:00
Gisle Vanem
6a9ed44088
Support for "--engine list" option.
...
Moved CURLOPT_SSLENGINE* options to after verbose mode is set.
Added a goto. Eek!
2004-12-13 16:47:36 +00:00
Gisle Vanem
bdb0620529
Added handling of CURLINFO_SSL_ENGINES;
...
Added Curl_SSL_engines_list(), cleanup SSL in url.c
(no HAVE_OPENSSL_x etc.).
2004-12-13 16:43:00 +00:00
Gisle Vanem
be9ea07e87
Handle new type CURLINFO_SLIST.
...
Handle new info list CURLINFO_SSL_ENGINES.
2004-12-13 16:37:27 +00:00
Gisle Vanem
4cf14e9f85
Added CURLcode CURLE_SSL_ENGINE_INITFAILED,
...
Added CURLINFO_SLIST type for returing a 'struct slist' in
curl_easy_getinfo().
Added CURLINFO_SSL_ENGINES.
2004-12-13 16:35:56 +00:00
Gisle Vanem
d02b2c4308
Fixed missing braces warning.
2004-12-13 11:31:01 +00:00
Daniel Stenberg
1687a9eb94
large file file:// resumes on windows
2004-12-13 10:58:37 +00:00
Daniel Stenberg
344c6a3725
Gisle's fix for resuming large file:// files on windows - slightly edited
...
by me.
2004-12-13 10:25:26 +00:00
Daniel Stenberg
f966dad306
Dan Fandrich did minor corrections to his SSL cleanup patch
2004-12-13 08:34:46 +00:00
Daniel Stenberg
887f41c062
Dan Fandrich added libcurl.pc.in to the dist
2004-12-13 08:34:17 +00:00
Daniel Stenberg
4b1350e467
when failing to verify a HTTP server, display what curl said on stderr to
...
help debugging. (when using ipv6 I fell over this server that didn't have
the ipv6 module loaded)
2004-12-12 23:31:45 +00:00
Gisle Vanem
22a0c57746
Missing 'in6addr_any' in MingW's lib. ld bug?
2004-12-12 20:14:25 +00:00
Daniel Stenberg
fec571f5b0
modified to use the current error code name, not the obsolete one
2004-12-11 22:18:11 +00:00
Daniel Stenberg
976285ccbc
undef more obsolete defines if CURL_NO_OLDIES is defined
2004-12-11 22:17:47 +00:00
Daniel Stenberg
9b3b7ad22e
HTTP IPv6 support added to the test suite
2004-12-11 21:41:00 +00:00
Daniel Stenberg
1b8ac7c6b5
provide an error string when resuming fails - and use the proper error code,
...
not the former one
2004-12-11 18:55:51 +00:00
Daniel Stenberg
bd2db87237
fixed error message
2004-12-11 18:55:23 +00:00
Daniel Stenberg
df3ca59116
Dan Fandrich:
...
Here's a stab at a consolidation of the SSL detection heuristics into
configure. Source files aren't changed by this patch, except for setup.h and
the various config*.h files. Within the configure script, OPENSSL_ENABLED is
used to determine if SSL is being used or not, and outside configure,
USE_SSLEAY means the same thing; this could be even further unified some day.
Now, when SSL is not detected, configure skips the various checks that are
dependent on SSL, speeding up the configure process and avoiding complications
with cross compiles. I also updated all the architecture- specific config
files I could see, but I couldn't test them.
2004-12-11 18:47:22 +00:00
Daniel Stenberg
3ca4509ae9
Dan F's initial pkg-config file (not installed yet)
2004-12-11 18:46:40 +00:00
Daniel Stenberg
d531926246
mention the maybe-missing initial zero in the vernum output
2004-12-11 18:38:47 +00:00
Daniel Stenberg
357fdb60b6
Dan Fandrich: added some missing files. "I can't try them so they might still
...
be broken, but at least they'll be less broken than they are now."
2004-12-10 21:58:11 +00:00
Daniel Stenberg
b6f855cb9b
Dan Fandrich corrects spelling mistakes
2004-12-10 21:56:35 +00:00
Daniel Stenberg
b6646310e8
Dan Fandrich extended the cross compile section and corrected spelling errors
2004-12-10 21:55:05 +00:00
Daniel Stenberg
070da3c08f
untabified
2004-12-10 21:46:00 +00:00
Daniel Stenberg
6b7f6369ec
username and IPv6 numerical address URL parser fix
2004-12-10 21:42:55 +00:00
Daniel Stenberg
309e3ce4f9
David Byron's debug build fix
2004-12-10 19:16:51 +00:00
Daniel Stenberg
8a4eb8ed45
move the port number extraction to after the extraction of user name/password,
...
as suggested by Kai Sommerfeld
2004-12-10 15:11:11 +00:00
Daniel Stenberg
eee70dcf8e
two new test cases for proxy-CONNECT with NTLM (one doing GET, one doing POST)
2004-12-10 14:48:03 +00:00
Daniel Stenberg
c0c885a1f3
don't try the rewind if no http struct is allocated yet
2004-12-10 14:45:35 +00:00
Daniel Stenberg
a7488672bf
configure and curl-config fixes
2004-12-10 09:46:14 +00:00
Daniel Stenberg
c1312cab1f
Added two chapters: Custom Request Elements and Debug.
2004-12-10 09:45:55 +00:00
Daniel Stenberg
8c833d375a
ignore the getpart tool
2004-12-09 09:58:45 +00:00
Daniel Stenberg
18f14ae23d
close the connection when a bad test number was requested
2004-12-09 09:58:25 +00:00
Daniel Stenberg
98adcdd466
Ton Voon provided a configure fix that should fix the notorious (mostly
...
reported on Solaris) problem where the size_t check fails due to the SSL libs
being found in a dir not searched through by the run-time linker.
patch-tracker entry #1081707 .
2004-12-09 09:27:30 +00:00
Daniel Stenberg
a2bd47c567
Bryan Henderson pointed out in bug report #1081788 that the curl-config
...
--vernum output wasn't zero prefixed properly (as claimed in documentation).
This is fixed in maketgz now.
2004-12-09 08:06:59 +00:00
Daniel Stenberg
7b3c308eb0
update the version numbers in the libcurl.plist automaticly on release
2004-12-08 23:09:46 +00:00
Daniel Stenberg
1be1d3cfb8
Matt Veenstra updated to 7.12.3. Starting now, we'll update the version number
...
in this file automatically on releases using the maketgz script.
2004-12-08 23:09:23 +00:00
Daniel Stenberg
b970469df9
Matt Veenstra:
...
- removal of getdate.c
- Added hostares.c, hostasyn.c, hostip4.c, hostip6.c, hostsync.c,
hostthre.c, inet_ntop.c, nwlib.c, parsedate.c, sterror.c, strtoofft.c
I have tested the build on 10.3, and will build on 10.2.8 in the next days.
2004-12-08 23:02:55 +00:00
Daniel Stenberg
80a324386b
Rene Bernhardt found and fixed a buffer overrun in the NTLM code, where
...
libcurl always and unconditionally overwrote a stack-based array with 3 zero
bytes. I edited the fix to make it less likely to occur again (and added
a comment explaining the reason to the buffer size).
2004-12-07 23:09:41 +00:00
Daniel Stenberg
163518778c
minor updates
2004-12-07 23:08:28 +00:00
Daniel Stenberg
7fd1ce4dc3
NORECURSE clarification, minor formatting update
2004-12-07 10:43:21 +00:00
Daniel Stenberg
c78ee11c41
CURLFTPSSL_ALL should make sure that the transfer fails if the data connection
...
isn't set to encrypted properly
2004-12-07 10:00:20 +00:00
Daniel Stenberg
4435e3b269
Fixed so that the final error message is sent to the verbose info "stream"
...
even if no errorbuffer is set.
2004-12-06 23:04:30 +00:00
Daniel Stenberg
b96a0dba90
Gisle Vanem's fix for better info messages when failing to connect using
...
the multi interface
2004-12-06 22:45:45 +00:00
Gisle Vanem
30dfc00a54
'crypto_engine' not used.
2004-12-06 16:36:50 +00:00
Gisle Vanem
fe5979cfdb
Replace MINGW32 with built-in __MINGW32__.
2004-12-06 14:43:04 +00:00
Daniel Stenberg
a1f7987ad8
HTTP PUT a to a FTP URL with username+password - over HTTP proxy
2004-12-06 12:54:50 +00:00
Daniel Stenberg
ac269a8f68
Dan Fandrich added the --disable-cookies option to configure to build
...
libcurl without cookie support. This is mainly useful if you want to build a
minimalistic libcurl with no cookies support at all. Like for embedded
systems or similar.
2004-12-05 23:59:32 +00:00
Daniel Stenberg
35944744f8
Richard Atterer fixed libcurl's way of dealing with the EPSV
...
response. Previously, libcurl would re-resolve the host name with the new
port number and attempt to connect to that, while it should use the IP from
the control channel. This bug made it hard to EPSV from an FTP server with
multiple IP addresses!
2004-12-05 23:33:33 +00:00
Daniel Stenberg
4b1c0bd1e7
CURLOPT_FTPSSLAUTH was added in 7.12.2
2004-12-03 11:25:06 +00:00
Daniel Stenberg
b7ff86fa2b
credit where credit is due
2004-12-03 11:06:05 +00:00
Daniel Stenberg
2c27e4ee76
Bug report #1078066 : when a chunked transfer was pre-maturely closed exactly
...
at a chunk boundary it was not considered an error and thus went unnoticed.
Added test case 207 to verify.
2004-12-03 09:31:25 +00:00
Daniel Stenberg
6ac9e67bd7
made the intended one hour default timeout in the CONNECT loop actually work
2004-12-02 23:30:13 +00:00
Daniel Stenberg
8726a6b6ed
comment cleanup
2004-12-02 22:52:14 +00:00
Daniel Stenberg
2f26069a41
test 206 - HTTP proxy CONNECT auth Digest
2004-12-02 17:11:19 +00:00
Daniel Stenberg
d6c155ff47
added comment about port number in CONNECT string being used as test number
2004-12-02 17:11:09 +00:00
Daniel Stenberg
15360e5e51
prevent an initial "(nil)" to get sent in the initial request when doing
...
CONNECT to a proxy with digest
2004-12-02 17:08:37 +00:00
Gisle Vanem
e587a56fc0
Use "HAVE_SYS_TYPES_H".
2004-12-01 13:41:22 +00:00
Daniel Stenberg
113531432a
make the "check" actually open all those file desciptors as well to make sure
...
it works, as it has proved to not work in some cases (like on Tor Arntsen's
AIX 5100-06 xlc 5.0 --disable-shared runs).
2004-12-01 10:34:46 +00:00
Gisle Vanem
bfa74c2649
alarm() works unreliable on djgpp 2.03. Don't use it.
2004-11-30 14:59:24 +00:00
Daniel Stenberg
6bb215f56c
recent changes
2004-11-30 10:21:25 +00:00
Daniel Stenberg
8b37844e5f
fixed test case errors
2004-11-30 10:20:59 +00:00
Daniel Stenberg
1445e62312
three new compress test cases
2004-11-30 09:54:16 +00:00
Daniel Stenberg
4781ff88fd
Fixed the array comparison function even more, made the temporary files used
...
for diff output get created in the log/ dir and no longer deletes them since
they help in understanding the problem, fixing the test case and fixing curl
problems.
2004-11-30 09:53:53 +00:00
Daniel Stenberg
c28e15c682
Dan Fandrich's fix for libz 1.1 and "extra field" usage in a gzip stream
2004-11-30 09:44:54 +00:00
Daniel Stenberg
fe0585ec91
no longer use the MIME::Base64.pm package as it seems to not be standard
...
on lots of perl versions, provide our own base64 decoder
2004-11-30 09:27:11 +00:00
Daniel Stenberg
18c0b49f3d
added test 221 to test a broken gzip content download
2004-11-29 22:37:52 +00:00
Daniel Stenberg
5d69c956ee
added test 220 - simple gzip auto decompress
2004-11-29 22:15:42 +00:00
Daniel Stenberg
93aa22ea08
--disable-epsv when connecting to an IPv6 ftp server
2004-11-29 21:45:25 +00:00
Daniel Stenberg
b7c6bc20be
removed comment
2004-11-29 21:44:40 +00:00
Daniel Stenberg
9bb4a95e08
include setup.h first
2004-11-29 21:44:23 +00:00
Daniel Stenberg
0966ddafaa
As reported in Mandrake's bug tracker bug 12285
...
(http://qa.mandrakesoft.com/show_bug.cgi?id=12285 ), when connecting to an
IPv6 host with FTP, --disable-epsv (or --disable-eprt) effectively disables
the ability to transfer a file. Now, when connected to an FTP server with
IPv6, these FTP commands can't be disabled even if asked to with the
available libcurl options.
2004-11-29 21:25:07 +00:00
Daniel Stenberg
c073625fb9
zero terminate the buffer spitout() returns, as the sws.c code depends on
...
that!
2004-11-29 18:26:09 +00:00
Daniel Stenberg
85dd4bfb8d
make it possible for a test case to depend on the feature 'libz'
2004-11-29 12:23:02 +00:00
Daniel Stenberg
5ae34aa8e1
killed trailing whitespace
2004-11-29 12:11:46 +00:00
Daniel Stenberg
0eb8414750
Enable test cases to provide sections base64-encoded to be able to test
...
with binary data.
2004-11-29 12:10:09 +00:00
Daniel Stenberg
09717d3fc8
utility to base encode data passed on stdin
2004-11-29 12:09:05 +00:00
Daniel Stenberg
81a3246a56
stricter newline policy
2004-11-29 12:01:07 +00:00
Daniel Stenberg
4c8fbe9abf
spell
2004-11-29 08:47:33 +00:00
Daniel Stenberg
c0d448f778
if gmtime() returns NULL, this returns -1 to bail out nicely
2004-11-29 08:10:10 +00:00
Daniel Stenberg
16e9a9eaef
removed one we won't do, removed the CWD optimize as it is (partly) done
2004-11-28 13:04:34 +00:00
Daniel Stenberg
0d7446c134
add more info to the stderr output
2004-11-28 08:57:03 +00:00
Daniel Stenberg
a4752673bb
typecast the coversion from long to int
2004-11-27 09:27:48 +00:00
Daniel Stenberg
9a0d5c4ed8
progress meter newline
2004-11-26 21:35:14 +00:00
Gisle Vanem
d85bc18178
I changed my mind. Remove ioctl() macro in setup.h instead.
2004-11-26 16:08:15 +00:00
Gisle Vanem
f0e66d8c76
Added anyauthput.exe.
2004-11-26 15:04:15 +00:00
Gisle Vanem
af114358c8
Renamed urldata.h members 'ioctl*' to 'ioctrl*' due to
...
clash with djgpp ioctl() macro in setup.h.
2004-11-26 14:57:01 +00:00
Daniel Stenberg
ffe17a8197
As reported in Mandrake's bug tracker bug 12289
...
(http://qa.mandrakesoft.com/show_bug.cgi?id=12289 ), curl would print a newline
to "finish" the progress meter after each redirect and not only after a
completed transfer.
2004-11-26 14:33:13 +00:00
Daniel Stenberg
2459e1e268
removed no longer used variable
2004-11-26 08:52:18 +00:00
Daniel Stenberg
a34a4af36a
last-second-before-commit changes corrected
2004-11-26 08:41:39 +00:00
Daniel Stenberg
bf51f05a50
FTP improvements:
...
If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on
the same server again even if a following request is made using a persistent
connection.
If a second request is made to a server, requesting a file from the same
directory as the previous request operated on, libcurl will no longer make
that long series of CWD commands just to end up on the same spot. Note that
this is only for *exactly* the same dir. There is still room for improvements
to optimize the CWD-sending when the dirs are only slightly different.
Added test 210, 211 and 212 to verify these changes. Had to improve the
test script too and added a new primitive to the test file format.
2004-11-25 22:21:49 +00:00
Daniel Stenberg
5d94ff5974
made the code fit within 80 cols
2004-11-25 16:49:14 +00:00
Daniel Stenberg
0d4ddfa743
mingw _has_ a ftruncate() but it doesn't work with 64bit file sizes so we
...
can just safely pretend we don't have one
2004-11-24 22:11:18 +00:00
Gisle Vanem
56c9899832
Provide a 64-bit capable ftruncate(). MingW has one, but
...
it takes only 32-bit offsets.
2004-11-24 19:34:25 +00:00
Daniel Stenberg
7b3fba1ad5
added missing new error string
2004-11-24 18:25:33 +00:00
Daniel Stenberg
700e3b685a
mingw has a ftruncate() function
2004-11-24 16:16:36 +00:00
Daniel Stenberg
3e1caa6185
HTTP "auth done right". See lib/README.httpauth
2004-11-24 16:11:35 +00:00
Daniel Stenberg
50eafb7668
decided to skip the MSVC makefile fixes, nobody seems to really want them
...
and they are rather excessive
2004-11-24 16:08:41 +00:00
Daniel Stenberg
25559ac02e
Andrs Garca fixed the configure script to detect select properly when run
...
with Msys/Mingw on Windows.
2004-11-24 15:49:43 +00:00
Gisle Vanem
51a87fa652
Clarify the static vs. import lib issue on Win32.
2004-11-24 15:14:42 +00:00
Daniel Stenberg
b2dad0342f
added a bunch of people who really deserve to be here
2004-11-23 22:15:49 +00:00
Daniel Stenberg
a5abce7982
oops, use the precheck too!
2004-11-23 10:05:10 +00:00
Daniel Stenberg
de3f22b288
cut out release with no issue to fix
2004-11-23 09:52:56 +00:00
Daniel Stenberg
be5cc378c8
introducing the client/precheck concept to allow test 518 to *only* run when
...
it actually can run and test the FD_SETSIZE stuff it is meant to test
2004-11-23 09:50:16 +00:00
Daniel Stenberg
4afc4aed73
yet another binding
2004-11-23 09:22:23 +00:00
Daniel Stenberg
a4e1ac7952
David Phillips fix for test 518 and my extension to make it not run on
...
systems that can't run it fine.
2004-11-22 22:26:46 +00:00
Daniel Stenberg
f84d2b4d36
trying a version with URLs for all function calls
2004-11-22 16:24:46 +00:00
Daniel Stenberg
b4c7876e4b
issue 52 is fixed, I work on 51
2004-11-22 15:49:17 +00:00
Daniel Stenberg
4207ef3d27
removed trailing whitespace
2004-11-22 14:41:36 +00:00
Daniel Stenberg
b3572269a4
removed unused variable and trailing whitespace
2004-11-22 14:41:24 +00:00
Daniel Stenberg
097d449cc1
remove curl_ prefix from functions not present in libcurl
2004-11-22 14:07:23 +00:00
Daniel Stenberg
7f44713487
re-indented to curl style
2004-11-22 13:48:35 +00:00
Daniel Stenberg
b7a6b78e0c
renamed curl_thread to my_thread to avoid confusion
2004-11-22 13:43:52 +00:00
Daniel Stenberg
855a9eff76
add URLs in comments for all libcurl function calls
2004-11-22 13:39:23 +00:00
Daniel Stenberg
8e34e75100
Curl_select's timeout arg is an int
2004-11-22 13:28:44 +00:00
Daniel Stenberg
4be60ac155
the FD_SETSIZE problem is fixed
2004-11-21 23:13:13 +00:00
Daniel Stenberg
5ec4501b9d
The FD_SETSIZE issue is already sorted, at least internally. We still need
...
to provide a better multi-API to allow apps to avoid select().
2004-11-21 13:18:36 +00:00
Daniel Stenberg
e80f566a14
added comment for windows people about READFUNCTION being needed
2004-11-21 12:42:28 +00:00
Daniel Stenberg
1729918777
Dan Fandrich fix to compile with libc5
2004-11-20 08:57:56 +00:00
Gisle Vanem
cef290c6b4
Enable >2GB files for MingW.
2004-11-19 15:15:52 +00:00
Gisle Vanem
539e34b5df
Suppress signed vs. unsigned warnings on Win32
2004-11-19 14:38:02 +00:00
Daniel Stenberg
765683403f
Curl_select() now uses curl_socket_t on socket arguments
2004-11-19 14:03:19 +00:00
Gisle Vanem
cca9fca894
ifdef for portable "/dev/null".
2004-11-19 13:50:41 +00:00
Gisle Vanem
2b403db811
Winsock sockets are not in range 0..FD_SETSIZE.
...
Shouldn't Curl_select() use curl_socket_t ?
2004-11-19 13:46:58 +00:00
Daniel Stenberg
03e7b7c95f
add select.obj
2004-11-19 13:45:46 +00:00
Daniel Stenberg
1a05a90f1c
David Phillips' FD_SETSIZE fix
2004-11-19 08:52:33 +00:00
Daniel Stenberg
dcea109bb5
Dan Fandrich fix: eliminates some pedantic CodeWarrior compiler warnings and
...
errors.
2004-11-18 14:04:40 +00:00
Gisle Vanem
d46a573bbe
Added revision tag.
2004-11-16 17:15:07 +00:00
Daniel Stenberg
7d0d19708a
Added README.httpauth to the dist
2004-11-16 14:24:54 +00:00
Daniel Stenberg
09f14efade
saved for the future
2004-11-16 14:02:24 +00:00
Daniel Stenberg
87753cda49
mention the openssl callbacks for SSL multithread
2004-11-16 08:49:51 +00:00
Daniel Stenberg
66f6f43056
added test case 517: 22 tests of the curl_getdate() function
2004-11-15 21:49:35 +00:00
Daniel Stenberg
86f059dcfb
tiny format fix for nicer man output
2004-11-15 21:41:21 +00:00
Daniel Stenberg
5931d43a36
clean up start time and t_startsingle use so that redirect_time works properly
2004-11-15 11:27:03 +00:00
Daniel Stenberg
8475a0df2f
new -w variables supported
2004-11-15 11:25:39 +00:00
Gisle Vanem
ccc4c9c02c
Added top_srcdir.
2004-11-15 10:41:58 +00:00
Gisle Vanem
16edb15600
Added revision id, test for USE_ARES.
...
Uses Makefile.inc.
2004-11-15 10:38:34 +00:00
Daniel Stenberg
9e7534a46e
binding for R
2004-11-15 08:54:29 +00:00
Gisle Vanem
737dddaec0
Changes for static/dynamic linking of libcurl.
...
No need to generate a dummy sys/utime.h. Cleanup.
2004-11-14 13:51:33 +00:00
Gisle Vanem
b5c90c9b05
Borland doesn't have <sys/utime.h>, utime() nor
...
_lseeki64().
2004-11-14 13:50:21 +00:00
Gisle Vanem
c3ecd552f5
Borland doesn't have <sys/utime.h> nor utime().
2004-11-14 13:49:09 +00:00
Gisle Vanem
56f0227c92
Static lib is libcurl.lib and import lib libcurl_imp.lib.
...
Added implib command. Cleanup
2004-11-14 13:48:15 +00:00
Daniel Stenberg
dcb5a4df01
Dan fixed the CURL_DISABLE_VERBOSE_STRINGS stuff for older gcc versions since
...
they don't support C99 varargs macros.
2004-11-13 21:57:33 +00:00
Gisle Vanem
fd64213c2f
MingW/djgpp: Use GNU make's internal 'cd' to avoid shell-troubles.
2004-11-13 16:57:56 +00:00
Gisle Vanem
fc2c06754c
Fix location of timeval.c.
2004-11-13 16:55:53 +00:00
Gisle Vanem
7ec200f4d1
Update comment.
2004-11-13 16:54:26 +00:00
Gisle Vanem
e53f139925
Add "-DCURL_STATICLIB" for static build.
...
Add ../lib/timeval.c for objects.
2004-11-13 15:47:17 +00:00
Gisle Vanem
61599ceb7b
Renamed import lib to "libcurl_imp.lib".
...
Some cleanup and making it more readable.
2004-11-13 14:17:41 +00:00
Gisle Vanem
6f8e3f106a
Set OpenSSL path to same as in ../lib/Makefile.vc6.
...
Import lib is now "libcurl_imp.lib".
Some cleanup and making it more readable.
2004-11-13 14:17:24 +00:00
Gisle Vanem
8fd676f73e
MSVC with static link must define CURL_STATICLIB.
...
zlib path set to same as in lib/Makefile.vc6.
2004-11-12 11:48:02 +00:00
Gisle Vanem
98a8103a3b
Netware target (hosted on Linux gcc) doesn't support
...
or need __declspec.
2004-11-12 11:45:05 +00:00
Daniel Stenberg
94043b1150
Dan Fandrich added the --disable-crypto-auth option to configure to allow
...
libcurl to build without Digest support. (I figure it should also explicitly
disable Negotiate and NTLM.)
2004-11-12 09:18:14 +00:00
Daniel Stenberg
1b02ad5e8a
format mistake fixed
2004-11-12 06:42:30 +00:00
Daniel Stenberg
4897587615
Dan Fandrich can spell, I cannot
2004-11-11 23:13:59 +00:00
Daniel Stenberg
8e2f57c82e
Dan Fandrich: make --disable-dict actually disable dict
2004-11-11 23:13:06 +00:00
Daniel Stenberg
c3323b1902
clarify and update according to commit made just now
2004-11-11 23:11:32 +00:00
Daniel Stenberg
59c063dfd3
Fix behaviour when passing NULL to CURLOPT_POSTFIELDS and CURLOPT_HTTPPOST.
2004-11-11 23:11:04 +00:00
Daniel Stenberg
8c16696f47
fix a IDN detect/use mistake
2004-11-11 22:01:53 +00:00
Daniel Stenberg
f68950db67
added some details on what to come
2004-11-11 16:56:34 +00:00
Daniel Stenberg
710e370c34
Dan Fandrich added --disable-verbose
2004-11-11 16:34:24 +00:00
Daniel Stenberg
7bb6d76d14
When libidn is detected without explicitly told to, we provide -L/lib and
...
-I/include options. Not anymore.
2004-11-11 14:41:37 +00:00
Daniel Stenberg
2467f814a8
fix the -I path to the proper include dir when --enable-debug is used
2004-11-11 14:15:41 +00:00
Gisle Vanem
a654ef9ee6
Adapted for C++.
2004-11-11 12:25:40 +00:00
Daniel Stenberg
c1688733c1
recent fixes
2004-11-11 09:51:12 +00:00
Daniel Stenberg
cd73a733c7
dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used
2004-11-11 09:26:09 +00:00
Daniel Stenberg
8ef8e949bd
fix curl.h include
2004-11-11 08:03:43 +00:00
Daniel Stenberg
49111a63e6
configure --with-gssapi fix
2004-11-10 21:43:41 +00:00
Daniel Stenberg
ee4ecf5155
Gisle's CURL_EXTERN fix
2004-11-10 15:50:33 +00:00
Gisle Vanem
3478253e5a
Replace IsNT with IS_NT().
2004-11-10 14:30:25 +00:00
Gisle Vanem
6ddc59dadf
Replace IsNT with IS_NT().
...
Return correct timeval in windows_port.c.
Squelch gcc warnings:
use 'ares_socket_t' in ares_fds.c.
Don't cast a 'lvalue' in ares_init.c.
2004-11-10 14:23:20 +00:00
Daniel Stenberg
dc8688b8dc
fix CURL_EXTERN for debug builds
2004-11-09 18:10:51 +00:00
Gisle Vanem
865e495188
Handle drive-letter on MS-DOS.
2004-11-09 14:57:11 +00:00
Gisle Vanem
d3c0ed007e
Removed libcurl.def
2004-11-09 14:55:23 +00:00
Daniel Stenberg
0dc79376e7
with all external functions marked with CURL_EXTERN it is easy to count them
...
and... yes, they are 46!
2004-11-09 14:42:04 +00:00
Gisle Vanem
3ccbed1022
Changes for removing libcurl.def file on Win32.
...
Mark public functions with "CURL_EXTERN".
2004-11-09 14:02:58 +00:00
Gisle Vanem
377e43fbb9
Changes for removing libcurl.def file on Win32.
...
Added "CURL_EXTERN" to memdebug.h functions.
Cleaned up Makefile.vc6.
2004-11-09 14:00:56 +00:00
Daniel Stenberg
1f2b042b95
today's work
2004-11-08 21:39:18 +00:00
Daniel Stenberg
fd49ba6c18
another lame change in an attempt to fix the moot gcc 3.4 warning
2004-11-08 21:31:57 +00:00
Daniel Stenberg
facfa19cdd
weirdo hack to fix debian bug report 278691:
...
'curl -v writes debugging to its network socket if stderr is closed'
2004-11-08 19:41:28 +00:00
Daniel Stenberg
3347ced899
added a default in the switch in an attempt to avoid the moot "will never be
...
executed" warning by gcc 3.4.0
2004-11-08 14:46:05 +00:00
Gisle Vanem
592686bee9
Change OS name. Fix header guard.
2004-11-08 14:21:24 +00:00
Gisle Vanem
f471a293ea
Un-do changes for WinCE; cdecl decoration is not needed.
...
Confirmed by Paul Nolan.
2004-11-08 14:20:14 +00:00
Daniel Stenberg
c688166066
check for and require tld.h to be present before libidn usage is activated
...
in the build, since libidn 0.3.X didn't have the header and we don't support
that old libidn versions anyway.
This was mentioned on the list by Jean-Philippe Barrette-LaPierre and in bug
report #1062264 .
2004-11-08 07:47:08 +00:00
Daniel Stenberg
5dcd2710d4
two post-1.2.1 changes
2004-11-07 23:48:42 +00:00
Daniel Stenberg
16d8383625
added ares_cancel and ares_version
2004-11-07 13:37:07 +00:00
Daniel Stenberg
6b49fd7483
Tim Sneddon's VMS fix for huge HTTP POSTs
2004-11-05 14:43:35 +00:00
Daniel Stenberg
f10985fc50
removed errno, added EAGAIN
2004-11-05 08:22:46 +00:00
Daniel Stenberg
edeac97773
it has a sys/stat.h file, according to Paul Nolan
2004-11-05 08:19:34 +00:00
Daniel Stenberg
40498ffdd0
update
2004-11-04 16:18:50 +00:00
Daniel Stenberg
fd884a3cd2
more retry stuff
2004-11-04 16:17:23 +00:00
Daniel Stenberg
1887629c5c
test server port numbers are now easily changed
2004-11-04 16:15:26 +00:00
Daniel Stenberg
d3be5b2725
delete trailing whitespace
2004-11-04 16:14:33 +00:00
Daniel Stenberg
2e973684c0
based Andres Garcia's patch, added for mingw build
2004-11-04 14:19:22 +00:00
Daniel Stenberg
ab909fc4c2
recent changes
2004-11-02 21:46:27 +00:00
Daniel Stenberg
4cd5220d27
use ifdef not if
2004-11-02 14:02:29 +00:00
Daniel Stenberg
24d47a6e07
Paul Nolan fix to make libcurl build nicely on Windows CE
2004-11-02 10:12:22 +00:00
Daniel Stenberg
8a66584db4
documented the current --retry options
2004-11-02 09:43:50 +00:00
Daniel Stenberg
186f433e40
modified to not use realloc() on a NULL pointer
2004-11-02 08:26:55 +00:00
Daniel Stenberg
736a40fec9
When cross-compiling, the configure script no longer attempts to use
...
pkg-config on the build host in order to detect OpenSSL compiler options.
2004-11-01 22:50:59 +00:00
Gisle Vanem
4245400ae4
Fixed _write() arguments.
2004-10-28 13:18:09 +00:00
Gisle Vanem
629bba6b35
*** empty log message ***
2004-10-28 13:13:29 +00:00
Daniel Stenberg
f6f2a9e4be
use longs
2004-10-28 07:23:19 +00:00
Daniel Stenberg
8bfcae65ef
Dan Fandrich's gzip handling fix
2004-10-27 21:46:11 +00:00
Daniel Stenberg
96cf615e9d
Added --retry and --retry-delay first attempt with four related test cases.
2004-10-27 21:29:55 +00:00
Daniel Stenberg
e9b3e1d031
log client disconnects
2004-10-27 14:18:57 +00:00
Daniel Stenberg
7167cde020
Testing to define _REENTRANT unconditionally in here.
2004-10-26 13:31:55 +00:00
Daniel Stenberg
2a80a4c521
mention how LDFLAGS=-R can be used (or LD_LIBRARY_PATH or ld.so.conf)
2004-10-26 08:09:16 +00:00
Daniel Stenberg
83f11b1c9b
mention incompatibilities with ares
2004-10-26 08:08:41 +00:00
Daniel Stenberg
a00e7f0f5e
Tomas Pospisek filed bug report #1053287 that proved -C - and --fail on a
...
file that was already completely downloaded caused an error, while it
doesn't if you don't use --fail! I added test case 194 to verify the fix.
Grrr. CURLOPT_FAILONERROR is now added to the list stuff to remove in
libcurl v8 due to all the kludges needed to support it.
2004-10-25 11:28:40 +00:00
Daniel Stenberg
e1607f5705
just nicer output when this is seen
2004-10-25 11:28:15 +00:00
Daniel Stenberg
cce931f27d
the array sizes _can_ differ and the arrays can still match, since chomp
...
is used at times but it doesn't decrease the array size
2004-10-25 11:28:01 +00:00
Daniel Stenberg
34089c93bb
format update
2004-10-25 11:05:37 +00:00
Daniel Stenberg
beb61ef429
Mohun Biswas found out that formposting a zero-byte file didn't work very
...
good. I fixed.
2004-10-24 22:31:40 +00:00
Daniel Stenberg
72aff74798
ignore this
2004-10-24 13:02:46 +00:00
Daniel Stenberg
8e715af480
maketgz now creates a ares_version.h.dist file with the given version data
...
properly set, and the Makefile.am is now fixed to use that when building
a new package with make dist.
2004-10-24 13:02:09 +00:00
Daniel Stenberg
2730842559
Dan Fandrich's better ifdef for include fix
2004-10-21 08:22:07 +00:00
Daniel Stenberg
cac269cf91
1.2.1 release time
2004-10-20 08:01:38 +00:00
Daniel Stenberg
249036ada0
this change was reverted since it broke on solaris
2004-10-19 18:50:46 +00:00
Daniel Stenberg
18d80b9e8f
iconv 2.1.3 is considered bad for test case 165
2004-10-19 18:49:31 +00:00
Daniel Stenberg
b2d8e0b476
revert the charset fix as it broke the solaris tests (native iconv doesn't
...
like that name)
2004-10-19 18:46:12 +00:00
Daniel Stenberg
225a652021
Ralph Mitchell fixed: input field with NAME= and VALUE= weren't processed
...
properly case insensitive
2004-10-19 18:36:17 +00:00
Daniel Stenberg
38b1d96750
Alexander Krasnostavsky made it possible to make FTP 3rd party transfers with
...
both source and destination being the same host. It can be useful if you want
to move a file on a server or similar.
2004-10-19 18:26:35 +00:00
Daniel Stenberg
2f069ad3e2
snart isn't really used these days so we cut out the reference to it
2004-10-19 15:34:05 +00:00
Daniel Stenberg
a3dbe03e80
added num_connects
2004-10-19 15:32:31 +00:00
Daniel Stenberg
f4bef25b5e
CURLINFO_NUM_CONNECTS and more
2004-10-19 15:30:08 +00:00
Gisle Vanem
ebf7d22503
djgpp has locale.h and setlocale().
2004-10-19 10:14:06 +00:00
Gisle Vanem
9296d9deb8
All Win compilers have locale.h + setlocale().
2004-10-19 10:13:26 +00:00
Daniel Stenberg
7b95a25adc
bug 1049275 fixes test 165
2004-10-19 06:04:25 +00:00
Daniel Stenberg
82d6cfa7fc
Peter Wullinger pointed out that curl should call setlocale() properly to
...
initiate the specific language operations, to make the IDN stuff work better.
2004-10-18 13:37:18 +00:00
Daniel Stenberg
48750d5fc7
start over on 7.12.3
2004-10-18 08:42:44 +00:00
Daniel Stenberg
4f0258ec09
7.12.2
2004-10-18 07:48:28 +00:00
Daniel Stenberg
db4d0d307a
new mirror
2004-10-17 07:48:00 +00:00
Daniel Stenberg
2baf22e184
today's changes
2004-10-16 14:07:31 +00:00
Daniel Stenberg
21d5aead47
Alexander Krasnostavsky made the CURLOPT_FTP_CREATE_MISSING_DIRS option work
...
fine even for third party transfers.
2004-10-16 14:06:54 +00:00
Daniel Stenberg
f40c9b83df
libcurl leaked memory for cookies with the "max-age" field set.
2004-10-16 13:54:40 +00:00
Gisle Vanem
b9e082b811
Changes for issue 50
2004-10-16 13:20:33 +00:00
Gisle Vanem
0bfa601a9f
Open "debugit" in binary mode ("rb").
2004-10-16 13:17:15 +00:00
Gisle Vanem
e356420123
Added Traian Nicolescu's patches for threaded resolver on
...
Windows. Plugged some potential handle and memory leaks.
Refs.
http://curl.haxx.se/mail/lib-2004-10/0134.html
http://curl.haxx.se/mail/lib-2004-10/0157.html
2004-10-16 12:59:05 +00:00
Daniel Stenberg
e8f85cba0f
Eric Vergnaud pointed out that libcurl didn't treat ?-letters in the user name
...
and password fields properly in URLs, like
ftp://us?er:pass?word@site.com/. Added test 191 to verify the fix.
2004-10-14 13:44:54 +00:00
Daniel Stenberg
1aba99b1e7
use quotes to make gdb usage on this easier
2004-10-14 13:44:16 +00:00
Daniel Stenberg
12815d7cd6
let's fix this too
2004-10-14 13:34:42 +00:00
Gisle Vanem
9deb76ce3e
Set errno = ENOMEM on faild countcheck().
2004-10-13 19:11:46 +00:00
Daniel Stenberg
c98676068e
.NET binding
2004-10-13 08:46:36 +00:00
Daniel Stenberg
b534f74bf4
correction
2004-10-12 18:20:36 +00:00
Daniel Stenberg
411e9b0c45
#include "strerror.h" to get the strerror proto
2004-10-12 12:49:38 +00:00
Daniel Stenberg
3fa1879f6a
recent fixes
2004-10-12 12:47:38 +00:00
Daniel Stenberg
d30cf22c12
one item fixed, one added for 7.12.2 and two more for 7.12.3
2004-10-12 12:47:31 +00:00
Daniel Stenberg
557b6cfd3f
add proper error message when send() fails
2004-10-12 07:24:19 +00:00
Daniel Stenberg
84bf03b365
removed trailing whitespace
2004-10-11 17:26:24 +00:00
Daniel Stenberg
34342bcd19
SO_NOSIGPIPE
2004-10-11 17:23:41 +00:00
Daniel Stenberg
5322a86313
another lame attempt to avoid the "warning: will never be executed" warning
...
by gcc 3.4
2004-10-10 14:36:22 +00:00
Gisle Vanem
1dc50e21c4
MSVC uses 'i64' suffix for 64-bit sizes.
2004-10-10 14:08:05 +00:00
Daniel Stenberg
1eddbb1b47
attempt to make the configure output appear in the build log when it runs
...
on my solaris 2.7 box too (currently unknown perl version)
2004-10-10 07:51:25 +00:00
Daniel Stenberg
bb8591cf54
set the SIZEOF_LONG define to get the new lib/strtoofft.h fine
2004-10-10 07:45:41 +00:00
Daniel Stenberg
a7913a62a9
If long is 8 bytes we can use strtol() to get 64 bit numbers and won't need
...
our strtoll() replacement function.
2004-10-10 03:39:59 +00:00
Daniel Stenberg
6d1b37b3da
Prevent a longjmp warning by moving the rc assign within Curl_resolv().
...
Andy Cedilnik reported. Warning on HP-UX?
2004-10-10 03:32:01 +00:00
Daniel Stenberg
34750cc738
Use LL suffix for long long constants if the compiler supports it, to prevent
...
warnings.
2004-10-10 03:28:51 +00:00
Daniel Stenberg
af677c4e1d
If long long is supported, check if [num]LL is supported for numerical
...
constants.
2004-10-10 03:22:45 +00:00
Daniel Stenberg
298076e00f
--enable-ares on AIX has problem
2004-10-08 12:59:36 +00:00
Daniel Stenberg
0d2cdd9773
Use 'struct lifreq' and SIOCGLIFADDR
2004-10-08 09:57:33 +00:00
Daniel Stenberg
eb5d3b5a7c
killed trailing whitespace
2004-10-08 09:39:37 +00:00
Daniel Stenberg
7663775971
if basename was found, check for a prototype and if none was found, provide
...
our own in the formdata.c file to prevent warnings on systems without it
2004-10-08 08:18:08 +00:00
Daniel Stenberg
fe46572f2b
prevent warning with comparison between signed and unsigned
2004-10-08 08:16:02 +00:00
Daniel Stenberg
a6d4d3eeac
use curlx_strnequal() from the private lib sources instead of strncasecmp()
...
for maximum portability
2004-10-07 22:57:24 +00:00
Daniel Stenberg
62f97f1817
use curl_strnequal(), not strncasecmp()
2004-10-07 22:56:24 +00:00
Daniel Stenberg
253ff7b2ad
Gisle's new fix, the old file:// leak
2004-10-07 12:17:53 +00:00
Daniel Stenberg
c274e51654
use tld_strerror() only if previously detected, since otherwise we can't
...
work with libidn < 0.5.6
2004-10-07 07:41:44 +00:00
Daniel Stenberg
1239e48304
check for tld_strerror
2004-10-07 07:41:14 +00:00
Gisle Vanem
52313cbac9
Added tld_check_name().
2004-10-06 19:00:37 +00:00
Gisle Vanem
071218a201
Fixed tld_check_name(). idna_to_unicode_lzlz() should never fail,
...
but return FALSE if 'uc_name == NULL' just in case.
2004-10-06 18:55:58 +00:00
Gisle Vanem
f0d6cc23ae
USE_LIBIDN: Added Top-level-domain (TLD) check for host->name.
...
Only print a warning if check fails.
2004-10-06 18:40:10 +00:00
Daniel Stenberg
ceefe2e248
test resume and redirect
2004-10-06 14:58:07 +00:00
Daniel Stenberg
9a2aed7d7a
Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabled
...
CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if
the new URL would provide the resumed file. Test case 188 added to verify the
fix (together with existing test 99).
2004-10-06 13:37:12 +00:00
Gisle Vanem
a91a75355d
*** empty log message ***
2004-10-06 13:24:08 +00:00
Daniel Stenberg
01acbfa1a5
updates of today
2004-10-06 09:04:20 +00:00
Daniel Stenberg
49b2896a3b
avoid warnings on systems with this member set const
2004-10-06 07:52:20 +00:00
Daniel Stenberg
39af394a1c
removed tabs and trailing whitespace from source
2004-10-06 07:50:18 +00:00
Daniel Stenberg
5c7dcc6c33
Dan Fandrich fix for hosts that need both -lnsl and -lsocket
2004-10-06 07:33:03 +00:00
Daniel Stenberg
6c5ea2af27
untabify
2004-10-06 06:58:42 +00:00
Gisle Vanem
93e084e097
djgpp has basename()
2004-10-05 13:48:50 +00:00
Daniel Stenberg
1a61bcecfc
minor edit to re-use a variable and to hopefully avoid a (moot) warning
...
about code that won't be reached
2004-10-05 11:03:59 +00:00
Daniel Stenberg
3d9fb701e2
recent fixes
2004-10-05 10:52:51 +00:00
Daniel Stenberg
19a568a983
make the given path to --with-libidn override any other installation
2004-10-05 08:45:13 +00:00
Daniel Stenberg
70c3f6a8dd
avoid warning for unused variable
2004-10-05 08:42:56 +00:00
Daniel Stenberg
bb999d8213
use idna_strerror() if it is available (only in libidn 0.5.6 or later)
2004-10-05 08:40:26 +00:00
Daniel Stenberg
121197bc87
Only include libgen.h if we have a basename as well.
...
Mainly meant to deal with the IRIX case which seems to requrie a "-lgen" lib
to find the basename function and thus without the gen lib, it finds the
header but not the function and our replacement function has a prototype
that doesn't match the IRIX one.
A different approach would be to make configure detect and use -lgen for the
systems that require it.
2004-10-05 06:55:09 +00:00
Daniel Stenberg
d5dd8e0fdc
let our basename() be static
2004-10-05 06:49:09 +00:00
Daniel Stenberg
c368800877
name mix fix
2004-10-04 12:54:58 +00:00
Daniel Stenberg
6eb58549a9
closing in on release
2004-10-04 10:37:30 +00:00
Daniel Stenberg
95def48071
Made the dns entry remain locked while a connection to the host remains to
...
allow verbose output during this period. Bertrand Demiddelaer reported and
helped fixing.
2004-10-04 10:36:51 +00:00
Daniel Stenberg
2ee6c33412
set async.done to TRUE last in the addrinfo callback to prevent the risk that
...
the multi-threaded resolver does wrong
2004-10-03 21:32:24 +00:00
Daniel Stenberg
be7ce435c0
Replaced the use of isspace() with our own version instead since we have most
...
data as 'char *' and that makes us pass in negative values if there is 8bit
data in the string. Changing to unsigned causes too much warnings or too many
required typecasts to the normal string functions.
2004-10-03 21:02:01 +00:00
Daniel Stenberg
f4252f8672
when building with libidn support, check for idna_strerror() which is
...
included in very recent versions
2004-10-03 20:50:47 +00:00
Daniel Stenberg
f4f961c4ea
added info about how users get info (like the CURLcode return code) from
...
individual transfers
2004-10-03 17:38:57 +00:00
Daniel Stenberg
e2fe03df8e
removed trailing whitespace
2004-10-03 08:15:40 +00:00
Daniel Stenberg
19b284c214
Gisle Vanem provided code that displays an error message when the (libidn
...
based) IDN conversion fails. This is really due to a missing suitable
function in the libidn API that I hope we can remove once libidn gets a
function like this.
2004-10-02 13:01:44 +00:00
Daniel Stenberg
6b3e3095ea
removed weird preprocessor juggling not needed
2004-10-02 12:58:27 +00:00
Daniel Stenberg
fd2aad1d9b
someone should hit me
2004-10-01 11:27:14 +00:00
Daniel Stenberg
d239fc5d04
Aleksandar Milivojevic reported a problem in the Redhat bugzilla (see
...
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=134133 ) and not to anyone
involved in the curl project! This happens when you try to curl a file from a
proftpd site using SSL. It seems proftpd sends a somewhat unorthodox PASS
response code (232 instead of 230). I relaxed the response code check to deal
with this and similar cases.
2004-10-01 11:22:11 +00:00
Daniel Stenberg
ec4da97a35
fixed the basename() replacement, reported by Gisle
2004-10-01 11:20:38 +00:00
Daniel Stenberg
bb48ccedd7
mention when this option was added
2004-10-01 06:43:48 +00:00
Daniel Stenberg
afc0dfb141
reflect the last few changes
2004-10-01 06:43:37 +00:00
Daniel Stenberg
8e87223195
- Based on Fedor Karpelevitch's formpost path basename patch, file parts in
...
formposts no longer include the path part. If you _really_ want them, you
must provide your preferred full file name with CURLFORM_FILENAME.
Added detection for libgen.h and basename() to configure. My custom
basename() replacement function for systems without it, might be a bit too
naive...
Updated 6 test cases to make them work with the stripped paths.
2004-10-01 06:36:11 +00:00
Daniel Stenberg
be1cece69b
- Larry Campbell added CURLINFO_OS_ERRNO to curl_easy_getinfo() that allows an
...
app to retrieve the errno variable after a (connect) failure. It will make
sense to provide this for more failures in a more generic way, but let's
start like this.
2004-09-30 21:01:23 +00:00
Daniel Stenberg
45be6d6645
killed trailing whitespace
2004-09-30 20:50:34 +00:00
Daniel Stenberg
d4db35c125
Gnter Knauf and Casey O'Donnell worked out an extra #if condition for the
...
curl/multi.h header to work better in winsock-using apps.
2004-09-30 19:50:36 +00:00
Daniel Stenberg
94c6a5eeab
Jean-Philippe Barrette-LaPierre made buildconf run better on Mac OS X by
...
properly using glibtoolize instead of plain libtoolize. (This is made if
glibtool was found and used instead of plain libtool.)
2004-09-30 19:46:32 +00:00
Daniel Stenberg
35292e794a
--max-redirs is _not_ -Z
2004-09-30 14:38:29 +00:00
Daniel Stenberg
c2043a7f94
48 - Harshal Pradhan's isspace() fix for 8bit cookie content
2004-09-30 12:20:04 +00:00
Daniel Stenberg
e752588e8d
issue 47 - Peter Sylvester's patch related to the new SRP on the TLS layer
2004-09-30 11:41:25 +00:00
Daniel Stenberg
8f30dbd4f0
fix the multi.h too
2004-09-30 11:38:46 +00:00
Daniel Stenberg
29eb80dbd1
added issue 45 "Chris' suspected race condition in the windows threaded
...
resolver"
2004-09-30 08:01:47 +00:00
Daniel Stenberg
6cf6f9a21e
added five things I want fixed before the next release
2004-09-30 07:59:17 +00:00
Daniel Stenberg
6af6a2bbe8
Fixed an error message: we use CWD, we don't cd into dirs with FTP
2004-09-29 07:21:23 +00:00
Daniel Stenberg
2576ac1c76
Bertrand Demiddelaer fixed curl_easy_reset() so that it doesn't mistakingly
...
enable the progress meter.
2004-09-28 22:26:47 +00:00
Daniel Stenberg
bfeea8e6b7
- Henrik Stoerner fix: got a report that Tru64 Unix (the unix from Digital
...
when they made Alpha's) uses /etc/svc.conf for the purpose fixed below for
other OSes. He made c-ares check for and understand it if present.
- Now c-ares will use local host name lookup _before_ DNS resolving by default
if nothing else is told.
2004-09-28 22:19:39 +00:00
Daniel Stenberg
2f89f2311c
recent stuff
2004-09-28 22:04:17 +00:00
Daniel Stenberg
75e5967afd
made pkg-config not get used if a path is given with --with-ssl
2004-09-28 22:04:05 +00:00
Daniel Stenberg
1003628103
Only active the engine code if ssl is enabled. This is how the actual engine
...
member in the struct is used.
2004-09-28 07:11:32 +00:00
Daniel Stenberg
3451e888b9
- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
...
file to determine the sequence in which to search /etc/hosts and DNS. So on
systems where this order is defined by /etc/host.conf instead of a "lookup"
entry in /etc/resolv.conf, C-ARES will always default to looking in DNS
first, and /etc/hosts second.
c-ares now looks at
1) resolv.conf (for the "lookup" line);
2) nsswitch.fon (for the "hosts:" line);
3) host.conf (for the "order" line).
First match wins.
2004-09-26 22:35:18 +00:00
Daniel Stenberg
12dc142a28
Dominick Meglio host file path discovery patch for windows
2004-09-26 18:20:58 +00:00
Daniel Stenberg
cb80670885
Ben Greear's minor fix to build (better) with cross-compiled(?) mingw
2004-09-26 06:53:53 +00:00
Daniel Stenberg
c189687188
allow setting CURLOPT_SSLENGINE to NULL even if no SSL engine is supported
2004-09-25 21:28:26 +00:00
Daniel Stenberg
595016d393
Dan Fandrich patched three tests
2004-09-22 18:23:14 +00:00
Daniel Stenberg
23550fe5de
Dan Fandrich's fix to use 127.0.0.1 instead of localhost to not depend on
...
it resolving nicely
2004-09-22 18:21:45 +00:00
Daniel Stenberg
8420de971f
Jean-Claude Chauve is a friend!
2004-09-22 12:54:41 +00:00
Daniel Stenberg
17f8f32b2e
typo
2004-09-22 12:53:58 +00:00
Daniel Stenberg
7676f40218
jean-claude Chauve fixed an LDAP bug
2004-09-22 08:01:41 +00:00
Daniel Stenberg
2de62cb06f
less long => int implicit conversion warnings
2004-09-20 13:21:48 +00:00
Gunter Knauf
be1df3ca0a
removed getdate.c hack.
2004-09-19 23:30:34 +00:00
Daniel Stenberg
543ab6f331
added URL to the exception paragraph in the GPL FAQ
2004-09-19 22:37:26 +00:00
Daniel Stenberg
2b6f7ef2a9
the error message fix for failed connects
2004-09-19 14:30:16 +00:00
Daniel Stenberg
0d37f8564e
kill trailing whitespace and clarify a few errors
2004-09-19 14:28:16 +00:00
Daniel Stenberg
6cd2536048
set an error message when connection fails
2004-09-19 14:27:56 +00:00
Daniel Stenberg
60fccf4e37
Location:-follow problem
2004-09-17 07:55:14 +00:00
Daniel Stenberg
8a8028394f
one more option, one more friend
2004-09-16 22:10:15 +00:00
Daniel Stenberg
6a06667cc0
Added CURLOPT_FTPSSLAUTH
2004-09-16 21:45:16 +00:00
Daniel Stenberg
25bf23105d
Location: problem with bad original URL, identified in bug report #1029478
2004-09-16 21:28:38 +00:00
Daniel Stenberg
2544c78083
Bertrand Demiddelaer's correction
2004-09-16 14:26:04 +00:00
Daniel Stenberg
40b9b6f6dc
ftp-ssl mistake corrected
2004-09-16 08:45:11 +00:00
Daniel Stenberg
f5e1beddf1
no more getdate.c to care about
2004-09-15 08:07:20 +00:00
Daniel Stenberg
d4076c9a8a
fixed to use the new file. Can we make this use Makefile.inc somehow?
2004-09-15 08:05:53 +00:00
Daniel Stenberg
106695d45e
the new date parser affects -z
2004-09-15 07:31:48 +00:00
Daniel Stenberg
f71b3f48a1
Replaced the former date parser with a rewrite. No more yacc/bison needed.
2004-09-15 07:28:04 +00:00
Daniel Stenberg
aa8dd932c1
ignore more
2004-09-14 21:31:06 +00:00
Daniel Stenberg
adbe3eefb6
and moved back the month array to a static one since the ftp code won't need
...
it anymore
2004-09-13 20:49:27 +00:00
Daniel Stenberg
33f69c0546
removed this file again, we only provide a single public function and that
...
is already in the public header file
2004-09-13 20:48:24 +00:00
Daniel Stenberg
6c3a87a599
no longer includes getdate.h, there's no need for it
2004-09-13 20:47:31 +00:00
Daniel Stenberg
13cc010e38
getdate.h is not required to include, it adds nothing new
2004-09-13 20:47:15 +00:00
Daniel Stenberg
e99bf99829
revert the change for the new date parser, as the new one can deal with
...
the old format now
2004-09-13 20:43:12 +00:00
Daniel Stenberg
2e7dcc1e2a
support for YYYYMMDD added, which allows us to keep using the lib/ftp.c code
...
I was previously #ifdef'ing to a different look when this parser is used
2004-09-13 20:40:27 +00:00
Daniel Stenberg
b85a036e4a
added more examples/docs in the top comment
2004-09-13 07:57:12 +00:00
Daniel Stenberg
7885264b29
Since many users probably already use local time strings as input, I now
...
made it deal with named time zones as well as mail-style +0200 ones.
Seems to work fine. I'm comparing with GNU date command:
date -d [date] -u +%s
2004-09-13 07:45:19 +00:00
Daniel Stenberg
73dd450147
describes how you can extract the CA cert from a site using the openssl tool
2004-09-12 18:27:12 +00:00
Daniel Stenberg
96efa990f9
Added parsedate.[ch]
2004-09-11 20:06:33 +00:00
Daniel Stenberg
4e0aee9408
mention more friends
2004-09-11 20:06:14 +00:00
Daniel Stenberg
27d509cfe9
Minor adjustment needed for the new date parser to succeed. ifdef'ed out
...
for now.
2004-09-11 19:19:59 +00:00
Daniel Stenberg
ade8e47a8c
more docs and fixed the delta compared to GMT that prevented test case 141 to
...
work with this
2004-09-11 19:16:34 +00:00
Daniel Stenberg
ca52c963c7
1. cookie expire-strings MUST use GMT timezones
...
2. adjusted date strings to upcoming date parser rewrite
2004-09-11 19:12:37 +00:00
Daniel Stenberg
17acdb5acf
slightly better but still lacks
2004-09-11 13:07:42 +00:00
Daniel Stenberg
f6433211ae
getdate replacement code. smaller, slicker, faster.
2004-09-11 09:24:02 +00:00
Daniel Stenberg
0ec4c66fba
fixed -F to support setting type= even on parts that aren't file-uploads
2004-09-10 21:47:52 +00:00
Daniel Stenberg
1faa9d6fd5
minor indent change
2004-09-10 21:46:58 +00:00
Daniel Stenberg
23d64e720d
up to date with recent changes
2004-09-10 21:13:55 +00:00
Daniel Stenberg
b8b56248bd
- Bug report #1025986 . When following a Location: with a custom Host: header
...
replacement, curl only replaced the Host: header on the initial request
and didn't replace it on the following ones. This resulted in requests with
two Host: headers.
Now, curl checks if the location is on the same host as the initial request
and then continues to replace the Host: header. And when it moves to another
host, it doesn't replace the Host: header but it also doesn't make the
second Host: header get used in the request.
This change is verified by the two new test cases 184 and 185.
2004-09-10 20:58:51 +00:00
Daniel Stenberg
33929117f9
curl --sync
2004-09-09 06:58:01 +00:00
Daniel Stenberg
2b1673c9c8
Now the test servers and test cases can run on a custom port number. There's
...
no fixed port numbers in use anymore. Starting now, the default ports the
servers use are 8990 - 8993. There's no option to modify these yet, but
changing the $base option in the top of the runtests.pl script.
2004-09-08 08:08:38 +00:00
Gunter Knauf
702f549a6a
fixed nasty warnings with gcc 3.3.
2004-09-03 18:51:36 +00:00
Daniel Stenberg
428741d7cf
clarify CURLE_SSL_CERTPROBLEM somewhat
2004-09-02 21:05:56 +00:00
Daniel Stenberg
6fa624cf8c
improved error message when client cert return failure
2004-09-02 21:03:41 +00:00
Daniel Stenberg
5f60188b8a
use the correct struct name in the example
2004-09-02 20:42:44 +00:00
Daniel Stenberg
75a6fdeb58
added more info on the nobody
2004-09-01 12:05:59 +00:00
Daniel Stenberg
5f3fa92062
minor edit of HTTPGET
2004-09-01 09:25:19 +00:00
Daniel Stenberg
66077ae48b
fix formatting flaw
2004-09-01 09:24:01 +00:00
Daniel Stenberg
92637303db
fix the return code for curl_multi_add_handle()
2004-08-31 06:04:43 +00:00
Daniel Stenberg
811dfd710b
mention when the function was added to the lib
2004-08-31 06:03:16 +00:00
Daniel Stenberg
b08dc2cadb
proxy connection close and so
2004-08-30 15:02:37 +00:00
Daniel Stenberg
f7c5a097e3
proxy-connection close
2004-08-30 15:02:18 +00:00
Daniel Stenberg
5eb3102cd1
removed issue 36 from this list, we don't know how to do it and no one has
...
stepped forward to help us. Let's postpone that fix.
2004-08-30 14:22:47 +00:00
Daniel Stenberg
05825a8a9f
Make "Proxy-Connection: close" close the current proxy connection, as
...
Roman Koifman found out.
2004-08-30 12:51:32 +00:00
Daniel Stenberg
24353c4372
getdate fix, adacurl release
2004-08-30 09:16:43 +00:00
Daniel Stenberg
e89ea07626
mention Gisle's recent fixes
2004-08-30 09:16:31 +00:00
Gisle Vanem
b99c95ba46
Removed ares_free_errmem.c from MSCV project files.
...
Fixed line-endings to CR-LF.
2004-08-29 15:40:17 +00:00
Daniel Stenberg
9432bfe90c
updated with minor edits
2004-08-27 07:17:52 +00:00
Daniel Stenberg
37bf6da9c8
don't do SO_KEEPALIVE, we already have a finer grained method built-in
2004-08-27 07:04:31 +00:00
Daniel Stenberg
b3ebbd60a2
added some more details
2004-08-26 13:26:27 +00:00
Daniel Stenberg
e942394bdb
getdate and new test cases from yday
2004-08-25 11:21:15 +00:00
Daniel Stenberg
4adfcd4fd7
not accurate anymore anyway
2004-08-25 11:18:33 +00:00
Daniel Stenberg
c10196afc0
Frankie V's description on how to get a CA cert for a random site using
...
IE
2004-08-25 08:09:48 +00:00
Daniel Stenberg
49746d1dce
returned memory should not be freed
2004-08-24 20:36:38 +00:00
Daniel Stenberg
d46e235c2a
added test 183 to verify that we properly send good Host: headers when
...
getting multiple URLs over a single proxy connection
2004-08-24 14:40:32 +00:00
Daniel Stenberg
ee44677d7e
Attempt to quick-fix the getdate problem by post-replacing the getdate.c
...
file after the bison/yacc process to add the fix Harshal Pradhan suggested.
2004-08-24 11:48:02 +00:00
Daniel Stenberg
20057aee2e
prevent files named ".nfs[something]" from being displayed when failing
2004-08-24 09:23:40 +00:00
Daniel Stenberg
7119679080
updated in CVS, generated with a much newer bison version
2004-08-23 15:28:53 +00:00
Daniel Stenberg
d869b51a57
Expect: 100-continue info added
2004-08-23 14:46:43 +00:00
Daniel Stenberg
dbacc81af7
added note about WRITEFUNCTION now being called with zero bytes if the file
...
to be transfered is empty
2004-08-23 14:41:54 +00:00
Daniel Stenberg
b233c13dca
verify that transferring a zero byte FTP file results in a zero byte local
...
file
2004-08-23 14:41:19 +00:00
Daniel Stenberg
464be27479
Provide support for "transferring" zero bytes FTP files and comparing that
...
the output file actually is zero bytes after the transfer.
2004-08-23 14:40:43 +00:00
Daniel Stenberg
d736ac51c0
stripped trailing whitespace
2004-08-23 14:22:52 +00:00
Daniel Stenberg
e8b295ff7d
lost of more into on how to tweak some headers
2004-08-23 14:22:44 +00:00
Daniel Stenberg
4a4490d5f1
debug.c is a fresh new example showing how to use the DEBUGFUNCTION to get
...
lots of fine info from a transfer
2004-08-23 14:22:26 +00:00
Daniel Stenberg
46313be2f5
added more header info for PUT and POST requests
2004-08-23 14:04:38 +00:00
Daniel Stenberg
723bfe42e7
Roman Koifman pointed out that libcurl send Expect: 100-continue on POSTs and
...
PUTs even when told to use HTTP 1.0, which is not correct.
2004-08-23 12:34:55 +00:00
Gisle Vanem
e35c7dcd72
More patches for Watt-32 on Win32; don't include "nameser.h".
2004-08-20 14:10:44 +00:00
Gisle Vanem
fa83a0573e
No WSAGetLastError() on Watt-32/DOS
2004-08-20 14:07:11 +00:00
Gisle Vanem
7b97371ab1
No <sys/uio.h> on DOS/Win32
2004-08-20 13:48:24 +00:00
Gisle Vanem
b17e32baa7
Changes for Watt-32 on Windows. I've assumed Configure
...
sets the required HAVE_xx defines for non-DOS/Win targets.
2004-08-20 13:45:26 +00:00
Daniel Stenberg
cd52b9f0da
Alexander Krasnostavsky made the write callback get called even when a zero
...
byte file is downloaded.
2004-08-20 12:09:09 +00:00
Daniel Stenberg
c3d74ffe48
socks proxy and timeouts bug
2004-08-20 10:52:35 +00:00
Daniel Stenberg
a231a96841
actually, we check for a numerical host using either ipv4 or ipv6, as neither
...
should result in a reverse dns lookup
2004-08-20 09:18:12 +00:00
Daniel Stenberg
93b61bf0d3
use inet_pton() correctly!
2004-08-20 09:11:52 +00:00
Gisle Vanem
06d39bd303
ZLIB_ROOT not needed
2004-08-19 15:24:49 +00:00
Gisle Vanem
52177b1f60
My first CVS commit just to see if this works.
...
BTW. Used eclipse IDE fo this, which really kicks ass.
2004-08-19 15:16:40 +00:00
Daniel Stenberg
566f7b5e58
simplified expression
2004-08-19 09:37:22 +00:00
Daniel Stenberg
c8c47768c7
Ling Thio pointed out that getaddrinfo() reverse-lookups ip-only names, and
...
this is an attempt to prevent it from doing that. affects ipv6-enabled only.
2004-08-19 06:44:19 +00:00
Daniel Stenberg
62ff567c47
the autobuilds failed all over on AIX, attempt to fix the strerror_r() problem
...
by setting _THREAD_SAFE (and -qthreaded) before strerror_r() is checked for.
2004-08-19 06:41:49 +00:00
Daniel Stenberg
ee400f9552
reuse handles in PHP/CURL works - Kirk Hedden told us
2004-08-19 06:31:29 +00:00
Daniel Stenberg
9ac7629e2c
PHP FAQ
2004-08-18 11:18:36 +00:00
Daniel Stenberg
d72ca96a43
indented the code curl-style
2004-08-18 06:12:01 +00:00
Daniel Stenberg
d0dcb3b554
removed trailing whitespace
2004-08-17 19:46:34 +00:00
Daniel Stenberg
e139e49826
see also the reset function
2004-08-17 12:39:10 +00:00
Daniel Stenberg
3838745fdb
mention the reset function
2004-08-17 12:37:35 +00:00
Daniel Stenberg
06a5c70f4d
Kjetil Jacobsen reported an open file leak in file:// transfers of empty
...
files.
2004-08-17 12:00:39 +00:00
Daniel Stenberg
62af3fb7b9
added a check for the xlc compiler on AIX, and if that is detect we use
...
the -qthreaded compiler option
2004-08-17 10:47:57 +00:00
Daniel Stenberg
db302a1055
define _THREAD_SAFE on (recent) AIX systems to build thread-safe code
2004-08-17 09:00:30 +00:00
Daniel Stenberg
847c91e568
recent fixes
2004-08-17 06:56:53 +00:00
Daniel Stenberg
2646af106b
allow a custom "Accept-Encoding:" header override the internally set one
...
that gets set with CURLOPT_ENCODING
2004-08-16 13:25:30 +00:00
Daniel Stenberg
7261b4556b
strip trailing whitespace
2004-08-16 13:24:01 +00:00
Gunter Knauf
071e3cf007
syncronized with libcurl.def.
2004-08-16 11:09:30 +00:00
Gunter Knauf
164184b484
cosmetic fix.
2004-08-16 11:09:01 +00:00
Daniel Stenberg
8b6e87abee
summary edit: mention that some options take a curl_off_t
2004-08-16 10:49:57 +00:00
Daniel Stenberg
45197b188e
Roland Krikava's cookies over proxy fix.
2004-08-16 07:24:25 +00:00
Gunter Knauf
559553b169
fixed linkage dll targets. (submitted by Casey O'Donnell)
2004-08-14 22:03:40 +00:00
Daniel Stenberg
84ec4068de
added two good ideas
2004-08-13 12:06:30 +00:00
Daniel Stenberg
aea87be19e
mention Harshal Pradhan's windows fix
2004-08-13 12:01:20 +00:00
Daniel Stenberg
9f14744d16
Harshal Pradhan made minor syntax change to make this build with MSVC 7.1
2004-08-13 12:00:33 +00:00
Daniel Stenberg
1dc8c1dbc8
removed the ispell-added local word, compressed the final links into a
...
short section
2004-08-13 11:56:15 +00:00
Daniel Stenberg
e9812c53cb
strip trailing whitespace
2004-08-13 11:53:33 +00:00
Daniel Stenberg
ed98565963
spell
2004-08-13 11:47:31 +00:00
Daniel Stenberg
1d3233612a
Added "5.9 How does libcurl resolve host names?" since I wrote the text in
...
a mail anyway the other day.
2004-08-12 14:09:10 +00:00
Daniel Stenberg
8362a34cef
updated with recent changes
2004-08-12 14:08:46 +00:00
Daniel Stenberg
edd16d978f
hm
2004-08-12 11:39:00 +00:00
Daniel Stenberg
4356356305
3.16 What certificates do I need with I use SSL?
...
my first attempt at a basic description of the certs involvede
2004-08-12 11:02:01 +00:00
Daniel Stenberg
cb88135220
removed trailing whitespace, indented to curl-style levels
2004-08-12 07:01:20 +00:00
Daniel Stenberg
498a0fe795
Removed the _XOPEN_SOURCE defining again since it caused major havoc in IRIX
...
land with many warnings and even compiler errors due to missing structs etc
2004-08-12 06:30:17 +00:00
Daniel Stenberg
0ca1b6afcf
--disable-[protocol] doesn't disable tests of the specific protocol
2004-08-11 11:18:24 +00:00
Daniel Stenberg
d3c9f3d6f8
clarify that CURLE_FTP_USER_PASSWORD_INCORRECT might in fact get returned
...
even if user and password are correct
2004-08-11 08:44:36 +00:00
Daniel Stenberg
df59ca1a45
include the server response in the error message when an FTP server gives
...
back a 530 after the password is provided, as it isn't necessary because of a
bad user name or password.
2004-08-11 08:39:48 +00:00
Daniel Stenberg
9d84442409
define the _XOPEN_SOURCE define in the config.h file instead, and also added a
...
decent quote about the define, taken from
http://www.opengroup.org/onlinepubs/007908799/xsh/compilation.html
2004-08-11 07:25:08 +00:00
Daniel Stenberg
5ab9d72e45
fixed the default result for xopen and mimpure to work better
2004-08-11 07:14:34 +00:00
Daniel Stenberg
6060e7ed96
experimental code to detect mips-sgi-irix systems that build without gcc
...
and if so, define _XOPEN_SOURCE to 500 in an attempt to build with less
warnings (on the 64bit versions)
2004-08-11 07:11:35 +00:00
Daniel Stenberg
7ca7f7a725
added several recent bindings
2004-08-11 06:42:20 +00:00
Daniel Stenberg
355b3d3057
updated the CURLOPT_POST description after input from Alan Pinstein
2004-08-10 13:22:08 +00:00
Daniel Stenberg
d5bdf5f89c
Ok, setting CURLOPT_POST to 0 will now convert the request to a GET (this
...
remains undocumented as this is not the way we recommend)
2004-08-10 13:21:32 +00:00
Daniel Stenberg
17de7e0f1c
minor reformat to suit the new FAQ parser
2004-08-10 12:41:44 +00:00
Daniel Stenberg
2cea484428
ignore curllib.dsp
2004-08-10 10:43:41 +00:00
Daniel Stenberg
fb3e19ae50
ignore more files
2004-08-10 10:43:10 +00:00
Daniel Stenberg
99db7fb222
7.12.2 work in progress
2004-08-10 10:40:56 +00:00
Daniel Stenberg
49d0272627
and we're back on a clean notes sheet again
2004-08-10 08:56:12 +00:00
Daniel Stenberg
da30242640
7.12.1 notes
2004-08-10 08:42:54 +00:00
Daniel Stenberg
811edcde18
added "5.8 libcurl.so.3: open failed: No such file or directory" and made
...
some general cleanups
2004-08-10 08:41:41 +00:00
Daniel Stenberg
4934e6471b
In OpenSSL 0.9.7d and earlier, ASN1_STRING_to_UTF8 fails if the input is
...
already UTF-8 encoded. We check for this case and copy the raw string manually
to avoid the problem. This code can be made conditional in the future when
OpenSSL has been fixed. Work-around brought by Alexis S. L. Carvalho.
2004-08-10 08:06:43 +00:00
Daniel Stenberg
9dbd6659dc
more typecasts to please picky compilers
2004-08-10 06:41:13 +00:00
Daniel Stenberg
5ddad4cdb3
version string, krb4 link fix, added number of web mirrors and libcurl bindings
2004-08-09 13:13:10 +00:00
Daniel Stenberg
338c2da24f
GSS/Kerberos 5 for ftp
2004-08-09 12:39:28 +00:00
Daniel Stenberg
b5cafc0b83
added info about my current idea about option separation between URLs on
...
the command line
2004-08-09 12:36:17 +00:00
Daniel Stenberg
c50ced6cc2
adding notes for 7.12.2 now, 7.12.1 is removed due to release ANY DAY NOW
2004-08-09 12:18:30 +00:00
Daniel Stenberg
f4783bda27
--negotiate does not work without username/password, bug report #1004841
2004-08-09 12:15:23 +00:00
Daniel Stenberg
b55507c8a7
the krb4 stuff needs -lcom_err to link now, for some odd reason. This is
...
possibly only on some platforms, but it happens on my Solaris 2.7 box and I
don't know anyone else that regularly build curl with krb4 support.
2004-08-09 10:06:15 +00:00
Daniel Stenberg
827a805966
typecast the assigment of an unsigned variable to a signed one to prevent
...
picky warnings
2004-08-09 08:29:39 +00:00
Daniel Stenberg
e23ba31eb9
->fread() should get a size_t variable passed in
2004-08-09 08:28:17 +00:00
Daniel Stenberg
02c6fde11e
made telrcv() take a ssize_t argument instead of int to better match other
...
functions (and prevent warnings)
2004-08-09 08:25:39 +00:00
Daniel Stenberg
d003f6e125
mention the new cool CA extraction way just documented
2004-08-09 07:02:51 +00:00
Daniel Stenberg
1dfff2487f
new web mirror
2004-08-06 17:44:59 +00:00
Daniel Stenberg
4ff9cd39c5
negotiate fix and new glib/GTK+ binding
2004-08-05 18:55:51 +00:00
Daniel Stenberg
9c4ffcc250
Enrico Scholz fixed the service name to be uppercase as reported in bug
...
report #1004105
2004-08-05 18:52:54 +00:00
Daniel Stenberg
6b5a04cf83
multi-connect fix and cookie domain fix
2004-08-04 13:12:00 +00:00
Daniel Stenberg
55e61c092e
Fixed multiple IP connects with the multi interface. This fix is influenced
...
by Gisle Vanem's patch, only modified by me.
2004-08-04 12:38:01 +00:00
Daniel Stenberg
de6ab3de22
Dylan Salisbury's fix to prevent us from accepting cookies from TLD only
2004-08-04 12:26:27 +00:00
Daniel Stenberg
5e1eb58e5a
borland is already mentioned
2004-07-31 20:47:04 +00:00
Daniel Stenberg
d892a4dc23
mention this is new
2004-07-31 19:47:00 +00:00
Daniel Stenberg
496ea65f39
link to reset as well
2004-07-31 19:46:25 +00:00
Daniel Stenberg
6577b15d08
curl_easy_reset() documented
2004-07-31 19:46:01 +00:00
Daniel Stenberg
f2e35fad27
digest fix
2004-07-31 19:23:57 +00:00
Daniel Stenberg
81c48aa43d
Joel Chen reported that we assumed content within quotes a bit too much in
...
the digest code. This fixes it.
2004-07-31 07:36:01 +00:00
Daniel Stenberg
0cfa9b52ae
prevent all the sig and alarm stuff when using ares
2004-07-29 08:06:33 +00:00
Daniel Stenberg
48b92c163f
fix a mingw32 build warning
2004-07-29 07:48:47 +00:00
Daniel Stenberg
b7575b39c4
mingw32 builds make .a libs
2004-07-29 07:37:36 +00:00
Daniel Stenberg
ae2f002b44
added typecast in an attempt to fix a mingw32 warning
2004-07-29 07:34:17 +00:00
Daniel Stenberg
89c312691e
additional typecasts to please MIPSPro on 64bit IRIX
2004-07-29 07:30:38 +00:00
Daniel Stenberg
1d23affbc5
oops, curl_easy_reset is a void
2004-07-29 07:29:56 +00:00
Daniel Stenberg
26ffaa263b
variable type fix
2004-07-29 07:24:39 +00:00
Daniel Stenberg
ca5e6160b7
provide a curl_easy_reset() proto
2004-07-29 07:20:19 +00:00
Daniel Stenberg
6d60ff6ea1
removed C++ comment to please picky source checkers
2004-07-29 07:19:27 +00:00
Daniel Stenberg
43ae26f146
fixes!
2004-07-28 22:00:14 +00:00
Daniel Stenberg
3e01f70468
curl_easy_reset was added
2004-07-28 21:40:20 +00:00
Daniel Stenberg
b9f1dd7691
Bertrand Demiddelaer fixed the host name to get setup properly even when
...
a connection is re-used, when a proxy is in use.
2004-07-28 21:27:33 +00:00
Daniel Stenberg
a7bed4fc7c
Fixes Brian Akins' reported problems with duplicate Host: headers on re-used
...
connections.
2004-07-28 21:13:29 +00:00
Daniel Stenberg
7ca49dc91d
use Makefile.inc and make it get included in dist archives
2004-07-28 18:40:50 +00:00
Daniel Stenberg
645ee8a42a
renamed CURL_HEADERS, since it is a magic automake name we must not use
2004-07-28 18:40:18 +00:00
Daniel Stenberg
115dd6f095
Bertrand Demiddelaer made the testing work with valgrind 2.1
2004-07-26 15:45:03 +00:00
Daniel Stenberg
0e03165467
Bertrand Demiddelaer fixed two missing newlines
2004-07-26 15:42:07 +00:00
Daniel Stenberg
6574f4106e
-o #[num] fix
2004-07-26 15:30:23 +00:00
Daniel Stenberg
8e7fcd9ee1
using #[num] with -o now make it literally used if there's no globbing for
...
that particular index. Reported in bug report 997536.
2004-07-26 09:11:10 +00:00
Daniel Stenberg
ad63e1e698
removed trailing whitespace
2004-07-26 09:09:26 +00:00
Daniel Stenberg
d784526dae
libs built with libtool are named .la in the build dir
2004-07-25 06:03:10 +00:00
Daniel Stenberg
79d480e1e7
--enable-debug builds static only, Gisle fixed a memory leak and more
2004-07-24 21:51:43 +00:00
Daniel Stenberg
b3b2ba31f7
Gisle Vanem:
...
Basically in loops like handle_errors(), 'query->next' was assigned a local
variable and then query was referenced after the memory was freed by
next_server(). I've changed that so next_server() and end_query() returns the
next query. So callers should use this ret-value.
The next problem was that 'server->tcp_buffer_pos' had a random value at entry
to 1st recv() (luckily causing Winsock to return ENOBUFS).
I've also added a ares_writev() for Windows to streamline the code
a bit more.
2004-07-24 21:47:49 +00:00
Daniel Stenberg
7f78bc3c6d
autobuilds with ares and curl_easy_reset()
2004-07-24 21:43:33 +00:00
Daniel Stenberg
f508f30fb6
curl_easy_reset() added. Need testing and docs. I also think we should make
...
the initial setting up the struct should use this single function to avoid
having the initialisation code at two places.
2004-07-24 21:31:01 +00:00
Daniel Stenberg
d20a05161a
AM_PROG_LIBTOOL is deprecated and AC_PROG_LIBTOOL should be used instead
2004-07-24 21:29:43 +00:00
Daniel Stenberg
6769ab2797
if --enable-ares is used, we must run 'buildconf' in the ares dir before
...
we run configure.
2004-07-24 21:24:03 +00:00
Daniel Stenberg
85867cbe94
--enable-debug now makes the lib built static only since otherwise we
...
get problems
2004-07-24 21:22:46 +00:00
Daniel Stenberg
5e8d3988a2
generate the new configure better
2004-07-24 06:29:38 +00:00
Daniel Stenberg
1cd0a08575
now generated by automake
2004-07-23 18:34:21 +00:00
Daniel Stenberg
efd71af2a1
buildconf and memanalyze are parts of the plain release
2004-07-22 22:23:34 +00:00
Daniel Stenberg
2ea80c29fa
Added buildconf buildconf.bat to the dist
2004-07-22 22:22:49 +00:00
Daniel Stenberg
e3fc0d5e78
refer bug reports to the mailing lists, not the old email alias
2004-07-22 22:22:29 +00:00
Daniel Stenberg
33f42aacca
recent activities
2004-07-22 22:20:07 +00:00
Daniel Stenberg
c85bf83e88
- Fixed a few variable return types for some system calls. Made configure
...
check for ssize_t to make it possible to use that when receiving the send()
error code. This is necessary to prevent compiler warnings on some systems.
- Made configure create config.h, and all source files now include setup.h that
might include the proper config.h (or a handicrafted alternative).
- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
use 'int' for that.
- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
lib on most platforms if wanted. (This bloated the size of the release
archive with another 200K!)
- Makefile.am now uses Makefile.inc for the c sources, h headers and man
pages, to make it easier for other makefiles to use the exact same set of
files.
- Adjusted 'maketgz' to use the new automake magic when building distribution
archives.
2004-07-22 22:18:45 +00:00
Daniel Stenberg
060b6ce148
the multi interface is not so new anymore!
2004-07-17 08:24:22 +00:00
Daniel Stenberg
35618b4712
minor format fix
2004-07-17 08:22:50 +00:00
Daniel Stenberg
cd2e99e980
deal with negative Content-Length: headers by ignoring the info
2004-07-16 21:01:16 +00:00
Daniel Stenberg
0359ae8f40
test downloading from a server claiming negative content-length
2004-07-16 21:00:50 +00:00
Gunter Knauf
972d39234f
removed Makefile.b32.resp from repository.
2004-07-16 10:14:51 +00:00
Gunter Knauf
798349fce6
removed Makefile.b32.resp from the list.
2004-07-16 09:23:29 +00:00
Gunter Knauf
9612fda886
changed to use a temporary response file with tlib to give W9x a chance to build; looks ugly but works fine.
2004-07-16 09:20:57 +00:00
Gunter Knauf
4b217efb84
added borland-ssl and borland-ssl-zlib targets.
2004-07-15 22:20:52 +00:00
Gunter Knauf
555cfb3059
fixed zlib suport.
2004-07-15 21:54:10 +00:00
Gunter Knauf
c0d1d6926c
some more tweaks, fixed zlib suport.
2004-07-15 21:51:59 +00:00
Gunter Knauf
fca8fcec3e
added just another switch.
2004-07-15 19:36:30 +00:00
Gunter Knauf
6844d5dcad
removed old CXXFLAGS; added switch to suppress linker banner.
2004-07-15 18:17:15 +00:00
Gunter Knauf
d759e97166
removed unneeded libs from linking.
2004-07-15 17:21:07 +00:00
Daniel Stenberg
cbfc737d79
recent activities
2004-07-15 09:03:32 +00:00
Gunter Knauf
ab64bf6fb1
added Borland support.
2004-07-15 02:34:58 +00:00
Gunter Knauf
0b0d20021c
made OpenSSL support conditional.
2004-07-15 02:09:40 +00:00
Gunter Knauf
932a6f6b77
made OpenSSL support conditional;
...
removed ugly dependence on Makefile.b32.resp.
2004-07-15 01:59:59 +00:00
Gunter Knauf
1318760ad2
Gisle's fix to support Borland builds again.
2004-07-15 01:08:08 +00:00
Daniel Stenberg
15a403a98d
now known as libcurl-tutorial.3
2004-07-14 15:33:27 +00:00
Daniel Stenberg
a92b7c1b16
Jason Nye pointed out that callbacks don't need to use the "C namespace"
2004-07-14 15:32:09 +00:00
Daniel Stenberg
0c54013ee3
An Andres Garcia fix: add a typecast to make it work better
2004-07-14 14:20:53 +00:00
Daniel Stenberg
ca5d1e7a8d
removed the config-netware.h from the release archives
2004-07-14 14:18:31 +00:00
Gunter Knauf
40a39e2270
some more fixes; added cw32mt.lib, winmm.lib to the link libs for curl.exe.
2004-07-14 12:12:08 +00:00
Gunter Knauf
982530b186
changed Borland target since Borland's make doesnt understand '&'.
2004-07-14 11:39:29 +00:00
Gunter Knauf
fadc08445a
changed to use Makefile.inc.
2004-07-14 11:30:01 +00:00
Gunter Knauf
783381c163
updated for current cvs sources; looking for getting rid of this file....
2004-07-13 20:02:31 +00:00
Gunter Knauf
5f26bee7c8
changed to use Makefile.inc.
2004-07-13 20:01:15 +00:00
Gunter Knauf
2be57d0833
minor corrections.
2004-07-12 11:29:36 +00:00
Gunter Knauf
6e6748f051
changed to use Makefile.inc since Gisle agreed.
2004-07-11 23:43:32 +00:00
Gunter Knauf
a8d544d9b3
minor cleanup.
2004-07-11 18:14:11 +00:00
Gunter Knauf
5f1490e1bd
added some lines to fetch ares version.
2004-07-11 17:59:07 +00:00
Gunter Knauf
2c3e557b5c
updated MSVC build instructions.
2004-07-11 13:49:52 +00:00
Gunter Knauf
08df4b8971
changed paths to external libs to recent versions.
2004-07-11 13:49:18 +00:00
Gunter Knauf
11f58ea896
added new vc-zlib target.
2004-07-11 12:31:29 +00:00
Gunter Knauf
15f3b4b6d1
removed zlib dependence from default target; added new zlib targets.
2004-07-11 12:28:07 +00:00
Gunter Knauf
35270e50c2
removed obsolete NetWare config files;
...
we generate now config.h dynamically from Makefile.
2004-07-11 09:31:53 +00:00
Gunter Knauf
8c975657e7
added ifdef for NetWare to ares.h.
2004-07-11 08:30:23 +00:00
Gunter Knauf
03cb3b9db1
ifdef keep_sigact since its only used when SIGALRM is defined.
2004-07-10 23:11:22 +00:00
Gunter Knauf
19ad942739
fixed ares linking.
2004-07-07 20:46:39 +00:00
Daniel Stenberg
3cf452b923
file:// upload fix on windows
2004-07-06 15:17:32 +00:00
Daniel Stenberg
2a6f9aa155
Andres Garcia pointed out that we searched for a slash badly since it is
...
converted and thus we must search for backslash on windows
2004-07-06 15:16:05 +00:00
Daniel Stenberg
570455b21d
clarify the -Q option a bit better
2004-07-06 08:08:13 +00:00
Daniel Stenberg
dccdf9e66c
mingw and netware makefiles added by Gunter Knauf
2004-07-06 08:06:03 +00:00
Gunter Knauf
dd4d5bb1e0
fixed Win32 prebuild section; fixed minor cosmetic bug.
2004-07-06 02:37:52 +00:00
Gunter Knauf
842e4aaa0d
added vc-ssl-zlib target.
2004-07-06 01:52:32 +00:00
Gunter Knauf
ebb09cd9c4
minor cleanup.
2004-07-06 01:18:35 +00:00
Gunter Knauf
9a6df07d3d
be a bit more verbose when things go wrong.
2004-07-05 23:35:49 +00:00
Gunter Knauf
c59c429a69
added additional check to avoid calling a non-existant external script.
2004-07-05 23:07:59 +00:00
Gunter Knauf
69f9d0c916
the simple way was too simple, so added --mktarball option.
2004-07-05 22:35:00 +00:00
Gunter Knauf
56edbe3804
minor cosmetic fix.
2004-07-05 21:44:09 +00:00
Gunter Knauf
94c4a18541
added simple way to create a tarball just before the build is deleted.
2004-07-05 21:41:28 +00:00
Gunter Knauf
bdcf8d626d
changed to reflect recent NetWare makefile changes;
...
moved call to buildconf.bat down so that it takes place in the build dir.
2004-07-05 21:32:18 +00:00
Gunter Knauf
576b40b1b0
added MingW32 makefile.
2004-07-05 13:53:27 +00:00
Gunter Knauf
954575a19d
changed to use Makefile.inc; made paths overwritable.
2004-07-05 13:25:30 +00:00
Gunter Knauf
47bbe36725
added comment.
2004-07-05 13:24:44 +00:00
Daniel Stenberg
1a8f7e830c
Added README.netware to the release archive
2004-07-05 11:43:32 +00:00
Gunter Knauf
dfc85b7291
added line where to find compile instructions.
2004-07-05 02:34:17 +00:00
Gunter Knauf
1457b80617
minor NetWare upate.
2004-07-05 02:20:20 +00:00
Gunter Knauf
dba40b35f2
try to relax linux build host detection.
2004-07-05 01:58:33 +00:00
Gunter Knauf
e9d95f1a25
added a simple README.netware.
2004-07-05 01:00:47 +00:00
Gunter Knauf
67e40a2b16
added section for compiling NetWare target.
2004-07-05 00:55:48 +00:00
Daniel Stenberg
25f5f14d35
Gnter Knauf made c-ares build and run on Novell Netware.
2004-07-04 22:20:26 +00:00
Daniel Stenberg
dfda9cc007
explicit typecasts to prevent warnings
2004-07-04 21:54:49 +00:00
Daniel Stenberg
e39b29fc48
typecast the conversion to uInt when assigning z->avail_in to prevent
...
warnings from picky compilers
2004-07-04 21:53:46 +00:00
Daniel Stenberg
4c17ba4fc0
make sure the 3rd argument passed to bind() is a socklen_t
2004-07-04 21:48:54 +00:00
Daniel Stenberg
4511f7ac50
SSL_get_verify_result() returns a long, so we receive the result in a long
...
and not an int.
2004-07-04 21:42:32 +00:00
Daniel Stenberg
b9f76f11bb
typecast long => int conversion
2004-07-04 21:38:36 +00:00
Daniel Stenberg
17841a20e3
explicit typecasts when converting from long to int to avoid warnings
2004-07-04 21:37:35 +00:00
Gunter Knauf
d90d40b5d1
added NetWare section for paths.
2004-07-04 21:36:32 +00:00
Daniel Stenberg
d2e6a0583a
made 'connectindex' a long variable to prevent compiler warnings when
...
implicitly converting it to int
2004-07-04 21:36:14 +00:00
Gunter Knauf
b2c9277e66
update to build both test apps.
2004-07-04 21:35:26 +00:00
Daniel Stenberg
31c332af93
typecast the conversion from long to int to prevent picky compiler warnings
2004-07-04 21:35:12 +00:00
Gunter Knauf
90af60a6ef
removed now obsolete ifdef. Shouldnt the other ifdefs be inside the else as they are in ./src/setup.h ?
2004-07-04 15:37:25 +00:00
Gunter Knauf
80c7566203
removed now obsolete ifdef.
2004-07-04 15:34:58 +00:00
Gunter Knauf
efb1fdbec8
removed abort() - sync'd with getdate.y 1.26
2004-07-04 15:27:08 +00:00
Daniel Stenberg
bada8cc259
include the Makefile.inc file to get all sources and headers
2004-07-04 08:45:25 +00:00
Gunter Knauf
c3a076176e
minor fix for compiling on Linux.
2004-07-03 22:25:37 +00:00
Gunter Knauf
2cda3070d5
added few ifdefs to make it usable for NetWare.
2004-07-03 21:48:42 +00:00
Gunter Knauf
728bed8c98
added NetWare makefile.
2004-07-03 21:44:32 +00:00
Gunter Knauf
6e72ea7442
reverted, older gcc breaks compilation since it doesnt know the switch.
2004-07-03 20:18:02 +00:00
Gunter Knauf
a4aac27fd3
killed warning with gcc 3.3.1 and later when using -O2.
2004-07-03 19:58:01 +00:00
Gunter Knauf
5b8816dcb7
modified to use new Makefile.inc to build up object list;
...
added generation of config.h and a prebuild target to create all neded files.
2004-07-03 19:13:28 +00:00
Gunter Knauf
fc0df97278
modified to use new Makefile.inc to build up object list;
...
added generation of config.h and a prebuild target to create all neded files.
2004-07-03 18:06:39 +00:00
Gunter Knauf
592658e874
added Makefile.inc which can be included from other makefiles to reduce maintaining.
2004-07-03 17:49:40 +00:00
Daniel Stenberg
5a70e42428
I prefer CURLOPT_WRITEDATA before CURLOPT_FILE
2004-07-02 14:00:49 +00:00
Daniel Stenberg
e4caa98901
snprintf instead of sprintf,
...
better support for HUGE files with the -# progress bar
2004-07-02 12:48:53 +00:00
Daniel Stenberg
c211a7c685
added typecasts to please compilers
2004-07-02 12:29:15 +00:00
Daniel Stenberg
7876c078bc
variable type cleanup to hush compilers,
...
killed trailing whitespace
2004-07-02 12:28:57 +00:00
Daniel Stenberg
aedadfc779
explicit typecasts to double to prevent warnings about implicit conversions
...
that might lose accuracy
2004-07-02 11:56:26 +00:00
Daniel Stenberg
2046a6b9e5
curl_share_cleanup fix
2004-07-02 11:27:06 +00:00
Daniel Stenberg
d1d53b2bbf
make clean now removes getdate.c
2004-07-02 11:25:13 +00:00
Daniel Stenberg
950aa1c743
configure --disable-http works these days
2004-07-02 09:14:46 +00:00
Daniel Stenberg
a9572bf88a
Andrs Garca found out the share cleanup code crashes when you cleanup
...
and there are not lock/unlock functions set!
2004-07-02 08:28:31 +00:00
Daniel Stenberg
5a93f50394
typecase the argument to curl_easy_strerror() to a CURLcode to please
...
picky compilers
2004-07-01 14:06:44 +00:00
Daniel Stenberg
60af1cbcc2
djgpp fixes by Gisle
2004-07-01 13:55:13 +00:00
Daniel Stenberg
8952ef933b
Gisle's win32-fix. 'errno' is not used for errors when socket() fails on
...
Windows.
2004-07-01 13:54:24 +00:00
Daniel Stenberg
b350d5da59
Gisle added makefile for djgpp builds
2004-07-01 13:53:13 +00:00
Daniel Stenberg
6df3bf3644
--trace fix
2004-07-01 12:37:55 +00:00
Daniel Stenberg
35840a2c5c
make functions use size_t instead of int next major update
2004-07-01 08:22:52 +00:00
Daniel Stenberg
090b89cc76
Variable type cleanups to please the picky MIPSPro compiler.
2004-07-01 08:10:21 +00:00
Daniel Stenberg
f05d47ddd6
variable type cleanup to fix picky compiler warnings
2004-07-01 07:43:20 +00:00
Daniel Stenberg
fcfd4bef2d
typecast to prevent picky compiler warning
2004-07-01 07:30:19 +00:00
Daniel Stenberg
18dc8fbc26
typecast to int when the variable is int!
2004-07-01 07:28:36 +00:00
Daniel Stenberg
d9ceee1c75
Gisle's djgpp magic
2004-07-01 06:59:43 +00:00
Daniel Stenberg
097281f459
Gisle Vanem made this build fine with djgpp and the Watt-32 stack.
2004-07-01 06:58:47 +00:00
Daniel Stenberg
087748c48e
don't close the trace stream until _after_ the easy handle has been cleaned
...
up, as that can send traces too
2004-07-01 06:19:19 +00:00
Daniel Stenberg
e35187741b
spellfixed comments
2004-07-01 06:08:06 +00:00
Daniel Stenberg
574e911375
Another Gisle update
2004-06-30 12:34:33 +00:00
Daniel Stenberg
ce945bd2f0
5K array on the stack is a big hefty, it is now allocated with malloc
...
instead
2004-06-30 12:05:07 +00:00
Daniel Stenberg
8efa6f407d
I think 1024 bytes is enough for even most ipv6 addresses :-)
2004-06-30 12:04:37 +00:00
Daniel Stenberg
85bd4621db
Prevent a very long password to buffer overflow the global variable we
...
use when built with a very old OpenSSL version.
2004-06-30 11:53:34 +00:00
Daniel Stenberg
6c3759d78d
removed trailing whitespace, free a missing malloc when returning error
2004-06-30 11:51:24 +00:00
Daniel Stenberg
4af08a19f8
passing in a very long interface name could make a buffer overflow
2004-06-30 11:48:19 +00:00
Daniel Stenberg
c14650caec
not PIN code, pass phrase
2004-06-30 11:34:57 +00:00
Daniel Stenberg
c7a9e07909
simplified the check for when to free() the buf data
2004-06-30 11:32:16 +00:00
Daniel Stenberg
185baf036b
NOBODY set TRUE after a POST makes a good HEAD now
2004-06-30 11:09:16 +00:00
Daniel Stenberg
3523613826
wxcurldav
2004-06-30 10:47:14 +00:00
Daniel Stenberg
782ade7223
fixed
2004-06-30 09:29:00 +00:00
Daniel Stenberg
ba40eccc90
make the SSL connect use the same default connect timeout define as the
...
generic connect uses
2004-06-30 09:22:48 +00:00
Daniel Stenberg
4191741fb6
Curl_addrinfo is another typedef we use frequently
2004-06-29 18:45:52 +00:00
Daniel Stenberg
7a52f44bd4
Gisle fixed a bad free from the resolve reorg, I changed type of the buf
...
variable to sort out some compiler warnings.
2004-06-29 18:44:59 +00:00
Daniel Stenberg
efa5485744
Gisle's djgpp updates
2004-06-29 18:43:56 +00:00
Daniel Stenberg
c81ac51e5c
Gisle's update
2004-06-29 18:43:04 +00:00
Gunter Knauf
fd17cf2e3c
fixed argument parsing; added --setup option.
2004-06-29 13:20:37 +00:00
Daniel Stenberg
d4b0999415
'M-x ispell-buffer'
2004-06-29 13:16:30 +00:00
Daniel Stenberg
03f8ec89db
multi interface connect fix
2004-06-29 11:27:33 +00:00
Daniel Stenberg
f633ab688b
commented out the check for gethostbyname_r() as we no longer use it
2004-06-29 11:22:39 +00:00
Daniel Stenberg
808621ab22
corrected the Curl_is_connected() proto
2004-06-29 11:21:05 +00:00
Daniel Stenberg
6ed5feda2b
First attempt at making the multi interface work when connecting to a host
...
that resolves to multiple IP addresses.
2004-06-29 11:20:07 +00:00
Daniel Stenberg
964066c0de
Added missing info for the command line tool, as noted by Mike Kienenberger
2004-06-29 07:58:52 +00:00
Daniel Stenberg
a913e93667
--limit-rate problems on Mac OS X was reported by Rob Stanzel
2004-06-28 07:08:09 +00:00
Daniel Stenberg
a7b99fc463
check for a fine poll() before it is used to sleep subsecond
2004-06-27 21:51:54 +00:00
Daniel Stenberg
6f252f4704
reset CURLOPT_CUSTOMREQUEST with NULL
2004-06-27 21:19:54 +00:00
Daniel Stenberg
b596c34bed
snprintf and version
2004-06-24 15:20:29 +00:00
Daniel Stenberg
b0cd96478c
oops 5 bytes makes 4 letters plus zero byte
2004-06-24 15:15:27 +00:00
Daniel Stenberg
387ec712e6
fix warning
2004-06-24 15:06:25 +00:00
Daniel Stenberg
f2a99d7d74
the _num_chars() function is not used, removing
2004-06-24 15:05:39 +00:00
Daniel Stenberg
8b6b15dccc
to prevent compier warnings, we only declare len if we have code
...
that uses it
2004-06-24 14:52:51 +00:00
Daniel Stenberg
bbb72b7b6b
Gisle: free used memory better
2004-06-24 14:40:16 +00:00
Daniel Stenberg
785bad388b
Gisle cleaned up remaining host resolve re-org issues
2004-06-24 14:39:52 +00:00
Daniel Stenberg
cf10df6c68
include header for our printfs
2004-06-24 14:35:45 +00:00
Daniel Stenberg
5b55dcbfbb
reverted bad win32 fix
2004-06-24 14:34:13 +00:00
Gunter Knauf
e7dbbd16a5
fixed the MSVC build.
2004-06-24 13:49:14 +00:00
Daniel Stenberg
62f0457961
length limit the sscanf() parsing to prevent buffer overflow
2004-06-24 12:07:36 +00:00
Daniel Stenberg
8879b57b73
ah, simplified my latest change more
2004-06-24 12:01:20 +00:00
Daniel Stenberg
e49a6feabb
fix for systems without gethostbyname_r()
2004-06-24 11:58:43 +00:00
Daniel Stenberg
feb2dd2835
Replaced all uses of sprintf() with the safer snprintf(). It is just a
...
precaution to prevent mistakes to lead to buffer overflows.
2004-06-24 11:54:11 +00:00
Daniel Stenberg
5e34f3dc01
made the Curl_he2ai() take the port number as an int intead, to avoid lots
...
of typecasts all over
2004-06-24 10:43:50 +00:00
Daniel Stenberg
0031d76f2a
use snprintf() to be on the safe side
2004-06-24 10:43:22 +00:00
Daniel Stenberg
00ee738fdd
typecasts to prevent warnings
2004-06-24 09:14:59 +00:00
Daniel Stenberg
8d0a823124
only use sockaddr_in6 on ipv6-enabled hosts
2004-06-24 09:13:50 +00:00
Daniel Stenberg
9729df1756
socks proxy support even when libcurl is built ipv6-enabled
2004-06-24 08:59:54 +00:00
Daniel Stenberg
cdb419d65e
typecast to prevent warning
2004-06-24 08:31:17 +00:00
Daniel Stenberg
d6f9a41539
use Curl_addrinfo, not 'struct addrinfo'
2004-06-24 08:30:39 +00:00
Daniel Stenberg
1daa258b8a
fixed problems I missed to fix from my cleanup
2004-06-24 08:09:54 +00:00
Daniel Stenberg
560c257bd0
prevent warning
2004-06-24 08:08:28 +00:00
Daniel Stenberg
d7aae417b1
Yet another resolve code re-org
2004-06-24 07:56:07 +00:00
Daniel Stenberg
c39858aac0
Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
...
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.
2004-06-24 07:43:48 +00:00
Daniel Stenberg
818aed35e2
static functions are better not Curl_ prefixed to make their static
...
status more obvious
2004-06-23 09:08:03 +00:00
Daniel Stenberg
2ed524f07e
When adding the return -1 to prevent warnings on some compilers, others
...
started complaining since it won't be reached... So I removed the call to
abort() and just return -1 instead. abort() was wrong to call anyway since
this is a library!
2004-06-23 06:17:17 +00:00
Daniel Stenberg
5f1eefd03f
prevent a warning
2004-06-23 06:14:23 +00:00
Gunter Knauf
522b4d7576
one copy&paste too much, removed the define again.
2004-06-22 23:56:19 +00:00
Gunter Knauf
d6dcb08407
argh - copy&paste error.
2004-06-22 23:22:37 +00:00
Gunter Knauf
806c756a2d
syncronized with recent getdate.y updates.
2004-06-22 23:04:57 +00:00
Daniel Stenberg
2494701347
the hostname variable wasn't assigned and we no longer use it
2004-06-22 21:25:53 +00:00
Daniel Stenberg
1c10272e15
cookie size
2004-06-22 21:22:42 +00:00
Daniel Stenberg
0badcf381a
extended to include a cookie with 4998 bytes of content
2004-06-22 21:21:54 +00:00
Daniel Stenberg
35558e6bd7
David Cohen pointed out that RFC2109 says clients should allow cookies to
...
contain least 4096 bytes while libcurl only allowed 2047. I raised the limit
to 4999 now and made the used buffer get malloc()ed instead of simply
allocated on stack as before.
2004-06-22 21:15:51 +00:00
Daniel Stenberg
7659747e6f
Gnter Knauf fixed getdate.y to remove a few warnings. I removed the
...
ifdef'ed test we never ever use anyway.
2004-06-22 21:12:34 +00:00
Gunter Knauf
53189fb2d7
added new --target option for autobuilding other targets than GNU-like.
2004-06-22 20:02:49 +00:00
Gunter Knauf
450c178d77
added 'clean' targets for mingw32 and netware.
2004-06-22 18:26:23 +00:00
Daniel Stenberg
a20eb6df1b
reset CURLOPT_HTTPHEADER with NULL
2004-06-22 17:22:30 +00:00
Daniel Stenberg
d73425061a
Moved the "About to connect() to" text to the place where the host name is
...
actually known, as before this text lied when used in i.e FTP.
2004-06-22 15:23:01 +00:00
Daniel Stenberg
0051d5ac88
Gisle Vanem improved the certificate wildcard checks
2004-06-22 08:54:42 +00:00
Daniel Stenberg
76920413d9
Gisle fixed the wildcard checks for certificates.
2004-06-22 08:51:22 +00:00
Daniel Stenberg
44d9a8ba4e
Gunter's fix to avoid the notorious YYSTACK_USE_ALLOCA warning we get on
...
several platforms/compilers/yacc versions.
2004-06-22 07:27:43 +00:00
Daniel Stenberg
38dc548a87
retry to read the sent request a few times if it doesn't exist the first time
2004-06-22 07:09:47 +00:00
Daniel Stenberg
dca6386234
pass an int pointer when it expects an int pointer...
2004-06-22 06:50:41 +00:00
Daniel Stenberg
2a701a1aac
modified some logging output
2004-06-22 06:44:14 +00:00
Daniel Stenberg
0cb297abc9
testcurl.sh is dead, long live tests/testcurl.pl!
2004-06-21 14:58:03 +00:00
Daniel Stenberg
821a23535b
This is the old script for testing curl, now use tests/testcurl.pl instead.
...
It is more portable.
2004-06-21 14:56:48 +00:00
Daniel Stenberg
bc80599178
read callback return code and fixed the pycurl url
2004-06-21 14:20:34 +00:00
Daniel Stenberg
941374b573
CURL_READFUNC_ABORT stuff
2004-06-21 14:10:39 +00:00
Daniel Stenberg
1886893d66
Added blurb for the READFUNCTION, including the new CURL_READFUNC_ABORT
...
return code.
2004-06-21 14:09:23 +00:00
Daniel Stenberg
7291772b1f
added test case 513
2004-06-21 14:08:48 +00:00
Daniel Stenberg
8e28721057
The read callback can now return CURL_READFUNC_ABORT to stop a transfer.
2004-06-21 14:07:38 +00:00
Daniel Stenberg
8d2120566e
added CURL_READFUNC_ABORT
2004-06-21 14:04:36 +00:00
Daniel Stenberg
67341c4cbe
when the client disconnects prematurely, dump the request as received thus
...
far
2004-06-21 14:00:11 +00:00
Daniel Stenberg
f8188ddfee
recent events
2004-06-21 10:56:33 +00:00
Daniel Stenberg
29c546b426
typecasts to prevent compiler warnings
2004-06-21 08:37:53 +00:00
Daniel Stenberg
0d259b898b
updates
2004-06-21 08:28:18 +00:00
Daniel Stenberg
c136b80af5
refer to the new tutorial man page
2004-06-21 08:28:10 +00:00
Daniel Stenberg
83b87d53c1
removed libcurl-the-guide from the dist
2004-06-21 08:27:45 +00:00
Daniel Stenberg
1e99f1ee41
libcurl-tutorial.3 is the former libcurl-the-guide converted to man page format
2004-06-21 08:17:08 +00:00
Daniel Stenberg
d7fe136d54
test 177 HTTP POST with --digest that gets a 302 response
2004-06-19 10:10:50 +00:00
Daniel Stenberg
cd7a0f829f
When doing auth negotiations or authprobing, we only consider HTTP code
...
<300 to be good.
2004-06-19 10:10:24 +00:00
Daniel Stenberg
cf3f1ef284
prevent compiler warning
2004-06-19 09:38:08 +00:00
Daniel Stenberg
a737864a1c
ispell-buffer
2004-06-18 13:11:49 +00:00
Daniel Stenberg
c68a6805b3
two issues to remember to fix before next release
2004-06-18 11:47:08 +00:00
Daniel Stenberg
bd3d5a17b4
Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the
...
mailing list.
2004-06-18 06:20:43 +00:00
Daniel Stenberg
d4b577114b
With David Byron's test server I could repeat his problem and make sure that
...
POSTing over HTTPS:// with NTLM works fine now. There was a general problem
with multi-pass authentication with non-GET operations with CONNECT.
2004-06-18 06:15:26 +00:00
Daniel Stenberg
713effb6e4
large file FTP upload bug
2004-06-17 08:07:24 +00:00
Daniel Stenberg
b92e2ab6b1
new daring features, not used by any current test
2004-06-17 08:06:03 +00:00
Daniel Stenberg
05baf94b43
Keep the upload byte counter in an curl_off_t, not an int. 32bits is not
...
enough. This is most likely the bug Jean-Louis Lemaire reported that makes
2GB FTP uploads to report error when completed.
Also padded comments to get them aligned again, only for visibility.
2004-06-16 09:28:47 +00:00
Daniel Stenberg
a76288b99a
Alexander Krasnostavsky fixed a flaw in the 3rd party transfer code that
...
didn't properly check return code.
2004-06-16 09:05:22 +00:00
Daniel Stenberg
557e95c0a3
post with auth problems fixed
2004-06-15 11:04:21 +00:00
Daniel Stenberg
0a83fa90bb
skip the pid from the logging
2004-06-15 10:28:56 +00:00
Daniel Stenberg
daeb143177
test 176, use --ntlm and POST when the server doesn't require any auth
2004-06-15 09:20:04 +00:00
Daniel Stenberg
9f752120c0
added test case 175, use HTTP POST and DIGEST set but the server requires no
...
auth
2004-06-15 08:50:15 +00:00
Daniel Stenberg
80a1e972fc
Fix the auth code to enable us to i.e set DIGEST and then find out that the
...
server doesn't require any auth at all and then we just continue nicely. We
now have an extra bit in the connection struct named 'authprobe' that is TRUE
when doing pure "HTTP authentication probing".
2004-06-15 08:45:22 +00:00
Daniel Stenberg
5e65d48ffa
we actually build and run fine with libidn 0.4.1 too, so let's not require
...
anything newer than that
2004-06-14 21:40:11 +00:00
Daniel Stenberg
752ef08141
lots of multi interface description but also some general updates and additions
2004-06-14 14:44:28 +00:00
Daniel Stenberg
070e0e8b0a
prevent compiler warnings on non-win32 platforms
2004-06-14 10:45:30 +00:00
Daniel Stenberg
2ed0728cef
added test 174, HTTP POST --anyauth to server without auth requirements.
...
An attempt to repeat a reported auth problem. Works for me!
2004-06-14 09:16:39 +00:00
Daniel Stenberg
a79b9e9d4a
recent action
2004-06-14 08:54:59 +00:00
Daniel Stenberg
24572daccc
Allow formposting of files larger than what fits in memory by not reading the
...
file until it is actually being uploaded.
Make sure we build and still work with HTTP disabled - the SSL code might use
the boundary string for some random seeding.
2004-06-14 08:51:43 +00:00
Daniel Stenberg
1770563fff
refuse running the torture tests without a debug build
2004-06-14 08:25:54 +00:00
Daniel Stenberg
4cd96483f6
moved default: in a switch case to prevent compiler warning that 'request'
...
might be used uninitialized
2004-06-13 09:08:38 +00:00
Daniel Stenberg
8f1783b8a7
provide curl_formfree() even when http is disabled, it does nothing then
2004-06-13 08:59:37 +00:00
Daniel Stenberg
be72eaa327
use Curl_strcasestr() when checking wildcard cert names
2004-06-13 08:33:26 +00:00
Daniel Stenberg
61bded1d82
added Curl_strcasestr() for case insensitive strstr() searching
2004-06-13 08:32:57 +00:00
Gunter Knauf
4b3937373a
removed unused include path.
2004-06-11 17:27:03 +00:00
Gunter Knauf
08bf0907d4
fixed xdc generation, added lib target, load curl.nlm into ring3 by default.
2004-06-11 15:33:07 +00:00
Daniel Stenberg
eb044f8787
Tim Sneddon made it build fine on VMS again.
2004-06-11 12:29:30 +00:00
Gunter Knauf
8d0c77403c
some more makefile changes.
2004-06-11 02:29:16 +00:00
Gunter Knauf
601062455c
respect CVS builds in version string.
2004-06-11 01:36:27 +00:00
Gunter Knauf
5be788ba36
some more makefile changes.
2004-06-11 01:04:06 +00:00
Gunter Knauf
281559b31b
cosmetic correction.
2004-06-10 22:24:37 +00:00
Gunter Knauf
ef1aa4e5e9
converted to UNIX format.
2004-06-10 21:20:15 +00:00
Gunter Knauf
7b7ac04895
added timeval.c to the sources for curlx_ functions.
2004-06-10 20:46:24 +00:00
Gunter Knauf
60f5b2b275
minor output fix.
2004-06-10 20:43:46 +00:00
Gunter Knauf
c0f9d7fdb7
ups! no copy command defined.
2004-06-10 20:29:19 +00:00
Gunter Knauf
fc4d6f73a6
added generation of missing files.
2004-06-10 20:25:02 +00:00
Gunter Knauf
295169f9d9
added generation of missing files.
2004-06-10 20:12:49 +00:00
Gunter Knauf
1a3797a699
make include path overridable.
2004-06-10 17:11:39 +00:00
Daniel Stenberg
977e106924
Gisle Vanem's init patch for Windows
2004-06-10 13:11:32 +00:00
Daniel Stenberg
8d76d4016d
removed trailing whitespace
2004-06-10 11:56:02 +00:00
Daniel Stenberg
9f92657f76
Gisle corrected two comments
2004-06-10 11:55:37 +00:00
Daniel Stenberg
9f341f9ce5
Gisle Vanem's improved verbose output and timeout handling when connecting to
...
a host name that resolves to multiple IP addresses.
2004-06-10 11:06:21 +00:00
Daniel Stenberg
2098871509
build again with disabled http
2004-06-10 07:46:24 +00:00
Daniel Stenberg
3d00c86f4c
Steven Bazyl and Seshubabu Pasam pointed out a bug on win32 when freeing the
...
path after a transfer.
2004-06-10 07:17:28 +00:00
Daniel Stenberg
90037b85d1
Alexander Krasnostavsky's fix to make libcurl build fine with configure
...
--disable-http, which thus builds a libcurl without HTTP support.
2004-06-09 08:23:55 +00:00
Daniel Stenberg
6ec145d4b4
when built with HTTP disabled, provide a curl_formadd() function anyway to
...
keep the API complete at all times
2004-06-09 08:22:02 +00:00
Daniel Stenberg
40a58c392f
Added CURL_FORMADD_DISABLED when libcurl is built with HTTP disabled
2004-06-09 08:21:11 +00:00
Daniel Stenberg
9733cd59bb
removed reference to the removed curl_formparse
2004-06-09 08:18:17 +00:00
Daniel Stenberg
b3caf7bfa8
Setting CURLOPT_RANGE to NULL disables it.
...
Setting CURLOPT_RESUME_FROM to 0 prevents a resumed transfer.
2004-06-09 08:05:23 +00:00
Daniel Stenberg
23fbb89805
recent changes
2004-06-09 07:01:48 +00:00
Daniel Stenberg
bd1adaf7ea
when producing curllib.dsp, include libcurl.def as a source file.
...
An Alexander Krasnostavsky fix.
2004-06-09 06:54:12 +00:00
Gunter Knauf
0c9e23fc0c
added the new source files.
2004-06-09 01:27:48 +00:00
Gunter Knauf
f091ce64ac
corrected copyright.
2004-06-09 01:15:03 +00:00
Daniel Stenberg
55a69ebea6
Gisle's patch that'll allow curl to continue with the following URLs even
...
if one transfer fails.
2004-06-08 21:56:30 +00:00
Daniel Stenberg
d6b3850562
fix
2004-06-08 21:26:03 +00:00
Daniel Stenberg
80197cf493
James Bursa fixed a RISC OS init issue, removed trailing whitespace
2004-06-08 21:25:11 +00:00
Daniel Stenberg
8ee564c216
Marty Kuhrt's VMS fixes
2004-06-08 21:21:53 +00:00
Gunter Knauf
5bfeb60a83
corrected defines.
2004-06-08 15:05:45 +00:00
Daniel Stenberg
1ab4a2f870
delete trailing whitespace
2004-06-08 15:05:20 +00:00
Gunter Knauf
2a627059ac
convert to UNIX format.
2004-06-08 14:57:37 +00:00
Gunter Knauf
3f739acf24
converted to UNIX format.
2004-06-08 14:52:32 +00:00
Daniel Stenberg
d3454ceb94
Kjetil Jacobsen pointed out that the CURLOPT_FILETIME option was wrongly
...
marked as accepting an objectpoint argument while it actually assumes a long.
The comment was also grossly misleading. The man page was and is correct
though.
2004-06-08 14:13:50 +00:00
Daniel Stenberg
59695c05b1
time schedule for this year
2004-06-08 12:23:48 +00:00
Daniel Stenberg
f0969c9692
prevent compiler warning with picky compilers
2004-06-07 10:28:14 +00:00
Daniel Stenberg
18dd8154e2
Reverted the previous change and redid it differently as it seemed to not
...
work. This is supposed to detect cross-compiling and alert the user, and not
do the POSIX-check for strerror_r() if it already detected a glibc-compatible
strerror_r().
2004-06-07 08:30:36 +00:00
Daniel Stenberg
4c58797607
When sending info about which host that sends what, include proper direction
...
to/from, based on a suggestion from Alexander Krasnostavsky
2004-06-07 07:01:29 +00:00
Daniel Stenberg
d620f1e529
configure fix
2004-06-04 20:57:59 +00:00
Daniel Stenberg
e0b436f8e1
1 - do better when cross-compiling when checking for strerror_r() - alert
...
the user.
2 - don't check for POSIX-style if glibc-style is found first
2004-06-04 19:01:58 +00:00
Daniel Stenberg
e99d1e97de
test 173 added: HTTP RFC1867-formpost a file from stdin with "faked" filename
2004-06-04 12:24:47 +00:00
Daniel Stenberg
1fb74b4fa2
fixed spell, removed reference to a 'tools' subdir in the curl dir, as we
...
don't have one
2004-06-04 07:21:12 +00:00
Daniel Stenberg
473f6ea9f0
Gnter Knauf's netware fix
2004-06-04 07:04:32 +00:00
Daniel Stenberg
0b04c52119
Gnter Knauf's netware build fixes
2004-06-04 07:02:30 +00:00
Daniel Stenberg
8383945acc
3rd party transfers are in CVS now
2004-06-04 06:48:58 +00:00
Daniel Stenberg
fce9d51122
updated a comment
2004-06-03 14:42:08 +00:00
Daniel Stenberg
7c3ee84295
updates
2004-06-03 14:41:44 +00:00
Daniel Stenberg
a8db25f48b
the test targets won't invoke the test suite if curl is built cross-compiled.
...
Pointed out by Chris Gaukroger.
2004-06-03 14:38:07 +00:00
Daniel Stenberg
20705ca311
set an automake conditional for if this is a cross-compile or not
2004-06-03 14:37:14 +00:00
Daniel Stenberg
af33c6b549
deleted trailing whitespace
2004-06-03 13:03:57 +00:00
Daniel Stenberg
2b8775dff7
7.12.0 introduced IDN support
2004-06-03 11:43:21 +00:00
Daniel Stenberg
ea81dd9e2e
Alexander Krasnostavsky's FTP third party transfer (proxy) support
2004-06-03 11:41:05 +00:00
Daniel Stenberg
7dcb102733
Mention the python-isque mailing list, don't mention the commit mailing lists
...
as they are probably very rarely intresting to the "common people" anyway.
2004-06-03 11:30:30 +00:00
Daniel Stenberg
aa0e32060e
CURLE_FAILED_INIT is returend when an unknown option is set
2004-06-03 11:19:35 +00:00
Daniel Stenberg
2e8f37aca5
Added example of how to use the upcoming support for FTP 3rd party transfers
2004-06-03 11:15:27 +00:00
Daniel Stenberg
195d769c4b
corrected to use the proxy user name for proxy auth, as was just bugfixed!
2004-06-03 10:42:53 +00:00
Daniel Stenberg
70f08b5baa
Vincent Bronner made the code use the correct user name + password when
...
doing proxy authentication.
2004-06-03 10:42:20 +00:00
Daniel Stenberg
9e987ac6a2
getinfo.c is a new tiny example that uses curl_easy_getinfo() to get the
...
content-type after a transfer.
2004-06-03 09:20:48 +00:00
Daniel Stenberg
de03f172ad
very minor format edit
2004-06-02 14:39:34 +00:00
Daniel Stenberg
0078944486
CURLOPT_PUT is deprecated
2004-06-02 14:06:49 +00:00
Daniel Stenberg
d3f796ac59
Made CURLOPT_UPLOAD and CURLOPT_PUT mean the same thing internally (the
...
previous difference was not clear nor documented properly). They can now both
be used interchangeably, but we prefer UPLOAD to PUT since it is a more
generic term.
2004-06-02 13:57:38 +00:00
Daniel Stenberg
3d38080d54
*seven* new options to support 3rd party FTP transfers
2004-06-02 13:51:36 +00:00
Daniel Stenberg
fe07962f9c
7.12.1-CVS in progress
2004-06-02 11:39:06 +00:00
Daniel Stenberg
938a72b2db
Gisle's adjustments to allow building with lcc-win32
2004-06-02 11:36:07 +00:00
Daniel Stenberg
a8827b1ed6
Gisle made ftp_mkd static
2004-06-02 11:34:53 +00:00
Daniel Stenberg
ff40cd71ac
and we start all over again
2004-06-02 11:31:36 +00:00
Daniel Stenberg
39626d8cfd
7.12.0
2004-06-02 09:03:02 +00:00
Daniel Stenberg
67ad29e716
more changes
2004-06-02 08:57:43 +00:00
Daniel Stenberg
8bbf9b13af
Renaud Duhaut corrected the unescaping procedure
2004-06-01 08:33:15 +00:00
Daniel Stenberg
cb21851c74
David Byron made this use the mm lib by default, as was previously done. This
...
might be done differently in the future.
2004-06-01 08:09:43 +00:00
Daniel Stenberg
8d611bec6e
--create-dirs clarification
2004-06-01 07:03:46 +00:00
Daniel Stenberg
1de1dc7314
minor edits
2004-05-28 11:16:09 +00:00
Daniel Stenberg
aca79af7de
check for failing strdup()s
2004-05-28 09:56:59 +00:00
Daniel Stenberg
da6eea9b38
delete trailing whitespace
2004-05-28 09:52:15 +00:00
Daniel Stenberg
dcf7310b2d
fixed curl_easy_duphandle() to properly clean up all memory if any memory
...
function fails and it returns NULL
2004-05-27 07:48:09 +00:00
Daniel Stenberg
c2e8ba0fba
free() allocated memory when the ares search can't be made
2004-05-27 07:10:36 +00:00
Daniel Stenberg
a5360255ba
clear the domains and sortlist when the 'channel' is first created so that
...
we can compare if non-NULL elsewhere
2004-05-27 07:10:02 +00:00
Daniel Stenberg
5690a2b493
better checks to avoid free(NULL)
2004-05-27 07:09:21 +00:00
Daniel Stenberg
ff0429a802
James Bursa's fix to prevent free(NULL) to occur
2004-05-27 06:42:48 +00:00
Daniel Stenberg
46cdc83b81
the CONNECT issue seems fixed too now
2004-05-26 14:32:15 +00:00
Daniel Stenberg
76dfef7117
Mohun Biswas added release-zlib and debug-zlib targets.
2004-05-26 11:49:28 +00:00
Daniel Stenberg
de2aeb9fc2
MSVC makefiles updated and an auth problem when using CONNECT
2004-05-26 10:35:01 +00:00
Daniel Stenberg
17a5b44205
curllib.dsp works in the latest snapshots
2004-05-26 10:32:48 +00:00
Daniel Stenberg
f99e347878
bugs, changes, sponsors!
2004-05-26 09:23:11 +00:00
Daniel Stenberg
f5a0c17322
updated with recent stuff
2004-05-26 09:19:46 +00:00
Daniel Stenberg
8442c3942d
three new functions in the public API
2004-05-26 09:17:20 +00:00
Daniel Stenberg
15cd35f67f
added example that makes an upload to a file:// url
2004-05-26 09:00:03 +00:00
Daniel Stenberg
459801d6e0
strip trailing whitespace
2004-05-26 08:58:25 +00:00
Daniel Stenberg
2c43d64302
Added a new 'bit' in the connect struct named 'tunnel_proxy' that is set
...
if a connection is tunneled through a proxy. A tunnel is done with CONNECT,
either when using HTTPS or FTPS, or if explicitly enabled by the app.
2004-05-26 08:54:36 +00:00
Daniel Stenberg
fd802db39f
initial support for "uploading" to file:// URLs
2004-05-25 21:47:29 +00:00
Daniel Stenberg
765754d39d
--proxy-basic added for completeness
2004-05-25 14:44:25 +00:00
Daniel Stenberg
f7f6b288eb
removed some stuff that actually is done now, added the --optionseparator
...
idea (not really new, but its better to have it mentioned in here)
2004-05-25 14:39:53 +00:00
Daniel Stenberg
11ee9540bf
Bug report #948950 , excessive amount of file descriptors might crash libcurl
2004-05-25 14:28:44 +00:00
Daniel Stenberg
f6319bd706
Massimiliano Ziccardi's updates for the VC6 makefiles
2004-05-25 13:52:12 +00:00
Daniel Stenberg
0912015a5c
preprocessor magic around the libidn idn_free() stuff to remain workable
...
both with older libidn versions without idn_free() and with libidn versions
that gets installed without idn-free.h
2004-05-25 12:00:15 +00:00
Daniel Stenberg
4e7575fc7a
checl for the idn_free stuff to remain functionall even with older libidn
...
versions
2004-05-25 11:59:32 +00:00
Daniel Stenberg
6531a6116d
remove trailing whitespace
2004-05-25 11:13:49 +00:00
Daniel Stenberg
9a33561e80
make one call instead of two
2004-05-25 07:51:06 +00:00
Daniel Stenberg
88229a0f2a
new example proving that the debug callback works even when the multi
...
interface is used
2004-05-24 15:16:53 +00:00
Daniel Stenberg
120394cc45
remove trailing whitespace
2004-05-24 15:16:29 +00:00
Daniel Stenberg
1adfe0fe18
multi interface, debug callback
2004-05-24 15:12:37 +00:00
Daniel Stenberg
d57c178a62
delete trailing whitespace
2004-05-24 13:31:28 +00:00
Daniel Stenberg
6faa83bc6a
if no errorbuffer string was provided when a return code was returned, use
...
the curl_easy_strerror() function to provide one
2004-05-24 13:27:48 +00:00
Daniel Stenberg
9fb4e019fa
IDN is a recognized feature
2004-05-24 13:23:54 +00:00
Daniel Stenberg
74551597b1
fixed a reference
2004-05-24 13:21:31 +00:00
Daniel Stenberg
37c269d0ba
meta-m runs delete-trailing-whitespace in curl-mode
2004-05-24 12:12:09 +00:00
Daniel Stenberg
5d8b526b80
delete trailing whitespace
2004-05-24 11:57:34 +00:00
Daniel Stenberg
83dcc3e061
delete trailing whitespace
2004-05-24 10:46:22 +00:00
Daniel Stenberg
4ed58463f7
better name
2004-05-24 09:01:45 +00:00
Daniel Stenberg
85b2056dc7
only idn_free() if built with libidn
2004-05-24 08:19:37 +00:00
Daniel Stenberg
94ca911dc1
delete trailing whitespace
2004-05-24 07:53:25 +00:00
Daniel Stenberg
24420c2191
Simon Josefsson added a idn_free() function in libidn 0.4.5 as a reaction to
...
Gisle's previous mail. We now use this function, and thus we require libidn
0.4.5 or later. No earler version will do.
2004-05-24 07:40:00 +00:00
Daniel Stenberg
59f904d8de
Robert D. Young reported that CURLOPT_COOKIEFILE and CURLOPT_COOKIE could
...
not be used both in one request. Fixed it and added test case 172 to verify.
2004-05-24 07:13:48 +00:00
Daniel Stenberg
755f98e768
While talking to host a.b.c, libcurl did wrongly not accept cookies that were
...
set to the domain .a.b.c (that is with a dot prefix). This is now fixed and
test case 171 verifies it.
2004-05-21 20:40:15 +00:00
Daniel Stenberg
aadc797225
quickfix to avoid division by zero, possibly we should go over all of these
...
once and for all
2004-05-21 12:23:53 +00:00
Daniel Stenberg
5c882bdfa3
fixed transfer speed math
2004-05-20 20:48:16 +00:00
Daniel Stenberg
60f9450594
calculate upload and download speed using doubles to keep precision.
...
deleted trailing whitespace
2004-05-20 20:35:42 +00:00
Daniel Stenberg
ff52ba7f7b
NTLM requires SSL
2004-05-19 11:25:21 +00:00
Daniel Stenberg
0fbcea45d6
cert verify
2004-05-19 11:10:36 +00:00
Daniel Stenberg
ca6d430561
added test 170
2004-05-19 10:32:25 +00:00
Daniel Stenberg
91601b3bf4
David Byron's test case with -F that used to crash
2004-05-19 10:31:58 +00:00
Daniel Stenberg
cdd70596df
killed trailing whitespace
2004-05-19 09:25:00 +00:00
Daniel Stenberg
7e186f9a63
just code formatting and killed whitespace
2004-05-19 09:24:18 +00:00
Daniel Stenberg
a94e117ede
language!
2004-05-19 09:09:31 +00:00
Daniel Stenberg
662cb30372
Set CURLOPT_USERAGENT too
2004-05-19 09:08:19 +00:00
Daniel Stenberg
bd3aba5d6a
The kill trailing whitespace needs to be set better as this way it takes
...
effect globally which isn't nice. Commented it out for now. Display trailing
whitespace still, to remind me.
2004-05-19 08:16:08 +00:00
Daniel Stenberg
29ed6d24bf
simplified all die messages
2004-05-18 10:55:40 +00:00
Daniel Stenberg
e2c5c20896
simplified the automake failed message too
2004-05-18 09:25:46 +00:00
Daniel Stenberg
7c4b6cb0d9
make this script tell that this is the obsolete version, to make it possible
...
to detect
2004-05-18 09:22:41 +00:00
Daniel Stenberg
aced2904ff
simplified the die-line when aclocal fails, the previous one confused
...
the netbsd shell
2004-05-18 09:02:38 +00:00
Daniel Stenberg
17eb1fca7c
+ when storing the address in the cache fails, cleanup the resolved address
...
properly
+ delete trailing whitespace
2004-05-18 07:35:37 +00:00
Daniel Stenberg
2511d1193a
* seed_enough() was converted to a macro to avoid the IRIX compiler warning
...
about that passed-in argument not being used.
* killed trailing whitespace
2004-05-18 07:25:13 +00:00
Daniel Stenberg
e9056f5f95
if shrinking the buffer fails, use the older larger one
2004-05-17 22:07:43 +00:00
Daniel Stenberg
a9893ca79a
Peter Sylvester's patch that addresses two flaws in the peer certificate name
...
verification:
- when multiple common names are used (as in the curl tests), the last name
needs to be selected.
- allow comparing with encoded values, at least with BMP and ISO latin1
encoded T61strings.
2004-05-17 22:01:16 +00:00
Daniel Stenberg
f39f7c28f0
'make test-torture' in the root now runs a full torture test
2004-05-17 10:54:00 +00:00
Daniel Stenberg
a807065ccc
removed debug output and trailing whitespace
2004-05-17 10:53:34 +00:00
Daniel Stenberg
67532e916c
grrr, fix the check again if no ftp server at all is running
2004-05-17 10:51:51 +00:00
Daniel Stenberg
3920b4dae8
torture testing and a moved CVS repo
2004-05-17 10:39:44 +00:00
Daniel Stenberg
d70a335dce
new Curl_done() proto
2004-05-17 08:07:07 +00:00
Daniel Stenberg
8001921112
I made Curl_done() take a pointer-pointer in the first argument instead, and
...
if the connection is killed it blanks the pointer it points to, to make it
easier to detect usage problems whereever Curl_done() is used.
2004-05-17 08:05:46 +00:00
Daniel Stenberg
d7cb09bd18
better bailing out on memory failure
2004-05-17 08:04:42 +00:00
Daniel Stenberg
e11710714c
When waiting for the second connect, we now use alarm to timeout the waiting.
...
This is necessary in case the client never connects or somehow fails to do
it timely. The timeout used now is only 2 seconds, which might cause problems
on really slow hosts but longer times are painful when doing torture testing
on FTP test cases.
I'm not sure how this 'alarm' functionality works on Windows or other systems
that don't actually have the alarm() function.
2004-05-17 08:02:23 +00:00
Daniel Stenberg
5b0bfc298f
improved the check for our own ftp server
2004-05-17 07:59:10 +00:00
Daniel Stenberg
0383f7f19d
modified to not leak memory if a libcurl function returns failure, for better
...
memory leak detection
2004-05-17 07:45:20 +00:00
Daniel Stenberg
23a43c6e0f
Seshubabu Pasam's format fixes and added notes about DER not working for
...
some (SSL-)options.
2004-05-17 07:12:32 +00:00
Daniel Stenberg
eb946690d2
make it not leak memory when it returns prematurely
2004-05-17 06:55:04 +00:00
Daniel Stenberg
c090fdbdf1
automatically delete trailing white space on save in curl-mode
2004-05-17 06:54:20 +00:00
Daniel Stenberg
de279099e5
bail out nicely if strdup() returns NULL, removed trailing whitespace
2004-05-17 06:53:41 +00:00
Daniel Stenberg
6bd8db3c99
deleted trailing whitespace
2004-05-17 06:50:32 +00:00
Daniel Stenberg
6176f14141
fixed a warning on IRIX, deleted trailing whitespace
2004-05-17 06:50:08 +00:00
Daniel Stenberg
512e54ff85
added string for the new share error code
2004-05-14 11:46:35 +00:00
Daniel Stenberg
a5aa569fe3
Added CURLSHE_NOMEM
2004-05-14 09:30:31 +00:00
Daniel Stenberg
e2e593a036
clean up properly on failure to enable easier libcurl leak detection
2004-05-14 09:22:12 +00:00
Daniel Stenberg
9ce0a7b49d
new cvs instructions
2004-05-14 09:21:42 +00:00
Daniel Stenberg
4ab0d74250
enable memory debugging the same way the curl command line tool already does
2004-05-14 08:40:33 +00:00
Daniel Stenberg
b5f85ba77d
memory cleanup and check fix
2004-05-13 15:19:02 +00:00
Daniel Stenberg
b6ee33c6e1
check that memory allocation functions truly return good data or bail out
2004-05-13 15:18:29 +00:00
Daniel Stenberg
1c69b15c7c
return on memory alloc fail
2004-05-13 15:17:49 +00:00
Daniel Stenberg
54cd2bee58
better bailing out in case of no memory
2004-05-13 15:17:07 +00:00
Daniel Stenberg
5bf02b16a0
curl_free() doesn't free(NULL) but just returns
2004-05-13 15:16:36 +00:00
Daniel Stenberg
594cb8507b
deal with input arguments as NULL
2004-05-13 15:16:10 +00:00
Daniel Stenberg
78aba6e4cd
return CURLDIGEST_NOMEM when a memory function fails to deliver
2004-05-13 14:14:03 +00:00
Daniel Stenberg
ccdcdb2a46
mark a value as alloced when strdup()ed to prevent memory leaks
2004-05-13 14:13:12 +00:00
Daniel Stenberg
b121e41ec3
bail out when no memory occurs
2004-05-13 14:12:49 +00:00
Daniel Stenberg
05d8e56ffd
Gisle Vamem reintroduced the verifyconnect() call on windows as well, and
...
we now use it to provide more info back on connect failures.
2004-05-13 10:40:17 +00:00
Daniel Stenberg
4345c7a712
Gisle: minor fix
2004-05-13 10:38:57 +00:00
Daniel Stenberg
12d5e33dc9
no more Curl_ldap_done
2004-05-13 10:38:37 +00:00
Daniel Stenberg
6d70a82757
Added two two missing header files I missed when I removed the noinst_HEADERS
2004-05-13 09:01:15 +00:00
Daniel Stenberg
47d52d4eca
added https.c
2004-05-13 08:23:09 +00:00
Daniel Stenberg
4973b0f88a
basic https fetching script
2004-05-13 08:22:40 +00:00
Daniel Stenberg
d1542bf549
made 'runtests.pl -t' run over all the tests just like other command lines
...
Also made -t imply -n to disable valgrind, it runs sloooow otherwise.
This now manages to run all tests OK up to test case 100 (the first FTP one)
for me.
2004-05-13 07:52:33 +00:00
Daniel Stenberg
2b7727aad1
James Bursa's patch to avoid free(NULL) (mainly because the libcurl memdebug
...
system thinks free(NULL) is badness)
2004-05-13 06:53:29 +00:00
Daniel Stenberg
fd775454ca
Check that memory functions return non-NULL or return error.
2004-05-12 13:24:40 +00:00
Daniel Stenberg
8e09a389c4
make sure the returned pointer is NULL when encoding fails
2004-05-12 13:23:17 +00:00
Daniel Stenberg
aa3ae01878
clean up and return better on out of memory
2004-05-12 13:05:01 +00:00
Daniel Stenberg
c123676825
return NULL on out of memory
2004-05-12 13:04:30 +00:00
Daniel Stenberg
d60c22572b
Curl_done() and the protocol-specific conn->curl_done() functions now all
...
take a CURLcode as a second argument, that is non-zero when Curl_done()
is called after an error was returned from Curl_do() (or similar).
2004-05-12 12:06:39 +00:00
Daniel Stenberg
1d7ce36791
return faster when we "hit a wall" while printfing
2004-05-12 12:05:13 +00:00
Daniel Stenberg
34e8baab9a
general cleanup to bail out nice and clean when a memory function fails
...
to deliver
2004-05-12 12:04:38 +00:00
Daniel Stenberg
a219d774fe
even if Curl_do() fails, we must call Curl_done() to do proper cleaning up
2004-05-12 09:02:54 +00:00
Daniel Stenberg
005042e973
improved cleaning up in case of memory allocation failures
2004-05-12 09:02:23 +00:00
Daniel Stenberg
d301d69fbf
bail out if we can't allocate the new range string, and make use of aprintf()
...
instead of using snprintf() + strdup().
2004-05-12 08:26:56 +00:00
Daniel Stenberg
34af02caca
Disable memdebug for the allocs done by the app, unless CURLTOOLDEBUG is
...
defined (which it never is atm).
Now, we can focus on making 'runtests -t [num]' work on all test cases and
we should never leak nor crash.
2004-05-12 08:22:04 +00:00
Daniel Stenberg
91025d1dd6
new man page
2004-05-12 08:10:25 +00:00
Daniel Stenberg
c9bab31a7f
use size_t better for buffer and alloc lengths
2004-05-12 08:00:21 +00:00
Daniel Stenberg
2f60e91a9b
removed another jhrg-reference in a comment
2004-05-12 07:56:01 +00:00
Daniel Stenberg
018affe6d0
Edited comments only.
2004-05-12 07:55:05 +00:00
Daniel Stenberg
aeb27ccfdb
The Curl_unencode_XXX_write() function take a ssize_t as third argument, so
...
we typecast on invoke.
2004-05-12 07:54:44 +00:00
Daniel Stenberg
939866faab
Left-over from before the return-code fix. This is probably the code that
...
causes xlc and gcc act differently on AIX.
2004-05-12 06:27:40 +00:00
Daniel Stenberg
98f968f2ee
fixed Curl_open() to not leak anything if one malloc() fails, fix by
...
James Bursa only modified by me.
2004-05-11 21:17:03 +00:00
Daniel Stenberg
864f1a3366
- Nico Stappenbelt reported that when processing domain and search lines in
...
the resolv.conf file, the first entry encountered is processed and used as
the search list. According to the manual pages for both Linux, Solaris and
Tru64, the last entry of either a domain or a search field is used.
2004-05-11 21:12:10 +00:00
Daniel Stenberg
f42b10242f
revert the accidentally added use of strace
2004-05-11 18:57:03 +00:00
Daniel Stenberg
853134017d
minor leak in case of error, thanks to "./runtests.pl -n -t 25"
2004-05-11 14:53:24 +00:00
Daniel Stenberg
d3999e06d1
clear up memory on failure a little better
2004-05-11 14:48:53 +00:00
Daniel Stenberg
0b0b37cffe
make the libidn pointer in the version struct a const
2004-05-11 14:22:51 +00:00
Daniel Stenberg
a13f5888d5
they're at least 36 functions now
2004-05-11 14:21:34 +00:00
Daniel Stenberg
c8807438ce
updated to reflect reality!
2004-05-11 14:15:49 +00:00
Daniel Stenberg
3f106afd00
cut out the changelog, it is far from accurate anyway
2004-05-11 12:22:50 +00:00
Daniel Stenberg
d925057e11
added curl_global_init_mem
2004-05-11 11:48:09 +00:00
Daniel Stenberg
bbafb2eb27
curl_global_init_mem() allows the memory functions to be replaced.
...
memory.h is included everywhere for this.
2004-05-11 11:30:23 +00:00
Daniel Stenberg
434bc13812
*** empty log message ***
2004-05-11 11:29:31 +00:00
Daniel Stenberg
5c592f7dd9
Make this source code use our internal *printf().
...
Also some minor edits.
2004-05-11 11:29:02 +00:00
Daniel Stenberg
9bf1ba2f7e
Added recent events to the log
2004-05-11 08:10:32 +00:00
Daniel Stenberg
724e4a3585
more changes, more news, more people
2004-05-11 08:10:15 +00:00
Daniel Stenberg
f69711fc78
another official download mirror
2004-05-11 08:09:56 +00:00
Daniel Stenberg
04e2520dbb
new attempt at an improved DSP-file generation
2004-05-11 07:54:55 +00:00
Daniel Stenberg
7a35fb5403
slightly better dealing of bad mem situations
2004-05-10 14:45:11 +00:00
Daniel Stenberg
63f97b38eb
Moved the fetching of the list of matching cookies to make it easier to free
...
that list in case something goes wrong in the function and we must bail out.
Courtesy of the torture testing.
2004-05-10 14:22:20 +00:00
Daniel Stenberg
b8541929c8
curl_slist_append() fixed to clear up properly if a memory function fails
2004-05-10 14:21:19 +00:00
Daniel Stenberg
329f17ac7c
better detect if/when curl_slist_append() returns failure, and bail out
...
accordingly
2004-05-10 14:04:35 +00:00
Daniel Stenberg
5dcab07c54
if a malloc fails, clear up the memory and return failure
2004-05-10 14:04:06 +00:00
Daniel Stenberg
1f798affb9
typo
2004-05-10 10:52:29 +00:00
Daniel Stenberg
a2ecdf4249
the aprintf() versions now return NULL if _any_ alloc along the way failed,
...
previously they could return a piece of the string, making it impossible
for the caller to detect errors.
2004-05-10 10:50:43 +00:00
Daniel Stenberg
71fdc063bd
better detection for when add_buffer() returns failure, and return when that
...
happens
2004-05-10 10:49:35 +00:00
Daniel Stenberg
887d78a9ad
Curl_hash_add() was modified to clear up better in case of internal failure.
...
When failing, it should not tamper at all with the data it was supposed to
add to the cache.
2004-05-10 09:17:50 +00:00
Daniel Stenberg
00557a5475
checkpasswd() prevents segfault by checking that input argument is non-NULL
2004-05-10 09:16:21 +00:00
Daniel Stenberg
e18d27b78a
James Bursa's adjustments to make the -t option work for any test case.
...
The -t is the "torture" test that first runs the test and counts the number
of allocations performed during it, then it runs the test repeatedly over and
over again and makes alloc number N fail to verify that we detect and return
properly from error cases everywhere.
2004-05-10 09:01:45 +00:00
Daniel Stenberg
228fea4628
make Curl_llist_insert_next() fail properly if malloc() fails
2004-05-10 08:57:37 +00:00
Daniel Stenberg
e64dacb40e
better checking that strdup() works
2004-05-10 08:57:18 +00:00
Daniel Stenberg
fff01f24bf
Luca fixed the nc= in the digest line since it apparantly should not have
...
quotes...
2004-05-10 08:09:15 +00:00
Daniel Stenberg
e55dee3807
James Bursa added better error checking for failer memory calls when
...
building formposts
2004-05-10 07:11:52 +00:00
Daniel Stenberg
8c2ce33c0b
build curllib.dsp from these
2004-05-10 07:03:46 +00:00
Daniel Stenberg
135394f511
don't use -i when checking for our own server
2004-05-10 06:29:52 +00:00
Daniel Stenberg
fe065dc851
James' and Gisle' reports/fixes
2004-05-07 20:08:38 +00:00
Daniel Stenberg
445c7791a7
James Bursa changed two error message to use the display-name instead of the
...
internally-used name.
2004-05-07 18:56:33 +00:00
Daniel Stenberg
686ba84128
James Bursa's fix to make this deal with malloc(0) as OK to free()
2004-05-07 18:54:09 +00:00
Daniel Stenberg
3394c01826
We don't support any long protocol names so we can use a smaller buffer.
...
Also, make sure we have room for the trailing zero, only scan to size-1.
Gisle Vanem reported.
2004-05-07 18:46:28 +00:00
Daniel Stenberg
d67ea8c7ad
count the formdata size using a 64bit size if avaialble
2004-05-07 09:50:49 +00:00
Daniel Stenberg
535046430a
Made the lib/curllib.dsp file get generated automaticly
2004-05-07 09:45:33 +00:00
Daniel Stenberg
9aebdff219
don't use a magic define name
2004-05-07 09:42:23 +00:00
Daniel Stenberg
90da930131
This file is now generated at dist-time.
2004-05-07 09:41:28 +00:00
Daniel Stenberg
fbdc1b1e3d
Generate curllib.dsp on dist.time from msvcproj.head msvcproj.foot and the
...
known source files. Not actually verified to work yet.
2004-05-07 09:41:05 +00:00
Daniel Stenberg
e942df755b
get the display host name properly
2004-05-07 06:18:47 +00:00
Daniel Stenberg
91c8be3628
removed two odd comments
2004-05-06 15:17:10 +00:00
Daniel Stenberg
d56c03840b
little fixes
2004-05-06 15:11:16 +00:00
Daniel Stenberg
d3d5cdf305
removed the warning if libidn isn't found
2004-05-06 15:05:23 +00:00
Daniel Stenberg
af43ce73e5
very minor output change
2004-05-06 15:04:04 +00:00
Daniel Stenberg
84b52e92f4
simplied the creation of new urls
2004-05-06 13:29:04 +00:00
Daniel Stenberg
0aa7d11cc9
%ld for long
2004-05-06 13:21:32 +00:00
Daniel Stenberg
933f7cecae
int/long fix
2004-05-06 12:44:08 +00:00
Daniel Stenberg
8e73e55336
Michael Benedict brought a fix that fills in the errorbuffer properly
...
when ares fails to resolve a name. This was fixed before but somehow has
fallen out again!
2004-05-06 11:10:51 +00:00
Daniel Stenberg
55c015c136
typo AGAIN
2004-05-06 11:02:50 +00:00
Daniel Stenberg
bde6c6685e
When using the icc compiler, we also ignore remark #1418 "external definition
...
with no prior declaration" since this is a habit we have in the code.
2004-05-06 10:58:57 +00:00
Daniel Stenberg
58387b91f9
printf %s with plain 'char *', not unsigned ones to silence icc's picky
...
warnings
2004-05-06 10:57:07 +00:00
Daniel Stenberg
6f74820cfc
if no strerror_r prototype is found, we provide our own to prevent picky
...
compilers to warn
2004-05-06 10:49:40 +00:00
Daniel Stenberg
af72f198ba
removed the unused 'len' variable, made use of the ptr pointer even if no
...
extra lib is used to prevent compiler warnings ("variable set but not used")
on that case
2004-05-06 07:32:30 +00:00
Daniel Stenberg
3fc831f9eb
typecast the unsigned long to plain long to prevent compiler warnings
2004-05-06 07:24:47 +00:00
Daniel Stenberg
9f660862ec
unused variable removed
2004-05-06 07:22:32 +00:00
Daniel Stenberg
1354671c90
use %ld to printf now.tv_sec
2004-05-06 07:21:19 +00:00
Daniel Stenberg
1175a226e3
curlx.h is a header to add to the release archive(s)
2004-05-06 07:19:58 +00:00
Daniel Stenberg
358b72bb12
fixed typo
2004-05-05 20:12:59 +00:00
Daniel Stenberg
6c408c885a
Temporary disable the logic that runs gdb on a core dump, as it can't blindly
...
assume that the curl file is a proper binary, it is often a script file
produced by libtool.
2004-05-05 14:34:35 +00:00
Daniel Stenberg
9cf04dff6a
hm, avoid division by zero more carefully with that new percentage math
2004-05-05 14:22:46 +00:00
Daniel Stenberg
6bdcfecbcf
Joe Halpin fixed the warning on the typecast from data pointer to function
...
pointer!
2004-05-05 14:08:52 +00:00
Daniel Stenberg
3f21fe60fc
Gisle fixed the percentage to work, I adjusted it slightly to not as easily
...
overflow on 32bit filesize-systems
2004-05-05 13:44:44 +00:00
Daniel Stenberg
b2c290e40e
Gisle-fix: constified the 'interface' argument.
2004-05-05 13:42:23 +00:00
Daniel Stenberg
bc5b2fa12c
Gisle fix: curl_formparse is gone.
2004-05-05 13:42:05 +00:00
Daniel Stenberg
32a9554c92
Gisle fixed: don't reference 'mem' if it's NULL.
2004-05-05 13:41:54 +00:00
Daniel Stenberg
afc1ed60f7
initiate variables properly to default to no auth for server and proxy
2004-05-05 13:00:03 +00:00
Daniel Stenberg
91018f4f24
AC_CHECK_TOOL is prolly better to use when checking for ar
2004-05-05 10:26:51 +00:00
Daniel Stenberg
fb086b57a8
slightly odd fix to prevent -Wunreachable-code to warn
2004-05-05 09:20:08 +00:00
Daniel Stenberg
3fc39a6efb
alert the user if 'sed' or 'ar' couldn't be found, as it might very well
...
render a build impossible
2004-05-05 09:17:53 +00:00
Daniel Stenberg
6062ac7c37
made the progress meter display not overflow even if _very_ large files
...
are transfered. The maximum size we support now is 8 exabytes, which equals
to 8192 petabytes...
2004-05-05 08:43:23 +00:00
Daniel Stenberg
caf7854a3c
if the values allow it, avoid floting point math for the current speed
2004-05-05 07:45:21 +00:00
Daniel Stenberg
6def0892ea
additional typecasts in an attempt to avoid compiler warnings when switching
...
from 64 bit types to 32 bit ones
2004-05-05 07:30:52 +00:00
Daniel Stenberg
1c0744bde6
removed bad free()
2004-05-05 07:20:08 +00:00
Daniel Stenberg
7591e07b7c
do the alarm time-left math using unsigned longs since that is what alarm()
...
returns and uses as input and converting to signed generates warnings and
actually risks loss of accuracy
2004-05-05 07:17:37 +00:00
Daniel Stenberg
35ab93f484
fix_hostname() now (void)s the conn argument to prevent warnings on non-idn
...
enabled builds
2004-05-05 07:08:31 +00:00
Daniel Stenberg
dcf5e52b62
ERR_error_string() returns an unsigned long so we should use one of those
...
for the return code
2004-05-05 07:01:33 +00:00
Daniel Stenberg
aae521d086
gcc 3.4 now uses the -Wunreachable-code option, I believe we can make older
...
ones use this too...
2004-05-05 06:59:27 +00:00
Daniel Stenberg
78e6508e22
check the size of size_t for lib/mprintf.c
2004-05-05 06:57:49 +00:00
Daniel Stenberg
4d9517f0b4
prevent warnings when using the gcc option -Wunreachable-code
2004-05-05 06:57:26 +00:00
Daniel Stenberg
a331aa0221
make the memlimit final NULL return get written to stderr as wella
2004-05-05 06:57:04 +00:00
Daniel Stenberg
679cabb532
mention the LICENSE-MIXING document
2004-05-05 06:12:24 +00:00
Daniel Stenberg
7332350e85
minor update edits
2004-05-05 06:11:57 +00:00
Daniel Stenberg
69f4dda74a
added a third URL to the torture testing, this one also hangs at some point
...
for a reason I don't know
2004-05-05 06:11:13 +00:00
Daniel Stenberg
c19c3bd15a
multipart formposts should be more streamy
2004-05-04 14:36:29 +00:00
Daniel Stenberg
76ff92b811
bail out when an add_buffer() function returns failure
2004-05-04 14:27:07 +00:00
Daniel Stenberg
4250637e7d
improved the cleaning up of memory when we fail to resolve names due to
...
out of memory (thanks to 'runtests.pl -t')
2004-05-04 13:40:30 +00:00
Daniel Stenberg
08d1da106e
check malloc() return code
2004-05-04 13:39:24 +00:00
Daniel Stenberg
9e31a0536e
removed more leftovers from the formparse function
2004-05-04 09:31:04 +00:00
Daniel Stenberg
2960d37d71
removed curl_formparse() from the library
2004-05-04 08:24:13 +00:00
Daniel Stenberg
c63af5fc01
Gisle made item 38, now there's only one low-prio task left...
2004-05-04 07:54:08 +00:00
Daniel Stenberg
fc6eff13b5
General HTTP authentication cleanup and fixes
2004-05-04 07:52:53 +00:00
Daniel Stenberg
e7ee1ccf45
Gisle fixed the problem with ldap_search_s() fails with "filter error": a case
...
of using 'lud_filter' after freeing 'lud_dn'.
2004-05-03 15:01:34 +00:00
Daniel Stenberg
98bf69f8f1
improved the name of the test
2004-05-03 14:57:58 +00:00
Daniel Stenberg
0363fbc411
Added --proxy-digest, added the standard curl source header to this file.
2004-05-03 14:55:31 +00:00
Daniel Stenberg
e3bc92ae53
fixed the pdf and html for the strerror functions
2004-05-03 14:40:22 +00:00
Daniel Stenberg
27e76021e9
Added support for --proxy-digest
2004-05-03 11:56:18 +00:00
Daniel Stenberg
93dde29979
don't free(NULL)
2004-05-03 09:17:49 +00:00
Daniel Stenberg
d42dcd60cd
Gisle Vanem:
...
Patch for ldap.c under Windows. It works with wldap32.dll as supplied with
Win-98/ME/2000/XP, so no extra .dlls are required. I've mostly tested it
against Verisign's ldap server. Added code in the case there are to many
responses (rc = LDAP_SIZELIMIT_EXCEEDED) and print only those we got. E.g.
curl
ldap://directory.verisign.net/?cn,display-name,mail,info?subtree?(cn=*Nelson*)
will print the first 10 results.
My only problem with it is that ldap_search_s() fails with "filter error" when
CURLDEBUG is defined ?! Maybe someone can spot the error.
2004-05-03 09:14:12 +00:00
Daniel Stenberg
ade89799f5
mucho
2004-04-30 10:55:57 +00:00
Daniel Stenberg
6e118ce50f
Display "exit OK" when the exit code has been verified to be OK, and added
...
initial basic valgrind-log scan for memory leaks it could detect.
2004-04-30 10:37:40 +00:00
Daniel Stenberg
34be9df773
deprecated functions
2004-04-30 10:34:54 +00:00
Daniel Stenberg
7356a67780
25 and 37 are now done, only two low-prio tasks left for the 7.12 release
2004-04-30 09:17:04 +00:00
Daniel Stenberg
f77949ef3b
recent changes
2004-04-30 08:52:11 +00:00
Daniel Stenberg
26b8b3fc53
updated with more and new info
2004-04-30 08:51:19 +00:00
Daniel Stenberg
38cc79a54f
these functions are marked to get removed from the public API "soon"
2004-04-30 08:38:08 +00:00
Daniel Stenberg
ec113aefb9
use the new lib/curlx.h header and modified the code to use all to-become-
...
curlx_-functions with the new prefix to prepare this code for the future
removal of several curl_-functions from the public libcurl API.
2004-04-30 08:23:50 +00:00
Daniel Stenberg
913e1570bd
New header file that offers easy access to the curlx_ functions for an app.
...
curlx_ functions are NOT part of the offical API, but only available as source
code functions from the lib directory in case of need.
2004-04-30 08:22:38 +00:00
Daniel Stenberg
e2aaf22d5d
support the new libcurl IDN feature, also a first attempt to display a stack
...
trace if a test results in a 'core' file and gdb is present
2004-04-30 08:03:07 +00:00
Daniel Stenberg
3304589043
idn is a new feature that can be made required for a test
2004-04-30 08:00:42 +00:00
Daniel Stenberg
0247642bb6
added test 166, formpost with white space in file name
2004-04-30 06:46:34 +00:00
Daniel Stenberg
19f5aa165c
make the contents able to be any data, the previous stopped at white space
2004-04-30 06:45:53 +00:00
Daniel Stenberg
1756499b11
oops, a bad strtok() was fixed by Luca
2004-04-30 05:53:42 +00:00
Daniel Stenberg
15f9a93c25
include the full size of the sent response in the log
2004-04-30 05:51:37 +00:00
Daniel Stenberg
e99287734b
Gisle fixed the counting of calloc()s
2004-04-29 14:33:19 +00:00
Daniel Stenberg
8349dde0f1
Introducing IDN host name testing. Test case 165 requires an IDN-capable
...
libcurl.
2004-04-29 13:43:04 +00:00
Daniel Stenberg
59907ebc0e
fixed the host/proxy name issue when re-using a connection and made IDN names
...
work when using proxy by converting the IDN-name to the ACE-encoded version
before the request-URL is passed to the proxy.
2004-04-29 13:41:48 +00:00
Daniel Stenberg
da91d6ac66
remove newline from matching pattern
2004-04-29 13:31:57 +00:00
Daniel Stenberg
7548115a0e
ignore cnonce lines too as they are based on the current time and will differ
...
from time to time!
2004-04-29 13:24:50 +00:00
Daniel Stenberg
8ca37dd1c7
encode the correct name
2004-04-29 11:57:52 +00:00
Daniel Stenberg
31e9e4bb76
curl_easy_duphandle() works again with ares enabled
2004-04-29 10:58:22 +00:00
Daniel Stenberg
84a322ab23
test 512 does some basic curl_easy_duphandle() testing
2004-04-29 10:57:10 +00:00
Daniel Stenberg
707f217b2d
new test case for a simple curl_easy_duphandle() test
2004-04-29 10:56:22 +00:00
Daniel Stenberg
e6b45a66ec
updated to work with the new Digest code
2004-04-29 10:47:13 +00:00
Daniel Stenberg
b34c40dcf5
Luca Altea's major HTTP Digest update
2004-04-29 08:18:32 +00:00
Daniel Stenberg
699ebe2f0b
Gisle made the code use ERR_error_string_n()
2004-04-29 07:36:40 +00:00
Daniel Stenberg
e1c6f216c2
the new way of accessing the host name
2004-04-28 20:34:04 +00:00
Daniel Stenberg
630b73bfa8
Added LICENSE-MIXING to the release archive
2004-04-27 18:31:35 +00:00
Daniel Stenberg
877f16e5a5
IDN: Gisle Vanem made the win32 version handle a missing CHARSET environment
...
and then figure it out with a suitable windows call.
2004-04-27 15:19:28 +00:00
Daniel Stenberg
fbe1fa9dcc
outputed elsewhere already
2004-04-27 15:13:46 +00:00
Daniel Stenberg
5b65cc55a2
idn stuff in code and configure script
2004-04-27 14:22:58 +00:00
Daniel Stenberg
97769737d0
we released yesterday, we have heaps of new stuff today! :-)
2004-04-27 14:22:40 +00:00
Daniel Stenberg
5b0a5c4050
provide our own inet_ntoa_r() proto if the system has none on its own
2004-04-27 14:17:36 +00:00
Daniel Stenberg
4b9f8e766d
Made host name and proxy name get stored in a 'struct hostname' and set
...
all things up to work with encoded host names internally, as well as keeping
'display names' to show in debug messages. IDN resolves work for me now using
ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right.
2004-04-27 13:56:23 +00:00
Daniel Stenberg
96002646f1
without-libidn works too now
2004-04-27 12:08:53 +00:00
Daniel Stenberg
5ef6904ec3
hugehelp.c fix, without-ssl fix
2004-04-27 11:16:46 +00:00
Daniel Stenberg
2f53da5e7a
make the loop use a fixed number of attempts to prevent eternal loops
2004-04-27 10:59:43 +00:00
Daniel Stenberg
58f1cc0b5f
added curl_*_strerror
2004-04-27 07:05:40 +00:00
Daniel Stenberg
98c70b73f2
added doctype tag to get HTML compliant
2004-04-27 07:05:22 +00:00
Daniel Stenberg
6bd02a3ab5
We now make sure to only scan for SSL options with pkg-config if we haven't
...
disabled SSL with --without-ssl. This previously made the Makefiles use
the SSL libs even though told not to.
2004-04-26 22:13:36 +00:00
Daniel Stenberg
372e7a6cd4
Include "setup.h" and not "config.h" since setup.h is made to include
...
the correct config.h for the platform, and when this is done the USE_MANUAL
define is properly known.
2004-04-26 21:15:48 +00:00
Daniel Stenberg
211004bb0d
my nroff 1.18.1 complained the URL as it contains a nroff combo somehow
...
and when I modified it slightly the warning dissappeared...
2004-04-26 21:12:10 +00:00
Daniel Stenberg
80d2fff1a1
oops, .obj not .c!
2004-04-26 20:41:33 +00:00
Daniel Stenberg
cf3cf413c8
improved libidn detection to correct the false positives we got
2004-04-26 15:31:43 +00:00
Daniel Stenberg
e218811ca3
made the verbose connect use the proper host name string even when using
...
a proxy
2004-04-26 15:19:55 +00:00
Daniel Stenberg
a9f2274bd8
NI_MAXHOST is not generally available, we use plain 256 bytes for the hostname
...
instead, its only for debug verbose output anyway
2004-04-26 15:14:19 +00:00
Daniel Stenberg
92179ff990
corrected mistake
2004-04-26 15:11:56 +00:00
Daniel Stenberg
4aac210a83
Gisle fixed a mistaken check
2004-04-26 14:18:42 +00:00
Daniel Stenberg
245e3122df
Made defines instead of plain numbers for the Curl_resolv() return code to
...
make the code easier to read
2004-04-26 14:18:00 +00:00
Daniel Stenberg
ffc5fa3a2b
typedef CURL in the curl.h file instead of only having a single useful typedef
...
in the separate types.h
2004-04-26 14:06:51 +00:00
Daniel Stenberg
f5042cce34
IDN adjustments and host cleanups by Gisle
2004-04-26 14:03:25 +00:00
Daniel Stenberg
712c67b4ae
no longer include curl/types.h, it serves no purpose
2004-04-26 14:02:51 +00:00
Daniel Stenberg
5dcfb8ad66
ignore the curl/types.h header file
2004-04-26 14:02:01 +00:00
Daniel Stenberg
673ff5eb2c
Moved down the ares check again to the bottom of the script since it
...
modified the compiler and link options so nothing can be tested for after
this check, as the c-ares lib might not have been built yet!
2004-04-26 13:42:39 +00:00
Daniel Stenberg
92fc3f07ba
added the new files to the build
2004-04-26 12:33:14 +00:00
Daniel Stenberg
cff90cf3f9
"configure summary"
2004-04-26 12:29:30 +00:00
Daniel Stenberg
a33c53a36b
Removed the FTPS test cases, they only annoy us as they don't work for anyone
...
anywhere. We need to write a better ftps-server for test purposes and then
we can re-introduced FTPS tests.
2004-04-26 12:04:34 +00:00
Daniel Stenberg
2370d4fa02
Curl_ip2addr() now takes an in_addr_t argument instead to prevent compiler
...
warnings
2004-04-26 12:02:33 +00:00
Daniel Stenberg
f128d904a5
removed assignment of variable never used
2004-04-26 11:56:05 +00:00
Daniel Stenberg
fb1039f2ab
Tor Arntsen fixed a 'Statement not reachable'-warning
2004-04-26 11:52:43 +00:00
Daniel Stenberg
923ce98e42
Kim Karlsson pointed out that error 57 was wrongly documented
2004-04-26 09:28:02 +00:00
Daniel Stenberg
8e935b58a2
TommyTam made a patch to handle stdin redirection for win32.
2004-04-26 07:50:51 +00:00
Daniel Stenberg
c93e972543
some fixed, one removed, edited some. 7.12.0 in progress.
2004-04-26 07:47:16 +00:00
Daniel Stenberg
1cb66f5262
the recent commits explained
2004-04-26 07:26:16 +00:00
Daniel Stenberg
648e82f05d
Major hostip.c cleanup and split into multiple files and easier #ifdef
...
usage.
2004-04-26 07:20:11 +00:00
Daniel Stenberg
1dbe60b8b7
supports showing "IDN" as a libcurl feature, now outputs the features
...
in alphabetical order
2004-04-26 07:14:47 +00:00
Daniel Stenberg
9631fa7407
added libidn awareness
2004-04-26 07:14:08 +00:00
Daniel Stenberg
9befc682ee
added many comments
2004-04-26 07:12:52 +00:00
Daniel Stenberg
fbeb674479
major update of the error strings
2004-04-26 07:12:29 +00:00
Daniel Stenberg
af641d20a7
added comments
2004-04-26 07:11:39 +00:00
Daniel Stenberg
d02587750c
added function headers and comments
2004-04-26 07:11:06 +00:00
Daniel Stenberg
241a4b3d45
--with-libidn[=PATH] is now supported
2004-04-26 07:08:36 +00:00
Daniel Stenberg
496e81a25a
the next release is planned to become 7.12.0
2004-04-26 07:04:40 +00:00
Daniel Stenberg
f39b081253
start all over again
2004-04-26 07:03:51 +00:00
Daniel Stenberg
c96f7f13da
7.11.2 coming today
2004-04-26 06:05:49 +00:00
Daniel Stenberg
1bdc4b2006
updated the warning text when SSL is explicitly disabled
2004-04-25 15:23:23 +00:00
Daniel Stenberg
3915fecf80
USE_MANUAL is now defined by default
2004-04-25 15:21:16 +00:00
Daniel Stenberg
f94f06825c
moved older changes to the CHANGES.2003 file
2004-04-25 08:33:06 +00:00
Daniel Stenberg
2ddbf8975a
disable-manual
2004-04-25 08:19:55 +00:00
Daniel Stenberg
68a3cbe384
make the generated hugehelp.c file use the USE_MANUAL define so that it
...
will be properly built with configure --disable-manual even if the source
file is already present
2004-04-25 08:13:07 +00:00
Daniel Stenberg
b9432d1296
test164 HTTP range with multiple ranges
2004-04-24 09:33:25 +00:00
Daniel Stenberg
e202a29a9a
removed a memory leak when doing a windows threaded resolve and it failed
2004-04-23 14:10:29 +00:00
Daniel Stenberg
3755bffcc2
Gisle Vanem found and fixed a memory leak when doing (failing) Windows
...
threaded name resolves.
2004-04-23 14:04:30 +00:00
Daniel Stenberg
2a0a305300
only a minor comment/format change
2004-04-23 11:00:47 +00:00
Daniel Stenberg
70e2aadc18
Replaced Curl_FormReadOneLine with Curl_formpostheader as that is the only use
...
for it. It saves one extra copy of the header.
I also added comments for several functions in formdata.c
2004-04-23 10:37:52 +00:00
Daniel Stenberg
a1c8aaf666
o --proxy-ntlm now checks if libcurl supports NTLM before using it
...
o minor --fail with authentication bugfix
2004-04-23 08:50:28 +00:00
Daniel Stenberg
8ee470aaeb
--proxy-ntlm fix and test case 163
2004-04-23 08:47:20 +00:00
Daniel Stenberg
37e4858cd0
Made --proxy-ntlm check if the underlying library actually supports NTLM
2004-04-23 08:44:27 +00:00
Daniel Stenberg
a27072bebb
minor format fix
2004-04-23 08:40:20 +00:00
Daniel Stenberg
47059f45fe
added test 163 - a simple test case that use -F field<file, to verify that
...
we can pass on "odd" characters (newline, CR, tab) like this.
2004-04-23 08:40:11 +00:00
Daniel Stenberg
daced8041d
No longer uses the valgrind option '--logfile-fd', we use the --logfile
...
option instead (even though it appends the pid to the file name, making it
harder to figure out its name to parse it after a test has run).
Also made sure we only use valgrind for the actual test command command lines,
not when for example running curl to detect if there are any already running
servers are present etc.
2004-04-23 08:38:43 +00:00
Daniel Stenberg
b053ae6a65
define the obsolete options to different values to prevent "duplicate case"
...
situtations in bindings that still have switch() cases for them
2004-04-23 06:29:41 +00:00
Daniel Stenberg
42f60ecb36
require SSL as otherwise NTLM doesn't work!
2004-04-23 06:04:52 +00:00
Daniel Stenberg
550862f41a
missing brace
2004-04-22 21:27:32 +00:00
Daniel Stenberg
6838f74fe0
allow newlines in the contents when doing -F "var=[contents]"
...
Robert Marlow reported.
2004-04-22 20:09:33 +00:00
Daniel Stenberg
2ff30d067c
- David Byron found and fixed a small bug with the --fail and authentication
...
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and
communicate with a proxy that requires basic authentication, the proxy
properly returns a 407, but the failure detection code doesn't realize it
should give up, so curl returns with exit code 0. Test case 162 verifies
this.
2004-04-22 20:07:41 +00:00
Daniel Stenberg
84406b3e2c
allow newlines in the contents when doing -F "var=[contents]"
2004-04-22 15:26:30 +00:00
Daniel Stenberg
c323969bdd
removed Curl_ftp_quit() as it was turned into a static in ftp.c
2004-04-22 13:15:17 +00:00
Daniel Stenberg
43cbbdbea0
If a transfer is found out to be only partial, libcurl will now treat that
...
as a problem serious enough to skip the final QUIT command before closing
the control connection. To avoid the risk that it will "hang" waiting for
the QUIT response. Added test case 161 to verify this.
2004-04-22 13:10:43 +00:00
Daniel Stenberg
1d3f76df71
If only a partial file was transfered, we consider that a fatal problem so
...
we won't try to QUIT the control connection and risk "hanging" waiting for
a response. Test case 161 verifies this. The quit-sending function was
also made static.
2004-04-22 13:09:00 +00:00
Daniel Stenberg
33cb93ad0b
Added comments
2004-04-22 12:35:45 +00:00
Daniel Stenberg
4dc9179f4b
modified how valgrind is run to make sure that file handle 3 exists when
...
we tell valgrind to use that to send the logfile to
2004-04-22 10:33:55 +00:00
Daniel Stenberg
26a5ec9aa0
danish mirror
2004-04-22 08:54:34 +00:00
Daniel Stenberg
883ea3113c
Gisle's items
2004-04-21 19:35:06 +00:00
Daniel Stenberg
62b7c08bb3
include unistd.h as well for the close() proto on some platforms (like Tru64)
2004-04-21 11:18:42 +00:00
Daniel Stenberg
a85fa66cc8
typecast the tolower() argument to an int to prevent compiler warning
2004-04-21 11:15:35 +00:00
Daniel Stenberg
9ba010c629
typecast tolower/toupper arguments to int to make picky compilers complain
...
less
2004-04-21 11:15:02 +00:00
Daniel Stenberg
3ef3f2b6f0
test case 160 "should work" now
2004-04-21 08:56:02 +00:00
Daniel Stenberg
1401d909e8
Fix the "lingering close" problem when re-using a connection, as test case
...
160 shows.
We got no data and we attempted to re-use a connection. This might happen if
the connection was left alive when we were done using it before, but that was
closed when we wanted to read from it again. Bad luck. Retry the same request
on a fresh connect!
Deleted the sockerror variable again, it serves no purpose anymore.
2004-04-21 08:49:14 +00:00
Daniel Stenberg
3233322622
increase the headerbytecount for incoming "headers"
2004-04-21 08:47:57 +00:00
Daniel Stenberg
e373f1fd73
log the WAIT command
2004-04-21 06:56:54 +00:00
Daniel Stenberg
dc25cd6f3a
cleanup leftovers
2004-04-20 09:46:10 +00:00
Daniel Stenberg
0e31d41d4e
test160 - for a more controlled testing of the case where libcurl starts
...
to re-use a connection that is closed when re-used and libcurl should then
make a new fresh connection and use instead
2004-04-20 08:35:37 +00:00
Daniel Stenberg
b7a7600465
Cleaned up hostname/name/gname and path/ppath confusion. Removed the fixed-
...
length limit of the hostname part of the URL.
2004-04-20 07:53:24 +00:00
Daniel Stenberg
111a2f3057
new mirror and one that changed domain
2004-04-20 07:52:16 +00:00
Daniel Stenberg
760cecac8d
make the first response get a "connection: close" header as that is how
...
most 1.1 connections will be closed. The case where it gets closed anyway
is subject for a new separate test.
2004-04-20 07:36:09 +00:00
Daniel Stenberg
6f8b4395ec
changed the logging to work when the logfile is removed during testing
2004-04-19 15:20:30 +00:00
Daniel Stenberg
5506f8767c
Make the server include "Connection: close" in the headers of the replies
...
it actually will close. This is after all what HTTP 1.1 says a server should
do.
2004-04-19 08:41:36 +00:00
Daniel Stenberg
5887945828
Gisle Vanem corrected a mistake in a recent progress fix
2004-04-19 07:18:26 +00:00
Daniel Stenberg
25e98179be
Gisle Vanem: patches to make sws.c compile under MingW/MSVC is
...
attached. And some cosmetic fixes.
2004-04-17 11:38:41 +00:00
Daniel Stenberg
78ebe3fa5a
Gisle made a failed connect output the reason for it
2004-04-17 11:33:47 +00:00
Daniel Stenberg
a8e8e51b14
NDEBUG should not be defined when CURLDEBUG is
2004-04-17 11:33:14 +00:00
Daniel Stenberg
f97d194934
adding issue 36 to be fixed before release
2004-04-16 07:33:53 +00:00
Daniel Stenberg
4661cc7403
don't display the . and .. files when dumping the log/ contents
2004-04-16 07:02:17 +00:00
Daniel Stenberg
bc11929395
remade the logging function to better deal with removed logfiles during
...
the execution of the tests
2004-04-16 07:01:47 +00:00
Daniel Stenberg
caf37bc92e
issue 31 - fix windows multi interface is now corrected
2004-04-15 15:05:48 +00:00
Daniel Stenberg
5de447b0cb
clarified that select() timeouts should always remain rather short
2004-04-15 15:05:12 +00:00
Daniel Stenberg
5dbaced4a2
my test suite edits
2004-04-15 14:53:47 +00:00
Daniel Stenberg
43f8a1f5de
change the log format to look similar to sws
...
added various logging info
2004-04-15 13:55:37 +00:00
Daniel Stenberg
f57efa1899
clean the log directory between each single test, so that we can better
...
display all logs and only logs with relevant data when a test fails and -p
is used.
2004-04-15 13:37:19 +00:00
Daniel Stenberg
592522ceaf
ftp->dirs[] is no longer terminated with a zero entry but ftp->dirdepth
...
should be used
2004-04-15 10:43:40 +00:00
Daniel Stenberg
4f84e6d9e2
removed the fixed dir depth limit in the FTP code
2004-04-15 07:52:39 +00:00
Daniel Stenberg
6f08903f07
two ipresolve fixes
2004-04-14 12:13:32 +00:00
Daniel Stenberg
220cd010bd
format fix
2004-04-14 12:13:21 +00:00
Daniel Stenberg
68e8a0f0d9
asking for CURL_IPRESOLVE_V6 when ipv6 addresses can't be resolved will
...
now cause the resolve function to return NULL immediately
2004-04-14 12:10:44 +00:00
Daniel Stenberg
b23dbf9f34
Gisle Vanem made the -4/-6 actually get set too
2004-04-14 12:00:53 +00:00
Daniel Stenberg
1d0b5b507a
Curl_wait_for_resolv() could hang due to the bad timeout timer resolution and
...
some bad thinking on my part.
2004-04-14 11:43:26 +00:00
Daniel Stenberg
b83d8104cd
several changes
2004-04-14 07:07:30 +00:00
Daniel Stenberg
bf6e1053cf
display interesting log files on failure, if -p is used
2004-04-14 07:04:45 +00:00
Daniel Stenberg
c3dd928e29
enable verbose as well
2004-04-14 06:53:34 +00:00
Daniel Stenberg
aba6c2b89d
Added test case 511 in an attempt to repeat bug report #934666 "storage leak
...
in ftp.c", but it shows no leaking.
2004-04-14 06:30:37 +00:00
Daniel Stenberg
9c0a386246
minor format fix
2004-04-13 14:34:12 +00:00
Daniel Stenberg
bba3bb7556
eh, these can't be used for poll()! ;-)
2004-04-13 14:31:49 +00:00
Daniel Stenberg
c1422864b5
additional info
2004-04-13 14:27:47 +00:00
Daniel Stenberg
31a693b99a
Gisle Vanem's fix that makes the multi interface work on Windows again even
...
when not using ares.
2004-04-13 13:59:12 +00:00
Daniel Stenberg
804534fbc9
spell fixes
2004-04-13 11:03:02 +00:00
Daniel Stenberg
1bc6532c16
more news
2004-04-13 10:58:44 +00:00
Daniel Stenberg
b48bf7470d
proper typecast to prevent compiler warning
2004-04-13 10:42:32 +00:00
Daniel Stenberg
1ca9ce5ef4
removed the BUGS section since it offers nothing good
2004-04-13 09:08:52 +00:00
Daniel Stenberg
789f2ecbe7
1.2.0
2004-04-13 07:44:26 +00:00
Daniel Stenberg
ee7d1d0701
remove an long time #defined struct member and use the actual "real" name
...
instead to make it easier to find/read
2004-04-13 07:37:28 +00:00
Daniel Stenberg
4e3aa250c4
Moved the 'tcp_nodelay' member to the proper 'UserDefined' struct within the
...
sessionhandle to make the duphandle() function work as supposed. Also tried
to start document functions the doxygen way (in the headers of the functions).
Can't make it work though...
2004-04-13 07:16:26 +00:00
Daniel Stenberg
3647a6ddcd
move issue 35 (hostip.c cleanup) forward, I don't feel like doing that now
2004-04-13 06:13:41 +00:00
Daniel Stenberg
79aaa85a51
full-test passes -p to runtests as well to get more details in case of failure
2004-04-13 05:58:19 +00:00
Daniel Stenberg
392a543eff
Initial support for dumping the contents of the files in log/ when failing
...
when -p is used. For easier bug-hunting of autobuild failures. This still
only shows what files that are present in log/, as I believe we need to
filter which files we show on a failure.
2004-04-13 05:57:50 +00:00
Daniel Stenberg
eb6345de60
somewhat safer typecasting in case sizeof(long) != sizeof(void *) (is there
...
even such platforms?)
2004-04-12 06:55:25 +00:00
Daniel Stenberg
0fd3b7a00a
David Byron's patch for MSVC builds with zlib
2004-04-11 20:25:10 +00:00
Daniel Stenberg
bd51b80fa5
updated to not include the msvc-generated files
2004-04-11 06:33:02 +00:00
Daniel Stenberg
15c900839b
when checked out from CVS, run this to generate the proper scripts
2004-04-11 06:32:41 +00:00
Daniel Stenberg
2fd463e979
Dirk Manske increased the resolution for what the CURLINFO_*_TIME return.
2004-04-09 09:36:31 +00:00
Daniel Stenberg
de8660a96a
we're working on 1.2.0 now
2004-04-08 18:10:03 +00:00
Daniel Stenberg
1e9cb272f1
added test 159, use --ntlm together with -0
2004-04-07 15:01:11 +00:00
Daniel Stenberg
72b1144b8c
getting only a 100 Continue response and nothing else, when talking HTTP,
...
is now treated as an error by libcurl
2004-04-07 14:27:54 +00:00
Daniel Stenberg
348fe0e210
--limit-rate using -d or -F does not work
2004-04-07 14:03:13 +00:00
Daniel Stenberg
cf1f46e1ca
renamed the strtoofft() macro to curlx_strtoofft() to adjust to the curlx_*
...
concept, and added lib/README.curlx to explain details about it
2004-04-07 07:30:40 +00:00
Daniel Stenberg
f052cbee19
Use curl_off_t for the limit rate values to support REALLY huge values on
...
such platforms that support large files.
2004-04-07 07:23:52 +00:00
Daniel Stenberg
1f5e8670e1
mention getting windows builds to work after rearrangements
2004-04-06 15:30:57 +00:00
Daniel Stenberg
3b491d0f73
Moved long-standing issues over from TODO-RELEASE to the more long-term TODO
...
file.
2004-04-06 15:29:01 +00:00
Daniel Stenberg
26a2b8d26d
the memory leak on windows have been addressed
2004-04-06 15:22:21 +00:00
Daniel Stenberg
a7fd6f9007
require ssl since ntlm needs it
2004-04-06 15:16:07 +00:00
Daniel Stenberg
8ed44e8dfb
New authentication code added, particularly noticable when doing POST or PUT
...
with Digest or NTLM. libcurl will now use HEAD to negotiate the authentication
and when done perform the requested POST.
2004-04-06 15:14:10 +00:00
Daniel Stenberg
f617c1131a
mention the man page updates from the other day
2004-04-06 15:12:50 +00:00
Daniel Stenberg
5ca47f19d7
the pack_hostent() proto isn't used/needed with ipv6 is enabled.
...
time to restructure this source file!
2004-04-06 15:09:43 +00:00
Daniel Stenberg
9044fcbb5f
Gisle Vanem's fix for bug item #927979 reported by Nathan O'Sullivan.
...
Good enough?
2004-04-06 14:51:14 +00:00
Daniel Stenberg
7a82810b59
Added the curl source header and changed some comments
2004-04-06 14:07:04 +00:00
Daniel Stenberg
0ccdf3d0e6
improved --limit-rate functionality, partly by the new use of curlx_tvnow()
2004-04-06 12:06:05 +00:00
Daniel Stenberg
ca7f0852df
Gisle Vanem caught me breaking the windows version of Curl_strerror()
2004-04-06 12:02:36 +00:00
Daniel Stenberg
780b962336
provide these functions as curlx_* ones as this enables the curl app to
...
re-use these sources and functions for subsecond resolution timing
2004-04-06 10:15:10 +00:00
Daniel Stenberg
bbeb840916
up-to-date with reality
2004-04-06 07:59:11 +00:00
Daniel Stenberg
f4ec465bfc
added HAVE_GETTIMEOFDAY, we need it for better time resolution
2004-04-06 07:49:57 +00:00
Daniel Stenberg
57c86a953d
typecasts to please picky compilers checking the printf() format string
2004-04-06 07:48:29 +00:00
Daniel Stenberg
0fff8656e9
one change, three bugs, one credit
2004-04-06 06:24:37 +00:00
Daniel Stenberg
7b929636ee
the last couple of days
2004-04-06 06:24:06 +00:00
Daniel Stenberg
76835a2e00
two issues to fix before 7.11.2, one issue to fix befor 7.12.0
2004-04-06 06:18:48 +00:00
Daniel Stenberg
1b171b02ac
remove the general use of sys_nerr
2004-04-06 06:06:10 +00:00
Daniel Stenberg
a8dc362572
generated files, no need to keep in CVS
2004-04-05 12:38:54 +00:00
Daniel Stenberg
7c72f8ee6c
prepend the man3 dir to the file name to work better.
...
Robin Kay pointed this out.
2004-04-02 11:04:34 +00:00
Daniel Stenberg
c39a54609b
edits, mainly to make the generated html output nicer
2004-04-02 09:56:01 +00:00
Daniel Stenberg
ce6b767b47
minor edits
2004-04-02 09:50:42 +00:00
Daniel Stenberg
7ba4d3464f
Dirk Manske's feedback:
...
* bring back subsecond resolution to CURLINFO_TOTAL_TIME
* Fix the Curl_pgrsDone() so that the final progress update is shown properly
2004-04-02 07:32:03 +00:00
Daniel Stenberg
03def138fe
Andrs Garca's updated mingw makefiles
2004-04-02 07:18:13 +00:00
Daniel Stenberg
9d99af5329
if select returns -1, bail out of the loop
2004-04-02 06:40:31 +00:00
Daniel Stenberg
c8d850dbad
Only check that the c-ares lib is valid if we don't use the "embedded"
...
directory. The provided ares dir is probably up-to-date, but more importantly
it is often not built yet at the time when this configure script runs.
2004-04-01 10:26:59 +00:00
Daniel Stenberg
01ea357744
When ares is enabled, we now check for the ares_cancel function to verify
...
that we use a library that is recent enough to build with the latest libcurl.
2004-04-01 09:10:33 +00:00
Daniel Stenberg
ad9e83a90f
Dirk Manske's fix that makes sure we cancel the ares resolve when we time out
...
from a name resolve. Without this, we leak memory!
2004-04-01 08:40:36 +00:00
Daniel Stenberg
6c9d96e811
Dirk Manske's ares_cancel() function was added.
2004-04-01 08:25:58 +00:00
Daniel Stenberg
f840e5192c
edited slightly, point out our new mailinglist
2004-04-01 08:25:23 +00:00
Daniel Stenberg
ba9272dd05
remind us about cvs tagging when we've built a release archive
2004-04-01 08:23:26 +00:00
Daniel Stenberg
675db3a211
removed my previously attempted fix for ares timeouts, not needed
2004-04-01 07:04:58 +00:00
Daniel Stenberg
1fc7ff878e
Applied Joe Halpin's bugfixes to the NI_WITHSCOPEID test program.
2004-04-01 06:53:11 +00:00
Daniel Stenberg
b643d148b1
Dominick Meglio man page fixes
2004-04-01 06:10:56 +00:00
Daniel Stenberg
5804c995e1
Use the new HAVE_NI_WITHSCOPEID define instead of merely checking for the
...
existance of NI_WITHSCOPEID since some platforms have that define but still
can't function with it set.
2004-03-31 21:33:52 +00:00
Daniel Stenberg
13a6f85320
issue 30, digest re-negotiate works now!
2004-03-31 21:04:26 +00:00
Daniel Stenberg
8b4582f111
recent changes
2004-03-31 21:03:55 +00:00
Daniel Stenberg
cd3bf7c56f
updates and David Byron's spellfix
2004-03-31 21:01:20 +00:00
Daniel Stenberg
ee1595dcd5
Roy Shan fixed a case that prevented ares name resolve timeouts to occur.
2004-03-31 20:50:01 +00:00
Daniel Stenberg
310086deed
we're working on 7.11.2-CVS right now
2004-03-31 20:22:28 +00:00
Daniel Stenberg
5d27f50f2f
HAVE_NI_WITHSCOPEID spelled right!
2004-03-31 20:13:53 +00:00
Daniel Stenberg
9d0330d5bd
Remove the elapsed time from the most recent select() only.
2004-03-31 13:19:41 +00:00
Daniel Stenberg
d5074f74bb
The asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE for
...
the specific time to wait for a resolve. The definition is at the top of
this source file.
2004-03-31 12:55:24 +00:00
Daniel Stenberg
ea0cf7c87b
Dirk Manske found out the Curl_wait_for_resolv() timed out too early.
2004-03-31 12:45:26 +00:00
Daniel Stenberg
a56164c8e0
added swsbounce
2004-03-31 12:24:08 +00:00
Daniel Stenberg
cd95bb22ea
added include to fix warning
2004-03-31 11:55:56 +00:00
Daniel Stenberg
1745ecd8ac
* Fixed a memory leak when doing repeated re-negotiations.
...
* Made the incoming line parser more forgiving to allow "name=contents" pairs
where the contents isn't within double quotes.
* Made the digest code return CURLDIGEST_BADALGO if a requested algorithm
isn't supported by the code.
2004-03-31 11:55:07 +00:00
Daniel Stenberg
75d66b9c62
test 153 tests Digest authorization and stale=true stuff
2004-03-31 11:51:21 +00:00
Daniel Stenberg
2ff9f55001
Added "swsbounce" magic: if this keyword is present in a <data> section it
...
sets the "swsbounce" magic mode. If there follows a request for the SAME
test number and the SAME part number, this mode will make the server bump
the part number internally and thus return a different <dataNUM> section
than it otherwise would.
Test case 153 uses this in case you need an example. It is pretty involved
and hard-to-use, but then the situation is pretty special over all. Enjoy.
2004-03-31 11:50:44 +00:00
Daniel Stenberg
ce446dbdc2
Moved the NI_WITHSCOPEID magic #ifdef to the top of the file and made sure
...
we use the NIFLAGS properly on both places in the code that use getnameinfo().
2004-03-31 10:59:48 +00:00
Daniel Stenberg
dd2add82ee
Fixed how the user name is extracted from http_proxy environment variable
...
when set.
2004-03-31 10:46:06 +00:00
Daniel Stenberg
40d9855df2
Andrs Garca fixed a warning in the ioctlsocket() usage.
2004-03-31 10:34:53 +00:00
Daniel Stenberg
ecf7adba15
modified the NI_WITHSCOPEID to use an AF_INET6 socket immediately and
...
added some more debug output to make it easier to detect failure reasons
in the autobuild logs
2004-03-31 10:31:08 +00:00
Daniel Stenberg
931c847e2b
CURLDIGEST_BADALGO is a new return code from the digest code
2004-03-31 09:20:27 +00:00
Daniel Stenberg
8230d9bff8
Dominick Meglio fixed a missing comma
2004-03-31 06:10:40 +00:00
Daniel Stenberg
64cc14e9e6
one issue less
2004-03-30 15:35:09 +00:00
Daniel Stenberg
d5b8971ff3
typecast setsockopt()'s 4th argument to void * to make compilers complain
...
less
2004-03-30 13:05:45 +00:00
Daniel Stenberg
7ea837a18c
adjusted to the new dns cache function to hide more hostip internals
2004-03-30 13:02:31 +00:00
Daniel Stenberg
b8b8473b6d
Lots of comments added an clarified. Added timeout for the ares version
...
of Curl_is_resolved() to address Roy Shan's reported problem.
2004-03-30 13:02:07 +00:00
Daniel Stenberg
894dbae455
added stale boolean to the digest struct
2004-03-30 13:00:53 +00:00
Daniel Stenberg
2c11425868
first attempt to support stale=true
2004-03-30 13:00:32 +00:00
Daniel Stenberg
a2ea0abf7f
Added CURL_CHECK_NI_WITHSCOPEID that checks if NI_WITHSCOPEID exists and
...
works. No code actually uses the HAVE_NI_WITHSCOPEID (that a positive test
results in), but this is still only for testing purposes.
2004-03-30 10:35:54 +00:00
Daniel Stenberg
be8f8e66a4
Dominick Meglio's new ares_expand_string() function
2004-03-30 09:06:42 +00:00
Daniel Stenberg
9fadfffb9d
when checking the automake version, cut off trailing "-p[whatever]" from the
...
version string before doing the version number checks.
2004-03-30 08:28:39 +00:00
Daniel Stenberg
76f23acfa1
if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging
...
the new "fail with auth" code
2004-03-30 08:21:09 +00:00
Daniel Stenberg
6950aeafcc
init the dns pointer to NULL for clarity
2004-03-30 08:14:37 +00:00
Daniel Stenberg
cd160a66c9
added more comments for what the functions return
2004-03-30 08:11:54 +00:00
Daniel Stenberg
a7376968d2
mention the fact that you can append a new CA cert to the existing bundle too
2004-03-30 06:46:36 +00:00
Daniel Stenberg
fd96a2af34
David Byron's patch was appplied to make CURLOPT_FAILONERROR work nicely
...
even with authentcations such as NTLM or Digest enabled. Test cases 150, 151
and 152 were added to verify the functionality.
2004-03-30 06:42:12 +00:00
Daniel Stenberg
a90cd1a45c
David Byron's new test cases for the --fail and auth stuff.
2004-03-30 06:41:33 +00:00
Daniel Stenberg
8e92600ddd
David Byron made CURLOPT_FAILONERROR work with authentications such as NTLM
...
or Digest.
2004-03-30 06:40:01 +00:00
Daniel Stenberg
5e75c310ba
'authdone' was added to the sessionhandle and thus was removed from the
...
argument to the NTLM function(s)
2004-03-30 06:39:24 +00:00
Daniel Stenberg
20cab07c29
David Byron added 'authdone' to the SessionHandle.
2004-03-30 06:38:52 +00:00
Daniel Stenberg
f466d7a6f1
these are now in the packages/vms dir
2004-03-29 22:45:14 +00:00
Daniel Stenberg
dc46f535ae
The select() timeout is better not static since some implementation actually
...
might change it. I don't *think* it does it when the timeout is 0,0 but it
is better to be sure...
2004-03-29 21:29:24 +00:00
Daniel Stenberg
27fd5d6d6a
issue 24 is fixed by making sure the time fields use a static width
2004-03-29 13:46:58 +00:00
Daniel Stenberg
18a3c3302f
several noticable recent changes
2004-03-29 13:46:16 +00:00
Daniel Stenberg
97959a00d7
changes changes changes
2004-03-29 13:45:53 +00:00
Daniel Stenberg
5e92b2906b
All test targets now run 'make all' before they prcoeed with the actual
...
testing so that all test files are build first properly. David Byron reported.
2004-03-29 12:38:41 +00:00
Daniel Stenberg
126ed14313
Gisle Vanem's djgpp/MS-DOS updates
2004-03-29 12:29:25 +00:00
Daniel Stenberg
712d0374f7
fix to figure out the "real" windows path when built and run with mingw
...
Andrs Garca helped out!
2004-03-29 09:26:31 +00:00
Daniel Stenberg
4b49b2e3cf
re-indented to use curl-standard source formatting
2004-03-29 07:25:59 +00:00
Daniel Stenberg
d85c21994f
netinet/tcp.h may require netinet/in.h to be include before
2004-03-29 06:22:57 +00:00
Daniel Stenberg
6b33a5f954
use the correct struct
2004-03-28 21:41:10 +00:00
Daniel Stenberg
ed22afe5fb
Tor fixed a left-over from the ip argument to setnodelay
2004-03-27 11:15:50 +00:00
Daniel Stenberg
843391c745
Gisle Vanem:
...
A patch to bypass MS' sillyness with regard to IPv6 and getaddrinfo().
The CURLDEBUG part is to avoid redefinition warning caused by memdebug.h. If
ENABLE_IPV6 isn't enabled, it doesn't matter since we never call
getaddrinfo(). Allthough we could to support weird protocols like SOCK_RDM
that Win-2K/XP has.
2004-03-26 13:47:46 +00:00
Daniel Stenberg
ad6699e0c4
some more password blurb
2004-03-26 13:20:28 +00:00
Daniel Stenberg
43137cf595
check for netinet/tcp.h precense before actually including it
2004-03-26 07:10:15 +00:00
Daniel Stenberg
db6dc49b0b
removed the ip number from the notcpdelay function
2004-03-26 07:03:30 +00:00
Daniel Stenberg
593170d1de
get the version number from the new curlver.h header file
2004-03-25 16:03:41 +00:00
Daniel Stenberg
0eace2fefe
localtime and gmtime are not thread-safe on newer AIXes either so we force
...
a check for there *_r-versions too
2004-03-25 15:48:54 +00:00
Daniel Stenberg
abd65e21c6
force recent AIX versions to check for strerror_r
2004-03-25 15:10:01 +00:00
Daniel Stenberg
e21104a865
only output one line about the nodelay even if it fails
2004-03-25 14:01:01 +00:00
Daniel Stenberg
3ecf63fa66
win32 doesn't need and even doesn't build if we extern declare sys_nerr
2004-03-25 13:43:19 +00:00
Daniel Stenberg
762dcf0780
include the strerror.h file without curl_ prefix
2004-03-25 13:42:23 +00:00
Daniel Stenberg
75ee9b5333
strerror without prefix
2004-03-25 13:40:57 +00:00
Daniel Stenberg
e161bdc5be
cut off 'curl_' from the strerror file names
2004-03-25 13:40:24 +00:00
Daniel Stenberg
bb3d6e8552
tcp-nodelay patch by Joe Halpin
2004-03-25 13:37:18 +00:00
Daniel Stenberg
189c2f4989
so there are at least two different strerror_r() versions and our brand
...
new configure script detects them and now this code acts according to what
API that was detected
2004-03-25 12:45:01 +00:00
Daniel Stenberg
f28389c87b
Tor Arntsen fixed how this is invoked
2004-03-25 12:16:42 +00:00
Daniel Stenberg
7461592a16
strerror_r() detection changes:
...
1. Try with _THREAD_SAFE instead of _REENTRANT, as AIX seems to require it
and if _REENTRANT is required we should already have it set since one of
the previous tests.
2. Added API-detection for what kind of strerror_r() that is provided. The
POSIX style or the glibc style.
Tor Arntsen provided the necessary feedback these changes are based upon.
2004-03-25 12:15:00 +00:00
Daniel Stenberg
50b0e72f7b
detect daily snapshots using the new path for this test
2004-03-25 11:39:29 +00:00
Daniel Stenberg
76e73cfec8
make clean now removes *dist files too that might be leftovers from
...
'maketgz'
2004-03-25 11:34:35 +00:00
Daniel Stenberg
5d8ec172a6
invoke this script via env, as it is more likely to exist at a fixed path
...
while perl often is installed in /usr/local/bin or elsewhere
2004-03-25 08:22:03 +00:00
Daniel Stenberg
0953140b53
added curl_strerror to the build
2004-03-25 07:53:37 +00:00
Daniel Stenberg
6c2825997a
extern declare the sys_nerr variable. Required on Solaris at least.
2004-03-25 07:52:11 +00:00
Daniel Stenberg
accc6eb91a
Always include setup.h as the first header file.
...
Added a more verbose comment about what strerror_r() can set errno to in
case of failure.
This file still doesn't build on Solaris due to a missing 'sys_nerr' symbol.
2004-03-25 07:33:11 +00:00
Daniel Stenberg
eab8cdc640
Added protos for the upcoming curl_*_strerror() functions
2004-03-24 22:53:42 +00:00
Daniel Stenberg
dc9d0f256d
missed the new header file
2004-03-24 22:46:02 +00:00
Daniel Stenberg
b60d6404d8
Gisle Vanem's fix to replace the bad use of strerror(). This introduces
...
Curl_strerror() that attempts to be thread-safe _and_ works on Windows too!
2004-03-24 22:45:37 +00:00
Daniel Stenberg
08fe4b3210
new header file - for Curl_strerror()
2004-03-24 22:43:09 +00:00
Daniel Stenberg
0e60a118d0
better comments, added some more variable types we use in the font-lock
2004-03-24 22:24:03 +00:00
Daniel Stenberg
4b78b4124e
Tor Arntsen's major ispell patch
2004-03-24 21:40:45 +00:00
Daniel Stenberg
0d6d9af7ab
Tor Arntsen's mkdir-fix to make this run with perl 5.0005
2004-03-24 21:28:31 +00:00
Daniel Stenberg
41cd36b830
Avoid doing chdir .., as it breaks the ability to use symlinks properly.
...
chdir to absolute directory names instead. (this flaw exists in the shell
version too)
2004-03-24 10:52:21 +00:00
Daniel Stenberg
242be55771
added check for strerror_r()
2004-03-24 08:45:58 +00:00
Daniel Stenberg
7cf47ea5b5
include curl/curlver.h instead since this only needs the version defines
2004-03-24 07:27:58 +00:00
Daniel Stenberg
6fb0012833
error messages and new test script
2004-03-23 16:12:55 +00:00
Daniel Stenberg
9d1ce9c0df
we are progressing
2004-03-23 16:12:37 +00:00
Daniel Stenberg
5947e4e9fd
distribute testcurl.pl too starting now
2004-03-23 16:11:01 +00:00
Daniel Stenberg
e992aa6a54
Greg Hewgill's version of testcurl.sh rewritten in perl for greater
...
portability. I put it in this directory instead of the root since I think
perhaps it makes more sense.
2004-03-23 16:07:02 +00:00
Daniel Stenberg
2cf218610e
keep current_speed as an curl_off_t for better precision at higher speeds
...
if large file support is available
2004-03-23 16:01:31 +00:00
Daniel Stenberg
fe6f0aeb26
switch() on the right variable!
2004-03-23 15:48:27 +00:00
Daniel Stenberg
bd04c6fb67
curl_strequal() returns int, keep return variables in an int
2004-03-23 15:30:12 +00:00
Daniel Stenberg
c5637baa06
make the variables that hold the result of strlen() size_t
2004-03-23 15:28:31 +00:00
Daniel Stenberg
f8426a2c44
stricter variable type usage
2004-03-23 15:25:54 +00:00
Daniel Stenberg
0c791d1e76
variable type usage cleanup to please picky compilers
2004-03-23 15:20:57 +00:00
Daniel Stenberg
c4a89d29f6
get strlen() results in a size_t, delete 'register'
2004-03-23 15:14:57 +00:00
Daniel Stenberg
306ff5649a
made time2str() use longs internally instead to prevent compiler warnings
...
when converting to ints
2004-03-23 15:06:14 +00:00
Daniel Stenberg
1c652dfc5d
added explicit typecasts to prevent compiler warnings on variable conversions
2004-03-23 15:01:19 +00:00
Daniel Stenberg
1f61e7f8f4
If localbind fails, provide a more portable error message.
2004-03-23 14:43:42 +00:00
Daniel Stenberg
1a5f190e47
minor update by Kevin
2004-03-23 14:34:09 +00:00
Daniel Stenberg
570033448c
src/version.h was not properly made!
2004-03-23 14:29:21 +00:00
Daniel Stenberg
f44b655513
progress meter fix, CURLINFO_CONTENT_LENGTH_DOWNLOAD fix, cygwin package fix
2004-03-23 11:52:08 +00:00
Daniel Stenberg
0aa720fa26
it actually fits to make a NNNd NNh display so this can be used up to
...
999 days
2004-03-23 11:46:31 +00:00
Daniel Stenberg
d44f3f84f8
Fixed the time fields no never get wider than 8 letters. They can now switch
...
to a "days + hours" or even "just days" display if the time value is very
large. I also switched several calculations over to fixed-point instead of the
previous doubles.
2004-03-23 11:43:34 +00:00
Daniel Stenberg
d426db3d27
int/size_t cleanup
2004-03-23 09:12:51 +00:00
Daniel Stenberg
0fd88d7c8f
minor variable type cleanups
2004-03-23 08:50:28 +00:00
Daniel Stenberg
4e84ac4db8
minor edits to make picky compilers whine less
2004-03-23 08:46:08 +00:00
Daniel Stenberg
da5c8a121f
changed the long to int typecasts to see if icc 8.0 complains less on this
2004-03-23 08:42:01 +00:00
Daniel Stenberg
76c36688d0
Makes CURLINFO_CONTENT_LENGTH_DOWNLOAD work even if CURLOPT_NOBODY is set
...
true.
2004-03-22 22:38:12 +00:00
Daniel Stenberg
651c8d3bc4
Kevin Roth's updates to handle a new requirement from the Cygwin folks to
...
package man and doc files in a slightly different location.
2004-03-22 22:24:23 +00:00
Daniel Stenberg
a8a946d71d
crap files to get the dirs made when checked out from CVS
2004-03-22 21:46:08 +00:00
Daniel Stenberg
c5c005609e
container to get this dir made
2004-03-22 21:42:07 +00:00
Daniel Stenberg
97886f9353
Make the axp/README ia64/README vax/README files get included as well.
...
They're 0-bytes files, but make the dirs get created!
2004-03-22 21:37:02 +00:00
Daniel Stenberg
a784bd0797
fixed the ntlm problem with longish passwords
2004-03-22 13:56:48 +00:00
Daniel Stenberg
4aacf65678
vms fixes committed
2004-03-22 13:56:30 +00:00
Daniel Stenberg
dd1ba7633e
Enabled 'NT responses' in the NTLM type-3 message.
2004-03-22 13:50:30 +00:00
Daniel Stenberg
a4ea5a4054
fixed /I "." for the debug build too
2004-03-22 11:32:22 +00:00
Daniel Stenberg
69060b1382
add /I "." to include ca-bundle.h properly
2004-03-22 11:26:40 +00:00
Daniel Stenberg
a6562ea77d
issue 27 fixed, moved libcurl version defines to its own header file
2004-03-22 10:22:01 +00:00
Daniel Stenberg
ad3563096a
include the new curlver instead, since all this wants is the version info
2004-03-22 08:54:26 +00:00
Daniel Stenberg
c5f02c1986
Introducing curl/curlver.h for keeping the curl version info only.
2004-03-22 08:37:38 +00:00
Daniel Stenberg
7ef5d20cad
files moved here from the $ROOT/src dir
2004-03-21 22:50:53 +00:00
Daniel Stenberg
98b619c3a7
removed deleted files
2004-03-21 22:49:36 +00:00
Daniel Stenberg
5b75919f95
Marty Kuhrt's adjustments for a cleaner VMS build
2004-03-21 22:44:52 +00:00
Daniel Stenberg
20b76e09e3
Marty Kuhrt's VMS updates
2004-03-21 22:38:01 +00:00
Daniel Stenberg
67fca4cb01
recognize and use ACLOCAL_FLAGS if set (Thomas Schwinge patch)
2004-03-21 15:45:58 +00:00
Daniel Stenberg
606715b2cd
use tabs, not spaces!
2004-03-21 15:32:15 +00:00
Daniel Stenberg
ce04b35032
Added the Version 7.11.1 marker
2004-03-19 13:22:48 +00:00
Daniel Stenberg
ec7f244ee9
starting a new cycle
2004-03-19 08:41:49 +00:00