Gisle Vanem
120f17ce04
Replace LF with CRLF. Ref RFC-2229, sec 2.3:
...
"Each command line must be terminated by a CRLF".
2005-02-09 11:50:41 +00:00
Daniel Stenberg
ab938bb9bd
-O clarification
2005-02-08 23:39:47 +00:00
Daniel Stenberg
33820cd2ac
inflate and out of memory fixes
2005-02-08 19:07:28 +00:00
Daniel Stenberg
41def21f91
ares_gethostbyname wants a 'ares_host_callback' in the 4th argument
2005-02-08 19:03:27 +00:00
Gisle Vanem
d118312922
Curl_addrinfo?_callback() and addrinfo_callback() now returns
...
CURLE_OK or CURLE_OUT_OF_MEMORY.
Add typecast in hostares.c.
2005-02-08 12:36:13 +00:00
Gisle Vanem
82b93e4945
Don't free too much in freedirs() if realloc() fails.
2005-02-08 12:32:28 +00:00
Daniel Stenberg
e36fb1ecda
Curl_wait_for_resolv() no longer disconnects on failure, but leaves that
...
operation to the caller. Disconnecting has the disadvantage that the conn
pointer gets completely invalidated and this is not handled on lots of places
in the code.
2005-02-08 07:36:57 +00:00
Dan Fandrich
e4a1788614
Fix for a bug report that compressed files that are exactly 64 KiB long
...
produce a zlib error.
2005-02-07 19:12:37 +00:00
Gisle Vanem
7b23eff9cf
Preserve previous status in Curl_http_done().
2005-02-06 12:43:40 +00:00
Daniel Stenberg
67ff8e3ea3
valgrind errors occur too often when 'make test' is used. It is because too
...
many third-party libs and tools have problems. When curl is built without
--disable-shared, the testing is done with a front-end script which makes the
valgrind testing include (ba)sh as well and that often causes valgrind
errors. Either we improve the valgrind error scanner a lot to better identify
(lib)curl errors only, or we disable valgrind checking by default
2005-02-05 10:25:20 +00:00
Daniel Stenberg
2248599ae1
fix type
2005-02-04 23:53:12 +00:00
Daniel Stenberg
29350b363b
Eric Vergnaud found a use of an uninitialized variable
2005-02-04 23:43:44 +00:00
Daniel Stenberg
83c470a443
David Byron pointed out that this -1 on the buffer size is pointless since
...
the buffer is already BUFSIZE +1 one big to fit the extra trailing zero. This
change is reported to fix David's weird SSL problem...
2005-02-04 13:42:41 +00:00
Daniel Stenberg
ab96e2d6e9
another example
2005-02-02 19:25:49 +00:00
Daniel Stenberg
6b81cf4bc9
HTML parsing example with libtidy, by Jeff Pohlmeyer
2005-02-02 19:25:37 +00:00
Daniel Stenberg
0d9301539e
and we start over again
2005-02-01 08:46:06 +00:00
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
Daniel Stenberg
a5b206f398
irix configure fix and a msvc project file update
2004-03-18 14:20:17 +00:00
Daniel Stenberg
306a05f9ff
Mitz Wark's reported Digest re-negotiate problem is issue 30.
2004-03-18 12:59:03 +00:00
Daniel Stenberg
81f8350616
For IRIX systems we must pick the "correct" lib dirs for the particular
...
libs we want. $libsuff is the magic variable that contains a suffix (which
might be blank). Tor Arntsen brought details and verified this fix.
2004-03-18 10:03:34 +00:00
Daniel Stenberg
760ca6adc4
added http_ntlm.[ch] and inet_pton.[ch], pointed out by Watz
2004-03-17 21:30:26 +00:00
Daniel Stenberg
ffb35ff5c3
Gnter Knauf's update, mainly converted to plain old C comments.
2004-03-17 13:36:45 +00:00
Daniel Stenberg
8eda06131b
new netware-related files added to the distribution
2004-03-17 12:48:41 +00:00
Daniel Stenberg
5b55f9ecb3
Gnter Knauf's NetWare changes.
2004-03-17 12:46:42 +00:00
Daniel Stenberg
3417e0b0fc
nonsense comments removed
2004-03-17 07:22:04 +00:00
Daniel Stenberg
79ed144b0f
mention yesterday's man page update frenzy
2004-03-16 10:41:14 +00:00
Daniel Stenberg
8e5cf6589c
issue 29 has a bug report mentioning details
2004-03-16 10:40:48 +00:00
Daniel Stenberg
fc67cca882
removed the min() macro define
2004-03-16 09:16:38 +00:00
Daniel Stenberg
eea2287068
random updates
2004-03-16 07:56:51 +00:00
Daniel Stenberg
5fe5de7511
added the CA bundle default path, and mention the risk that the server you
...
try to talk to may be an imposter
2004-03-16 07:25:52 +00:00
Daniel Stenberg
4a6b9972dd
ntlm and long passwords
2004-03-15 16:32:13 +00:00
Daniel Stenberg
256a16a8a3
if the global_init() is called from within curl_easy_init() and returns
...
an error code, we now make curl_easy_init fail and return NULL.
2004-03-15 16:28:36 +00:00
Daniel Stenberg
30e0891d3d
ignore these files
2004-03-15 13:20:53 +00:00
Daniel Stenberg
8147ccdf76
automake file for this dir
2004-03-15 13:20:01 +00:00
Daniel Stenberg
26ab286630
provide URLs to two patches mentioned
2004-03-15 13:13:14 +00:00
Daniel Stenberg
738807883e
NTLM fix
2004-03-15 13:09:59 +00:00
Daniel Stenberg
03a0988ce8
better formatting to create fine links in the web version
2004-03-15 12:42:19 +00:00
Daniel Stenberg
7de892eeb4
more formatting fixes
2004-03-15 12:41:24 +00:00
Daniel Stenberg
8c4e91a653
refer to function names better to enhance the HTML output
2004-03-15 11:56:07 +00:00
Daniel Stenberg
8f77030473
Initial commit of the first attempt to make three new *strerror() functions.
...
No protos in the headers yet and no docs.
2004-03-15 11:51:32 +00:00
Daniel Stenberg
546d0bd3d1
windows builds now report a slightly different "OS" string
2004-03-15 11:43:04 +00:00
Daniel Stenberg
5d53b544d3
check for m4 version in buildconf
2004-03-15 11:42:48 +00:00
Daniel Stenberg
6dc8fac122
random formatting updates to look better in HTML version
2004-03-15 11:37:37 +00:00
Daniel Stenberg
8114f8562b
use .NF for the struct part to looke better in HTML
...
format some function references properly
2004-03-15 11:30:29 +00:00
Daniel Stenberg
c79fa187b9
more fixes
2004-03-15 11:26:53 +00:00
Daniel Stenberg
237ec68b0e
better formatting of functions to get better links in the web version
2004-03-15 10:26:08 +00:00
Daniel Stenberg
4ebf4f6e55
better mentioning of other functions to create proper hrefs in the web
...
version
2004-03-15 10:23:14 +00:00
Daniel Stenberg
4d86593f3c
build_vms.com is removed from here
2004-03-15 10:18:38 +00:00
Daniel Stenberg
ec050ccbc4
Marty Kuhrt's VMS updates
2004-03-15 10:11:34 +00:00
Daniel Stenberg
f19cade50f
Added the new vms subdir in the packages dir
2004-03-15 10:10:24 +00:00
Daniel Stenberg
a2f35aaf67
new vms subdir
2004-03-15 10:08:32 +00:00
Daniel Stenberg
e5c4b6b345
not used anymore since Marty Kuhrt's recent VMS updates
2004-03-15 10:03:58 +00:00
Daniel Stenberg
bad978feb2
Marty Kuhrt's provided files for the VMS package
2004-03-15 10:03:05 +00:00
Daniel Stenberg
bea9152aa8
Check for a GNU version of m4, since autoconf won't run nicely without one.
2004-03-15 07:47:13 +00:00
Daniel Stenberg
f788f988ea
fix signed and unsigned warnings
2004-03-14 18:15:04 +00:00
Daniel Stenberg
d04ffd258b
postsize is off_t now, so we typecase it to int before doing normal printf
...
with it (knowing it won't be larger than what fits in an int)
2004-03-13 17:11:42 +00:00
Daniel Stenberg
24cfa7f1bb
the postsize is an off_t so use the proper printf format to output the
...
content-length when doing multipart posts
2004-03-13 17:03:17 +00:00
Daniel Stenberg
94a1d09ac7
more variable type fixing for the huge posts
2004-03-12 14:22:16 +00:00
Daniel Stenberg
230a75091b
newer c-ares release
2004-03-12 13:17:46 +00:00
Daniel Stenberg
4ad68ec305
more variable type fixes for the large POST support
2004-03-12 13:06:01 +00:00
Daniel Stenberg
ef776ab893
Made the 'postsize' variable an off_t type to be able to hold large file
...
sizes if desired
2004-03-12 12:07:01 +00:00
Daniel Stenberg
f8ff0f6bef
minor variable type fix
2004-03-12 12:05:33 +00:00
Daniel Stenberg
bc7122f6e2
CURLOPT_POSTFIELDSIZE_LARGE is added in 7.11.1
2004-03-12 09:14:45 +00:00
Daniel Stenberg
e5963dae48
ignore aclocal.m4
2004-03-12 08:57:10 +00:00
Daniel Stenberg
1ebda8fa0e
Added CURLOPT_POSTFIELDSIZE_LARGE to offer a large file version of the
...
CURLOPT_POSTFIELDSIZE option to allow really big HTTP POSTs.
2004-03-12 08:55:47 +00:00
Daniel Stenberg
9af532e662
David Byron's fix to clear outs.filename
2004-03-12 08:03:31 +00:00
Daniel Stenberg
9d064a3927
dl and ulspeed are now curl_off_t so typecast them to double when we
...
return their values
2004-03-11 21:51:55 +00:00
Daniel Stenberg
d6edcfb486
Optimize the way libcurl uses CWD
2004-03-11 21:49:56 +00:00
Daniel Stenberg
1d5a914c1c
Made max5data() take a curl_off_t size as argument instead of double. Should
...
make the progress meter more accurate for large files. Also made the sprintf
usage in that function avoid floating point.
2004-03-11 21:48:15 +00:00
Daniel Stenberg
666bc9ee4e
added that header fiddling the msvc users will enjoy
2004-03-11 13:15:14 +00:00
Daniel Stenberg
e545e33d5f
Gisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets.
2004-03-11 13:13:35 +00:00
Daniel Stenberg
326e8b9fc1
don't let the EINTR stuff build on windows
2004-03-11 12:57:04 +00:00
Daniel Stenberg
0d1fc73f21
Use more curl_off_t variables when doing the progress meter calculations and
...
argument passing and try to convert to double only when providing data to the
external world.
2004-03-10 16:20:33 +00:00
Daniel Stenberg
50a1853560
use the new OS define from lib/config-win32.h
2004-03-10 16:07:19 +00:00
Daniel Stenberg
35e158d80b
make loop variable size_t as well when looping to a size_t limit
2004-03-10 16:03:12 +00:00
Daniel Stenberg
7225b14002
curl_socket_t mistakes cleanup
2004-03-10 16:01:47 +00:00
Daniel Stenberg
85838a8966
turn niflags into a define named NIFLAGS
2004-03-10 15:24:56 +00:00
Daniel Stenberg
d29590f583
added the Estonian one, removed the cyberservers one since it is dead and
...
they don't respond to email
2004-03-10 11:30:19 +00:00
Daniel Stenberg
467c3e3a1f
fixing
2004-03-10 11:28:45 +00:00
Daniel Stenberg
b484b3b696
Gisle Vanem improved build on Windows.
2004-03-10 11:28:34 +00:00
Daniel Stenberg
b45d50ccc2
Nah, ignore the OS define in here. This is being included by ares and it
...
certainly doesn't need the OS define.
2004-03-10 10:19:32 +00:00
Daniel Stenberg
78e0ba82b0
ignore the icc warning 981 "operands are evaluated in unspecified order"
2004-03-10 09:52:04 +00:00
Daniel Stenberg
c39c55cb2d
Minor edit to avoid an unreachable break and to remove the extra {} body
...
within the switch.
2004-03-10 09:50:12 +00:00
Daniel Stenberg
cf004cbc7e
keep the number of bytes read in a size_t variable
2004-03-10 09:44:42 +00:00
Daniel Stenberg
9948250723
strequal() returns int so we typecast the return to bool when we store the
...
result as bool
2004-03-10 09:41:37 +00:00
Daniel Stenberg
47afa058a8
store times in time_t
2004-03-10 09:36:43 +00:00
Daniel Stenberg
40e892bb36
Jeff Lawson fixed the SSL connection to deal with received signals during the
...
connect.
2004-03-10 08:43:01 +00:00
Daniel Stenberg
bc6f3beb9c
Now requires an OS string defined by the config*.h file
2004-03-10 08:15:50 +00:00
Daniel Stenberg
f9e1f32adb
make windows builds use the OS string "i386-pc-win32" instead of just "win32"
...
to make it more like other OS strings
2004-03-10 08:14:22 +00:00
Daniel Stenberg
93f96835f8
use size_t for string lengths
2004-03-10 08:12:09 +00:00
Daniel Stenberg
22f4d81f3e
Make sure SIZEOF_CURL_OFF_T is defined before we check for it being > 4.
...
It is only undefined when this file is included by others (like ares) and
in those cases it doesn't matter.
2004-03-10 08:08:02 +00:00
Daniel Stenberg
0d1f80ccb5
removed the #if 0'ed pragmas that disable warnings on msvc
2004-03-10 07:04:31 +00:00
Daniel Stenberg
4e87dd89bf
moved the curl_socket_t typedef downwards
2004-03-10 07:03:13 +00:00
Daniel Stenberg
60e4b57ad8
added the new socket type
2004-03-09 22:55:47 +00:00
Daniel Stenberg
ce5805a955
Use curl_socket_t instead of int for holding sockets. The typedefs and
...
defines are in setup.h.
2004-03-09 22:52:50 +00:00
Daniel Stenberg
dad0715d79
Added -I$(top_srcdir)/include, since lib/setup.h might include files from
...
the external curl include dir.
2004-03-09 21:49:46 +00:00
Daniel Stenberg
52d85341ae
only build with the windows threading trace code if
...
DEBUG_THREADING_GETHOSTBYNAME is defined
2004-03-09 21:42:43 +00:00
Daniel Stenberg
7b2869338d
explicit typecast to visualize that we really want the result of the
...
operation as a size_t
2004-03-09 21:39:50 +00:00
Daniel Stenberg
ab35b2837f
Tor Arntsen's fix to a AIX build problem
2004-03-09 21:25:59 +00:00
Daniel Stenberg
863473a856
remove ares/aclocal.m4 before cvs update to prevent bad conflicts
2004-03-09 11:24:36 +00:00
Daniel Stenberg
be6af69dc7
mingw has str(n)casecmp() functions
2004-03-09 10:18:09 +00:00
Daniel Stenberg
3a80dc7f3e
timezone dummy to build better on Windows - Gisle Vanem
2004-03-09 09:47:51 +00:00
Daniel Stenberg
bd42a2acb1
Gisle Vanem fixed the bad argc check
2004-03-09 09:43:30 +00:00
Daniel Stenberg
7f0e708322
the error message stuff is for 7.12
2004-03-09 09:38:16 +00:00
Daniel Stenberg
8cbfe5d24a
Andrs Garca-fix to make it build with mingw
2004-03-09 08:38:25 +00:00
Daniel Stenberg
bab9f532f2
added HAVE_IOCTLSOCKET here
2004-03-09 08:35:33 +00:00
Daniel Stenberg
09cce943cb
this is generated, removed from CVS
2004-03-08 16:29:45 +00:00
Daniel Stenberg
702021e099
don't compare signed/unsigned
2004-03-08 16:20:51 +00:00
Daniel Stenberg
e94c46c00c
Removed John Clayton's really odd bug since its never been reported again and
...
it was quite a long time since he experienced that one.
2004-03-08 14:04:10 +00:00
Daniel Stenberg
9d311ff2c0
mention error 64
2004-03-08 13:57:38 +00:00
Daniel Stenberg
108434b95c
the largefile for version_info fix
2004-03-08 13:17:53 +00:00
Daniel Stenberg
c30cb73a5b
fread() returns a size_t
2004-03-08 12:56:18 +00:00
Daniel Stenberg
b7c56594b3
use curl standard source formatting
2004-03-08 12:51:33 +00:00
Daniel Stenberg
2b700fae9d
typecast enum to int to make it printf() properly
2004-03-08 12:51:13 +00:00
Daniel Stenberg
ef783d8da7
variable type fixes
2004-03-08 12:48:09 +00:00
Daniel Stenberg
a4f1833629
Moved the error message buffer into the glob struct as well.
2004-03-08 12:47:37 +00:00
Daniel Stenberg
2c756fa1d7
Commented the Curl_read() arguments.
2004-03-08 12:37:46 +00:00
Daniel Stenberg
385086b460
size_t/int fix
2004-03-08 12:37:11 +00:00
Daniel Stenberg
72a4715dff
strlen() returns size_t
2004-03-08 12:36:54 +00:00
Daniel Stenberg
7e6043f04f
we ignore the ICC warning 1419 as well
2004-03-08 11:37:12 +00:00
Daniel Stenberg
576be36249
waitconnect() takes the timeout argument as a long
2004-03-08 11:36:47 +00:00
Daniel Stenberg
c52c592f4c
store size as size_t
...
use %zd when outputting size_t
2004-03-08 11:33:49 +00:00
Daniel Stenberg
d9ffd2f544
don't use 'register'
...
make strtol() returns get stored in long variables
don't mix size_t with int
2004-03-08 11:28:14 +00:00
Daniel Stenberg
a684c51c9b
size_t/int/long fixes
2004-03-08 08:38:29 +00:00
Daniel Stenberg
3fa4ac080e
we must not only support long long for Largefile to work, we must have
...
a curl_off_t type that is larger than 4 bytes
2004-03-08 07:46:26 +00:00
Daniel Stenberg
9c8b2a9958
issue 12 fixed, the final known outstanding issue to be done before 7.11.1
2004-03-05 13:12:58 +00:00
Daniel Stenberg
498666bdc3
issue 12 fix
2004-03-05 12:54:18 +00:00
Daniel Stenberg
3d3612e252
another include to prevent warnings
2004-03-05 11:39:19 +00:00
Daniel Stenberg
e9920d8a04
two fixes, one new mirror
2004-03-05 10:18:58 +00:00
Daniel Stenberg
acc5096eef
clonk
2004-03-05 10:14:46 +00:00
Daniel Stenberg
6717240650
more fixing to make the progress/getinfo stuff to work properly when doing
...
file: transfers too
2004-03-05 09:40:16 +00:00
Daniel Stenberg
ef0a2c714b
clearly tell that these are ftp response timeouts
2004-03-05 09:37:48 +00:00
Daniel Stenberg
2cd6403011
Major rewrite of the test HTTP server to allow more fancy features to make
...
better tests with the issue12-patch applied.
This change also includes Andrs Garca's win32-fixes.
Made the logging look better/more readable in sws.log
2004-03-05 08:32:11 +00:00
Daniel Stenberg
75e1483e0d
'make clean' should only remove the generated html files, index.html is not
...
one of them!
2004-03-05 08:01:55 +00:00
Daniel Stenberg
8a4532ca2d
mention the D binding
2004-03-05 07:57:07 +00:00
Daniel Stenberg
13f98c5c18
Multiple updates, most of them being proper formatting to create nice html
...
links in the web pages, but also additional facts and removal of old crap.
2004-03-05 07:55:02 +00:00
Daniel Stenberg
30e71d54e0
issue 12 fix is pending and is working in devel
...
added issue 24 - fix the progress meter for large files on slow networks to
not wrap
2004-03-04 16:19:12 +00:00
Daniel Stenberg
465753c2de
When following to a new URL, we must make sure to call Curl_done() first,
...
since the current connection must be taken care of properly before we move
on. Christopher R. Palmer reported a problem he found due to this mistake.
2004-03-04 16:13:33 +00:00
Daniel Stenberg
e40392ac03
Andrs Garca's patch to prevent warnings while compiling with mingw, mainly
...
because it is now possible to have both WIN32 and HAVE_CONFIG_H defined.
2004-03-04 15:32:18 +00:00
Daniel Stenberg
1eb9fd6c4d
use size_t for the data, but keep the protos use ssize_t to better fit
...
with the existing transfer.c code
2004-03-04 15:25:06 +00:00
Daniel Stenberg
78e47fbb5c
include the proper header file too
2004-03-04 15:23:57 +00:00
Daniel Stenberg
2b59e90c54
fix progress data to be updated properly for file: transfers, as reported
...
by Jesse Noller
2004-03-04 15:12:12 +00:00
Daniel Stenberg
59a30e6d9b
prevent harmless compiler warning
2004-03-04 12:57:12 +00:00
Daniel Stenberg
e0287fea20
David Byron's version resource fix
2004-03-04 09:56:39 +00:00
Daniel Stenberg
4fbf3f16e2
new "version resource" file for windows builds
2004-03-04 09:56:17 +00:00
Daniel Stenberg
de6433d5c2
show curl --version output as well
2004-03-03 14:46:37 +00:00
Daniel Stenberg
23ef66f33a
largefile bit for the version_info and now winsock 1.1 only
2004-03-03 14:39:47 +00:00
Daniel Stenberg
2479e06848
David Byron's work on making libcurl only require winsock 1.1 on Windows
...
machines.
2004-03-03 13:32:56 +00:00
Daniel Stenberg
f2abe03fcf
three days of changes
2004-03-03 13:30:18 +00:00
Daniel Stenberg
5e7f1a0eaf
more variable type cleanups
2004-03-03 13:24:14 +00:00
Daniel Stenberg
eb9383d49b
our timeout values are longs while 'tv_sec' is int
2004-03-03 13:17:44 +00:00
Daniel Stenberg
817d17354e
make the backup variable of the same kind as the data it backups! ;-)
2004-03-03 13:12:30 +00:00
Daniel Stenberg
88e226c686
some more size_t usage, and two added typecasts when converting from size_t
...
to long (MIPSpro warnings)
2004-03-03 13:11:28 +00:00
Daniel Stenberg
9116dd41bd
tv_sec is an int, so we explicitly typecast the result of long - long to
...
an int when we assign it.
2004-03-03 13:07:32 +00:00
Daniel Stenberg
213d64fbd7
attempted typecase to silence the MIPSpro warning:
...
cc-1506 cc: REMARK File = ../../curl/ares/ares__read_line.c, Line = 46
There is an implicit conversion from "unsigned long" to "int"; rounding, sign
extension, or loss of accuracy may result.
if (!fgets(*buf + offset, *bufsize - offset, fp))
2004-03-03 13:03:35 +00:00
Daniel Stenberg
a8419d68b6
#ifdef #define #undef circus to prevent compiler warnings on #if operations
...
with undefined variables.
2004-03-03 12:37:15 +00:00
Daniel Stenberg
87a1c7033e
removed include stuff now handled by test.h
2004-03-03 10:09:30 +00:00
Daniel Stenberg
6e3fa90c9e
We let this file include more generic headers that many libtests need anyway
...
to reduce the amount of #include stuff in each single libNNN.c file.
unistd.h was added to prevent select() warnings on FreeBSD
2004-03-03 10:09:16 +00:00
Daniel Stenberg
b2ef40731a
Tom Bates' adjustment to build on his nsr-tandem-nsk.
2004-03-03 09:27:18 +00:00
Daniel Stenberg
e2f7030202
rename struct FILE to FILEPROTO, to prevent it from causing trouble with
...
the plain old FILE typedef.
2004-03-03 09:25:59 +00:00
Daniel Stenberg
533519cc9c
Dan Fandrich fixed some GSS detection flaws
2004-03-03 09:16:36 +00:00
Daniel Stenberg
7c85be9435
corrected the reuse_fresh condition
2004-03-02 14:00:44 +00:00
Daniel Stenberg
89829093ca
large file in jan 2004
2004-03-02 10:22:05 +00:00
Daniel Stenberg
7cb10a1853
various updates
2004-03-02 10:08:04 +00:00
Daniel Stenberg
33d67c68de
two items fixed, one so old I don't think its valid anymore
2004-03-02 10:07:47 +00:00
Daniel Stenberg
e46b5719f2
display src/config.h as well after configure as run
2004-03-02 09:50:37 +00:00
Daniel Stenberg
353f764119
Yet another curl_off_t printf format attempt, we now exclude the %-letter from
...
FORMAT_OFF_T to allow additional options to get specified, like with '"%5"
FORMAT_OFF_T'.
2004-03-02 09:31:18 +00:00
Daniel Stenberg
9f437269fb
Define CURL_NO_OLDIES to prevent us from getting obsolete stuff defined.
2004-03-02 09:13:28 +00:00
Daniel Stenberg
45391178c9
CURLOPT_MUTE is obsolete since a long while, we don't need to set it!
2004-03-02 09:11:52 +00:00
Daniel Stenberg
eddeb49fb6
clean the html and pdf files
2004-03-02 08:28:23 +00:00
Daniel Stenberg
7ab3b5b3bb
use FORMAT_OFF_T instead of CURL_FORMAT_OFF_T to reduce the complexity of
...
having to redef that name
2004-03-02 07:25:39 +00:00
Daniel Stenberg
00d5f886e3
- we switch to simply use FORMAT_OFF_T internally
...
- Also, we must not assume that SIZEOF_CURL_OFF_T is defined, as this file
gets included from the ares dir at times and then it isn't defined.
2004-03-02 07:25:08 +00:00
Daniel Stenberg
49daeaf805
the CURLOPT_FRESH_CONNECT fix
2004-03-01 16:32:51 +00:00
Daniel Stenberg
d03fbf5dfb
a fair day's work!
2004-03-01 16:30:59 +00:00
Daniel Stenberg
cb72a80fe0
Use CURL_FORMAT_OFF_T for printf()inf curl_off_t variables.
2004-03-01 16:28:00 +00:00
Daniel Stenberg
71d81f1f75
Now uses CURL_FORMAT_OFF_T instead of %Od
...
Fixed the check for bad resumes. Made test case 99 work and proved a bug
in test case ... eh, was it 32?
2004-03-01 16:27:34 +00:00
Daniel Stenberg
b0c51d198c
large_file is a new feature we can require for a specific test
2004-03-01 16:25:24 +00:00
Daniel Stenberg
71335e5b99
support 'large_file' as a feature to require for specific tests (such as
...
test 99)
2004-03-01 16:24:54 +00:00
Daniel Stenberg
c9b23ca055
check for CURL_VERSION_LARGEFILE in the feature bitmask
2004-03-01 16:24:26 +00:00
Daniel Stenberg
7983ec84a7
set CURL_VERSION_LARGEFILE if we support large files
2004-03-01 16:24:04 +00:00
Daniel Stenberg
8cb2a68694
define ENABLE_64BIT if we have enabled 64bit large files
...
define our internal CURL_FORMAT_OFF_T define, we don't use the global one!
2004-03-01 16:23:35 +00:00
Daniel Stenberg
485122035c
fixed the test code to work
2004-03-01 16:22:17 +00:00
Daniel Stenberg
5c4dba1418
* Added CURL_VERSION_LARGEFILE
...
* If CURL_NO_OLDIES is defined, we hide all obsolete functions/options.
* CURL_FORMAT_OFF_T is defined for portable printf()ing of curl_off_t types
(although not with curl_mprintf()!)
2004-03-01 16:20:20 +00:00
Daniel Stenberg
d6eb28400b
added test 99, very basic initial large file test
2004-03-01 16:18:40 +00:00
Daniel Stenberg
526c61c657
global dns cache is not nice, we consider it obsolete starting now
2004-03-01 15:50:15 +00:00
Daniel Stenberg
fd6ec05916
Ignore the dreaded aclocal warnings on underquoted definitions that the
...
recent autoconf annoyingly introduced.
2004-03-01 13:14:26 +00:00
Daniel Stenberg
6789dfc5f5
Perhaps -Wundef is better on gcc versions after 2.95, since the autobuild
...
on FreeBSD gives us lots of warnings in system headers and I suspect this
option is what causes them!
2004-03-01 13:10:35 +00:00
Daniel Stenberg
193a652e6a
When setting aggressive pedantic compiler options, display what options
...
that were set. For easier debugging/changing of this.
2004-03-01 13:02:34 +00:00
Daniel Stenberg
4d12be9867
removed an unnecessary shift and splut up som weird two-statements-per-line
...
code
2004-03-01 12:54:59 +00:00
Daniel Stenberg
87e7f4f688
Use the z-option to printf %d for size_t printf. z is supported by the
...
libcurl *printf and by Linux printf(). This should make the code work nicely
even for 64bit size_ts.
2004-03-01 12:45:12 +00:00
Daniel Stenberg
5eeaff8235
Support 'z' for size_t-sized integer printing, as in %zd or %zx.
2004-03-01 12:44:07 +00:00
Daniel Stenberg
7d2e872828
Only consider the fresh-connection option on the first connection made, not
...
on followed redirections etc. This should fix the bug #905365 , which caused
NTLM to fail with the option set.
2004-03-01 09:43:42 +00:00
Daniel Stenberg
097938e6c8
Moved two 7.11.2 issues over to the more general TODO docs.
2004-03-01 09:08:52 +00:00
Daniel Stenberg
d57b84e290
minor spellfix
2004-03-01 08:54:22 +00:00
Daniel Stenberg
fcc07bed90
intend the top-level blurb to make it easier to discard it from the web
...
site output
2004-03-01 08:50:28 +00:00
Daniel Stenberg
43bda5cd17
Tor and David
2004-03-01 08:20:21 +00:00
Daniel Stenberg
45c7f064d4
mention how to make a curl handle use the share
2004-03-01 08:02:50 +00:00
Daniel Stenberg
4dfc0a78e7
Only attempt to send the FTP QUIT command if we actually have a FTP struct.
2004-03-01 07:59:25 +00:00
Daniel Stenberg
82bd583251
in Curl_disonnect(): call the protocol-specific disconnect function before we
...
unlink the "current" connection struct from the connection cache.
2004-03-01 07:19:26 +00:00
Daniel Stenberg
78f52c05a9
Report the correct size when 'verifiedserver' is requested.
2004-03-01 07:16:45 +00:00
Daniel Stenberg
d818cbe58c
Dirk Manske fixed the attempt to install the removed errmem manpage
2004-02-29 18:39:31 +00:00
Daniel Stenberg
4ae4336643
using roffit 0.6 we can get <a href> links with the --mandir option
2004-02-27 15:48:13 +00:00
Daniel Stenberg
25bcd45034
formatting update to produce better links with the new roffit version
2004-02-27 15:34:06 +00:00
Daniel Stenberg
f53d6e1c39
elaborate on the URL option
2004-02-27 14:07:22 +00:00
Daniel Stenberg
17a3aa1ddc
minor size_t fix to kill a warning
2004-02-27 13:21:47 +00:00
Daniel Stenberg
6c78b4b7c0
fixed some more size_t/int/long warnings and removed a few CMC comments
2004-02-27 13:21:14 +00:00
Daniel Stenberg
2b634be467
Mark obsolete options with OSBOLETE in a comment on the same line, to make
...
it easier to exclude them with grep, when grepping for options.
2004-02-27 12:41:03 +00:00
Daniel Stenberg
c5b8e446f6
ispell by Tor Arntsen
2004-02-27 12:27:40 +00:00
Daniel Stenberg
7bd55dc17c
updated the debug option function from curl's acinclude.m4
2004-02-27 11:29:36 +00:00
Daniel Stenberg
009cd96490
remove the number of obsolete options
2004-02-27 09:02:29 +00:00
Daniel Stenberg
d0242da304
Added a few options that were still not documented. Now I believe all options
...
mentioned in the current curl/curl.h header file (that aren't marked as
obsolete) are present.
2004-02-27 09:02:06 +00:00
Daniel Stenberg
ab44763cb7
updated with recent events
2004-02-27 08:08:08 +00:00
Daniel Stenberg
3a80bb0a09
issue 21 is now history
2004-02-27 07:15:42 +00:00
Daniel Stenberg
77268e0649
Joe Halpin made the FTP code send 'QUIT' on the control connection before
...
it disconnects the TCP connection, like a good ftp client should!
2004-02-27 07:08:37 +00:00
Daniel Stenberg
1ceb77b4dc
we need to hide this warning since it otherwise appears on all verifiedserver
...
requests to the ftp server!
2004-02-26 22:56:32 +00:00
Daniel Stenberg
3430ce7907
Kill the server when this test is done, as other FTP-tests sometimes
...
have problems otherwise.
2004-02-26 22:40:33 +00:00
Daniel Stenberg
4ba7ef34d1
fixed a "comparison between signed and unsigned" warning
2004-02-26 22:19:20 +00:00
Daniel Stenberg
4515d06465
David Byron's fixes to make the latest curl build fine under MSVC 6.
2004-02-26 16:23:28 +00:00
Daniel Stenberg
b6a4ca9bc8
this works like buildconf + configure does on unixes
2004-02-26 16:13:13 +00:00
Daniel Stenberg
9b6350d0b0
adjusted to work with the modified fopen() line and the new calloc line
2004-02-26 14:53:17 +00:00
Daniel Stenberg
07de0ff0ff
Gisle Vanem's added support calloc()-debugging and outputting mode for
...
fopen() as well.
2004-02-26 14:52:51 +00:00
Daniel Stenberg
7d8cd5906c
use calloc instead of malloc and we won't have to memset() the struct
2004-02-26 14:52:16 +00:00
Daniel Stenberg
1056d2d22d
When this is verified to be a CVS tree, we remove the two generated source
...
files from the source dir to make certain they're generated in the build
process.
2004-02-26 13:59:10 +00:00
Daniel Stenberg
d571064b65
Clear up int/long/size_t/ssize_t usage a bit
2004-02-26 13:40:43 +00:00
Daniel Stenberg
33eaf2e18b
minor fixes to avoid MIPSPro pedantic warnings
2004-02-26 12:47:43 +00:00
Daniel Stenberg
a054e5baf3
don't mix int and size_t, it generates warnings!
2004-02-26 12:45:29 +00:00
Daniel Stenberg
85af357d81
Make icc ignore "invalid format string conversion" warnings as well. They
...
appear because of our home-grown option '%Od' for the curl_off_t output.
2004-02-26 12:40:09 +00:00
Daniel Stenberg
d687eed33e
use %ld when printf()ing long variables (and removed use of 'register')
2004-02-26 12:32:29 +00:00
Daniel Stenberg
38b6016dfa
added the ever-present source header
2004-02-26 11:46:17 +00:00
Daniel Stenberg
be2cdf14f3
Don't call the lock/unlock functions if they are NULL. They can still be
...
NULL without violating protocol.
2004-02-26 11:39:38 +00:00
Daniel Stenberg
0943f33438
Use __INTEL_COMPILER instead of __ICC to the cpp to detect the Intel icc
...
compiler!
2004-02-26 11:37:14 +00:00
Daniel Stenberg
4427d91479
runtests.pl now provides the srcdir to the ftpserver so that it can pass
...
that to loadtest properly.
2004-02-26 09:19:59 +00:00
Daniel Stenberg
0c03ed6013
modified loadtest() to produce better error message when it fails to load
...
a test file
2004-02-26 09:19:16 +00:00
Daniel Stenberg
0c3c1b390a
The build logs were created in the "wrong" dir and thus never removed
...
after use, this is an attempt to fix this.
2004-02-26 07:58:49 +00:00
Daniel Stenberg
9b09193cfd
today's work
2004-02-25 15:44:39 +00:00
Daniel Stenberg
b2cff76722
typecast to int when printfing CURLcode
2004-02-25 15:43:15 +00:00
Daniel Stenberg
37817667e2
use %ld when printfing longs
2004-02-25 15:41:36 +00:00
Daniel Stenberg
f9b2b7940e
disable the use of long double, we don't use it
2004-02-25 15:34:05 +00:00
Daniel Stenberg
5168b32f86
if ares is present, run aclocal in that dir before autoconf is run
2004-02-25 14:32:57 +00:00
Daniel Stenberg
0373758359
added the better debug option logic from curl by adding acinclude.m4 to the
...
configure stuff
2004-02-25 14:32:39 +00:00
Daniel Stenberg
df94c7aedc
Based on a patch by Greg Hewgill I modified how long long is used, as we
...
can use a 64bit type with MSVC that is a long long equivalent.
2004-02-25 14:15:38 +00:00
Daniel Stenberg
6bd2de0c42
set debug options when using the icc compiler
2004-02-25 14:14:30 +00:00
Daniel Stenberg
82c31256e1
better formatting of the share options
2004-02-25 12:34:19 +00:00
Daniel Stenberg
403cbbe0c4
mark the function name
2004-02-25 12:32:33 +00:00
Daniel Stenberg
9a7e3437ae
added CURLOPT_SHARE
2004-02-25 12:20:41 +00:00
Daniel Stenberg
4fa58560bf
Moved most of the set-debug-options-depending-on-compiler logic to the new
...
CURL_CC_DEBUG_OPTS function in acinclude.m4
2004-02-25 10:19:02 +00:00
Daniel Stenberg
be62b27ce2
Output $CC and $CFLAGS as well. A Tor Arntsen patch.
2004-02-25 09:03:09 +00:00
Daniel Stenberg
3be66f3a03
Don't check for HAVE_ defines in this header file, it is meant to be public
...
and we can't depend on configure-defines in it. This logic is borrowed from
the public curl headers.
2004-02-25 07:22:00 +00:00
Daniel Stenberg
089bdaed00
fix
2004-02-25 07:17:31 +00:00
Daniel Stenberg
0d3674129f
Dan Fandrich fixed a minor flaw in Dominick's fix!
2004-02-25 06:37:42 +00:00
Daniel Stenberg
fce6783be4
check for a few basic header files
2004-02-23 16:20:42 +00:00
Daniel Stenberg
48bc26e7e3
include sys/select.h
2004-02-23 16:20:31 +00:00
Daniel Stenberg
f128fae705
fixed some warnings in the (both new and old) base64 usage
2004-02-23 16:09:39 +00:00
Daniel Stenberg
800fa31b65
features no one seem to care much about are now moved over to the 7.11.2
...
release
2004-02-23 16:04:16 +00:00
Daniel Stenberg
2ae4420869
make newer MSCV7 compilers use _strtoi64() as a strtoll() replacement
2004-02-23 14:24:49 +00:00
Daniel Stenberg
8ba042cf88
limit rate and windows timeouts
2004-02-23 13:48:27 +00:00
Daniel Stenberg
7adf43c1c5
ares_free_errmem is gone
2004-02-23 13:35:28 +00:00
Daniel Stenberg
d007e5615c
unused and now removed
2004-02-23 13:33:18 +00:00
Daniel Stenberg
888eec833c
Removed getpass from here. The fact this still was present here indicates
...
that this file is out of date!
2004-02-23 12:01:10 +00:00
Daniel Stenberg
2911e63bc2
curl_off_t is 8 bytes big on windows
2004-02-23 11:59:28 +00:00
Daniel Stenberg
34d247bc4e
switch the arguments according to the c source
2004-02-23 11:44:03 +00:00
Daniel Stenberg
99bc7e5fd3
oops, the decode() function got its arguments reversed in my cleanup
...
operation!
2004-02-23 11:39:21 +00:00
Daniel Stenberg
0b1f7995c5
correct the input data structs
2004-02-23 09:01:08 +00:00
Daniel Stenberg
f35c28214e
use size_t to keep strlen() results
2004-02-23 08:38:49 +00:00
Daniel Stenberg
35fd1365ae
simplied how create_hostcache_id() is used, and also its function somewhat
...
cleared up some ssize_t/size_t mixups
2004-02-23 08:35:57 +00:00
Daniel Stenberg
f493081004
adjusted to the modified base64 protos
2004-02-23 08:24:53 +00:00
Daniel Stenberg
e1b5e15431
More size_t cleanups in the base64 functions.
2004-02-23 08:22:43 +00:00
Daniel Stenberg
1aba4c519b
The base64 encode function now takes a size_t for size, not an int as
...
previously.
2004-02-23 08:07:55 +00:00
Daniel Stenberg
ae76a67566
more int vs long/size_t fixes after icc compiler warnings
2004-02-23 08:04:31 +00:00
Daniel Stenberg
76241d0a02
more int/long fixes after icc "remarks"
2004-02-23 08:00:56 +00:00
Daniel Stenberg
89227a9d75
next_id is an unsigned short, typecast the assign to prevent picky compilers
...
to warn
2004-02-23 07:57:44 +00:00
Daniel Stenberg
dfb5090e0f
typecase the bitfiddling results since we get a long and we store an int,
...
they may not be of the size size
2004-02-23 07:55:58 +00:00
Daniel Stenberg
c7fe8a7a11
make ares_expand_name() take a long * instead of an int *, since we do
...
pointer arithmetic (ptr1 - ptr2) and to do that properly on 64bit we need
long
2004-02-23 07:52:20 +00:00
Daniel Stenberg
7174ca7a20
strlen() returns a size_t, which might be larger than int on some platforms
2004-02-23 07:46:59 +00:00
Daniel Stenberg
2e61fde07f
argh, use single-quotes instead of double ones to make $Revision appear
2004-02-23 07:32:45 +00:00
Daniel Stenberg
41263f7d88
use the proper source header, and set the version string to this file's
...
revision number
2004-02-23 07:17:13 +00:00
Daniel Stenberg
02095ba0e1
cd back to the root path before removing the build dir, since some systems
...
refuse to remove the dir otherwise!
2004-02-23 07:08:59 +00:00
Daniel Stenberg
32a678eab3
Dominick Meglio's fix for supporting multiple names in the Nameserver key
...
on Windows.
2004-02-22 22:42:20 +00:00
Daniel Stenberg
bd7ba3bde6
this code uses no long long, so we can have warnings about them
2004-02-22 22:36:36 +00:00
Daniel Stenberg
0ffec4272a
the missing part of Gisle Vanem's connect-timeout fix for win32
2004-02-22 22:31:24 +00:00
Daniel Stenberg
ea4cd4d8aa
-Wno-format-nonliteral does not exist in my gcc 2.96, only use that with
...
newer versions
2004-02-21 16:56:01 +00:00
Daniel Stenberg
c7775c59bf
mention in --limit-rate that --speed-limit might ruin the limiting slightly.
2004-02-21 16:18:57 +00:00
Daniel Stenberg
243bd5bbb4
David Byron's fix to allow the speed-limit logic work even if you set
...
limit-rate. It does work on the expense of the rate limiter.
2004-02-21 15:08:21 +00:00
Daniel Stenberg
4bde770169
added some extra typecasts to prevent compiler warnings when converting
...
int to various types
2004-02-21 15:05:46 +00:00
Daniel Stenberg
9af7e46f72
inlcude krb4.h to get the proto for Curl_krb_kauth() to satisfy picky
...
compilers
2004-02-21 14:57:29 +00:00
Daniel Stenberg
7d844c430c
Gisle Vanem brings name resolving timeout possibilities to windows people.
...
This works by magicly starting up a new thread that can be killed when the
timeout is reached. testtesttest!
2004-02-20 16:41:50 +00:00
Daniel Stenberg
4f953b6459
that icc attempt in configure
2004-02-20 16:29:57 +00:00
Daniel Stenberg
44995d6877
Some compilers warn on completely empty source files, we provide a blank
...
one to prevent that.
2004-02-20 16:22:47 +00:00
Daniel Stenberg
2ebc821558
Convert functions to ANSI-style declaration to prevent compiler warnings
2004-02-20 16:18:26 +00:00
Daniel Stenberg
907bb78f3e
When the built-in manual is disabled, we generate a function doing nothing
...
just to avoid making a totally empty file. Just to avoid compiler warnings.
2004-02-20 15:39:37 +00:00
Daniel Stenberg
b2e1bf7e7d
No longer support Z as a flag to print size_t, it isn't used by libcurl
...
and I doubt anyone else uses it.
Better preprocessor magic for the O flag (for curl_off_t printing) to prevent
compiler warnings.
2004-02-20 15:16:31 +00:00
Daniel Stenberg
7173a0f7b6
cool.haxx.se, no longer sourceforge
2004-02-20 13:09:35 +00:00
Daniel Stenberg
a49bebc74e
Only use -Wstrict-prototypes with gcc 3.3 or later.
...
It is working with earlier versions, but when I use it with 3.0.3, I can't
get it to ignore errors in "system headers" with -isystem so we get
excessive amounts of warnings on SSL headers which is very annoying.
2004-02-20 10:11:50 +00:00
Daniel Stenberg
8777ba7e42
include sys/select.h to prevent picky compiler warnings when using select()
...
without proto
2004-02-20 08:51:43 +00:00
Daniel Stenberg
a39669198f
we call the macro CURLMAX() isntead of MAX(), just because it turned up
...
it collides with another MAX define on some platforms (like netbsd 1.6.1)
2004-02-20 08:47:23 +00:00
Daniel Stenberg
2c0c75e345
oops, missed a define when I changed from Curl_ to curlx_
2004-02-20 07:22:25 +00:00
Daniel Stenberg
236337ce86
fix protos to prevent warnings
2004-02-20 07:19:18 +00:00
Daniel Stenberg
224ccc780a
added getpart.h for the spitout() proto
2004-02-20 07:19:01 +00:00
Daniel Stenberg
ccde85d198
%HTTPPORT supported in subVariables
2004-02-20 07:14:58 +00:00
Daniel Stenberg
9e7657d6ed
mention what ports the test suite uses
2004-02-20 07:05:10 +00:00
Daniel Stenberg
7ac455fca3
When trying to see if there's a friendly http server on "our" port, we
...
only accept return code 7 to indicate that there's no server present.
2004-02-20 06:59:17 +00:00
Daniel Stenberg
e295cd759c
-Wcast-align is a bit too annoying
2004-02-19 21:34:52 +00:00
Daniel Stenberg
a472cd9310
Anything that looks like gcc 5.0 or more is no longer treated as gcc. I hope
...
this will make us exclude icc 8.0 etc.
2004-02-19 21:32:19 +00:00
Daniel Stenberg
8794cb286b
refer to FILEFORMAT
2004-02-19 21:21:12 +00:00
Daniel Stenberg
455b1af214
When --enable-debug is used, for every -I provided to $CPPFLAGS we add
...
a corresponding -isystem, if using gcc, to inhibit warnings on those
headers.
2004-02-19 19:25:11 +00:00
Daniel Stenberg
d765a00adb
Tor Arntsen's tiny fix!
2004-02-19 16:24:22 +00:00
Daniel Stenberg
de37308722
if not yacc or bison is found, check if we *really* need it, and if we do
...
we bail out!
2004-02-19 15:58:58 +00:00
Daniel Stenberg
7729c63be0
fixed the no-ssl version to return int as well
2004-02-19 15:39:06 +00:00
Daniel Stenberg
eebcf90942
provide protos to the functions to prevent warnings
2004-02-19 13:03:04 +00:00
Daniel Stenberg
fa8ecd3d53
typecast the type to an int on return
2004-02-19 13:00:33 +00:00
Daniel Stenberg
134cb66129
return int from test()
2004-02-19 13:00:05 +00:00
Daniel Stenberg
349a15b089
provide a test() proto
2004-02-19 12:59:57 +00:00
Daniel Stenberg
c14fa2c935
use a die and a log function to die and log texts
...
better detect test suite failures
remove the buildlog at exit
make a random buildlog file name, now in the same dir where the build dir
is created
checks if the ares build succeeded
2004-02-19 12:56:45 +00:00
Daniel Stenberg
6ca7af3419
remove the build.log too at exit, and also use the proper $pwd prefix
...
to find the files/dirs to remove so that it still works if we "die" after
having done a 'cd'
2004-02-19 12:10:07 +00:00
Daniel Stenberg
afa5924487
very minor phrase edit
2004-02-19 10:21:54 +00:00
Daniel Stenberg
bd63a557f3
fixes from the recent days
2004-02-19 10:21:43 +00:00
Daniel Stenberg
49aa798082
check for standard headers when --enable-debug is used
2004-02-19 09:33:59 +00:00
Daniel Stenberg
c6e5b67197
Doug Porter's patch that changes the order of preferences on how to find the
...
default netrc file. We now read and uses HOME _before_ we use getpwuid() to
better allow users to move around HOME to use different .netrc files without
having to rely on even blacker magic.
2004-02-19 09:22:00 +00:00
Daniel Stenberg
e7050f97c4
If --enable-debug is used and gcc, we figure out which version and then we
...
use as aggressive warning options as possible for the used compiler version.
2004-02-19 09:01:13 +00:00
Daniel Stenberg
b28f3d43bf
item 19 is considered fixed until we get to hear differently
...
item 25 is now dealt with using the curlx_ prefix, mentioned in detail here:
http://curl.haxx.se/mail/lib-2004-02/0215.html
2004-02-19 08:19:21 +00:00
Daniel Stenberg
edd467a12c
Use the strtoofft.h header file from the lib directory, as we are now
...
officially using library-code when building the app (at least for the platforms
that don't have a strtoll() on their own).
2004-02-19 08:13:20 +00:00
Daniel Stenberg
0bf1bd51c4
Remade to use curlx_-prefix. This means this function can be compiled and
...
linked separately by the application. This function is not provided by the
libcurl API. It can only be accessed by apps if they compile and use this
particular source code.
2004-02-19 08:12:13 +00:00
Daniel Stenberg
4cf70e3069
AIX and Tru64 have what Tor calls "horribly broken 'which' programs" so we
...
now scan the PATH ourself to find the path to (g)libtool
2004-02-18 16:16:13 +00:00
Daniel Stenberg
9efddfedab
removed some "jhrg" from comments
2004-02-18 15:28:56 +00:00
Daniel Stenberg
4b11e19f26
I removed the socklen_t requirement from memdebug.h, so we don't need to
...
figure it out here anymore to build debug builds.
2004-02-18 12:26:27 +00:00
Daniel Stenberg
de681d3b8f
Made curl_accept() take a 'void *' instead of 'socklen_t *' in the 3rd
...
argument to also not force the casual includer to know about the socklen_t
type.
2004-02-18 12:22:56 +00:00
Daniel Stenberg
f33be3c313
Modified curl_accept() to take a 'void *' in the 2nd argument instead of
...
sockaddr *. This has the added benefit that source files that include
memdebug.h doesn't have to know about "sockaddr".
2004-02-18 12:18:33 +00:00
Daniel Stenberg
62a12b7faf
No longer uses the 'ret' variable in the plain ipv4-version of
...
my_getaddrinfo() (caused a warning by the IRIX MIPSPro compiler). Also
clarified the situation for the 3-arg version of gethostbyname_r() with a huge
comment.
2004-02-18 10:05:17 +00:00
Daniel Stenberg
e75ab79bdb
The --enable-debug option really requires this to be built as part of curl.
...
When using it, we now set the include path to better find the devel curl
headers, and we check for the socklen_t type since the curl memdebug stuff
needs it.
2004-02-18 09:07:50 +00:00
Daniel Stenberg
abd7e32c66
simplified and better commented config.h include logic
2004-02-18 08:35:51 +00:00
Daniel Stenberg
e2b6a45cfa
Make sure dns cache timeout -1 really means forever, as it is documented to
...
be. Simply skip the pruning.
2004-02-18 07:56:18 +00:00
Daniel Stenberg
e0c0b2ba7d
fix the help text for --manual if built without manual
2004-02-17 13:46:00 +00:00
Daniel Stenberg
debbcf81bb
ignore more
2004-02-17 07:57:31 +00:00
Daniel Stenberg
8300a880cc
memdebug build, 'make' no longer builds the demo tools
2004-02-17 07:41:10 +00:00
Daniel Stenberg
420bbd2e08
'make all' also builds the demos
2004-02-17 07:40:46 +00:00
Daniel Stenberg
d87981e4c1
include ares_private.h to make sure we get the memdebug stuff included
2004-02-17 07:40:31 +00:00
Daniel Stenberg
59091fa860
If CURLDEBUG is set we use the libcurl internal memdebug system to track
...
memory leaks etc.
2004-02-17 07:40:02 +00:00
Daniel Stenberg
dc659ec736
only build adig and ahost if 'make demos' is used
2004-02-16 16:27:18 +00:00
Daniel Stenberg
09aa165942
support closesocket() for closing sockets as well, as then we can use this
...
code fine on ares!
2004-02-16 16:24:01 +00:00
Daniel Stenberg
f2fbb5f3d5
Make realloc() support NULL as pointer. Made to allow us to use these routines
...
to memdebug the ares stuff as well.
2004-02-16 16:23:19 +00:00
Daniel Stenberg
29bedfcf7f
item 24 fixed, edited a few issues
2004-02-16 15:27:40 +00:00
Daniel Stenberg
ccdaa0b51f
Make the 'areschannel' get created in the curl_easy_init() and re-use that
...
same channel during the whole curl handle's life until curl_easy_cleanup().
2004-02-16 15:24:22 +00:00
Daniel Stenberg
f516734941
updates
2004-02-16 13:36:08 +00:00
Daniel Stenberg
d53d33698c
verbose-fix, socks5-fix, dnscache-fix, configure-winmmlib-fix
2004-02-16 13:33:41 +00:00
Daniel Stenberg
39926181ea
Fix verbosconnect() when ipv6-enabled to not assume that conn->serv_addr
...
is a valid pointer, but instead always depend on the passed-in dns pointer.
This happens to be NULL when the connection is re-used...
2004-02-16 13:14:55 +00:00
Daniel Stenberg
8415b4a271
removed usage of a silly macro instead of the actual functions memcpy
...
and memset
2004-02-16 09:56:18 +00:00
Daniel Stenberg
e4916145ef
Jeff Lawson pointed out that we need to check for a '5' in the version field
...
to properly work with SOCKS5 proxies. I also included some ascii art describing
the SOCKS5 response, as RFC1928 describes. Jeff provided details in bug
report #741841 and here: http://curl.haxx.se/mail/lib-2004-02/0181.html
2004-02-16 07:33:30 +00:00
Daniel Stenberg
3ec605de67
Andrs Garca added a check for lwinmm for Mingw/sys
2004-02-15 22:34:58 +00:00
Daniel Stenberg
a7e04cac78
Mark the dns entry 'inuse' properly even when used from the cache. This
...
seems to correct some host cache screw-ups I could reproduce.
2004-02-15 16:57:53 +00:00
Daniel Stenberg
8ddc18a4f9
another case which should use CURLcode and not int
2004-02-15 13:58:57 +00:00
Daniel Stenberg
0d3aa8b7be
Use the was_iface variable when binding a socket locally, even if no
...
SO_BINDTODEVICE is present, to prevent compiler warnings about the variable
2004-02-15 13:55:24 +00:00
Daniel Stenberg
496bbceef1
bind interface and large file fixes
2004-02-15 13:51:07 +00:00
Daniel Stenberg
901edd32b5
recent fixes
2004-02-15 13:50:04 +00:00
Daniel Stenberg
0612c275a7
(void) functions we don't check the return code for
2004-02-15 13:48:50 +00:00
Daniel Stenberg
f3d91528a1
CURLcode/int cleanup to reduce IRIX warnings
...
Removed some dates/names in the comments.
2004-02-15 13:48:28 +00:00
Daniel Stenberg
f7fae23546
spell!
2004-02-15 13:47:32 +00:00
Daniel Stenberg
2d41efb71e
don't assume we can use gcc 2.96+ options
2004-02-15 12:30:40 +00:00
Daniel Stenberg
7abf2f44ec
in the socks code, make sure we receive Curl_read results in ints and
...
Curl_write in CURLcode, to keep the picky compilers happy
2004-02-13 12:42:37 +00:00
Daniel Stenberg
3a36d4fdea
removed usage of unset variables (by a function that does nothing!)
2004-02-13 12:28:27 +00:00
Daniel Stenberg
12b71e422f
return an int
2004-02-13 12:18:34 +00:00
Daniel Stenberg
d25a0a1bc8
return an int, not a CURLcode
2004-02-13 12:17:42 +00:00
Daniel Stenberg
4d17e77532
use CURLcode, not int, prevents picky compilers to warn
2004-02-13 12:16:24 +00:00
Daniel Stenberg
6a921197e2
the now and start variables were never really used
2004-02-13 12:13:30 +00:00
Daniel Stenberg
fa57a8a78e
Ben Greear's SO_BINDTODEVICE patch that binds to a network interface "even
...
more" when the previous approach. Known to work on Linux, possibly on other
platforms as well.
2004-02-13 09:50:23 +00:00
Daniel Stenberg
eb4d65d0ba
Tor Arntsen made the ares build warnings etc get included as well
2004-02-13 07:15:36 +00:00
Daniel Stenberg
e7d9ea8919
Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file!
2004-02-13 07:12:40 +00:00
Daniel Stenberg
372b141d5b
make the path const
2004-02-13 07:05:15 +00:00
Daniel Stenberg
115e74a8ad
I made the same fix here, that Tor already did in the ftp.c code. To make
...
sure this doesn't get weird on 64bit archs.
2004-02-13 07:03:03 +00:00
Daniel Stenberg
1b26fe39f9
Tor Arntsen's fix for the bad (64bit wise) typecast when using gmtime()
2004-02-13 06:59:49 +00:00
Daniel Stenberg
4674f3f115
Make hostcache_fixoffset() take a long for offset, to fully work with 64bit
...
archs, also no longer typecast pointers to ints as that is a nono on 64bit
systems.
2004-02-12 16:02:55 +00:00
Daniel Stenberg
d8a1415646
up to date with recent fixes
2004-02-12 15:50:38 +00:00
Daniel Stenberg
773e7e871e
If no nroff tool is found, or if no command line switch to nroff that converts
...
a man page to text is found, we disable the built-in manual stuff to still
be able to build.
2004-02-12 15:05:38 +00:00
Daniel Stenberg
1d937d62c0
support configure --disable-manual
2004-02-12 14:46:12 +00:00
Daniel Stenberg
f3663a9d0f
added --enable/disable-manual
2004-02-12 14:45:50 +00:00
Daniel Stenberg
199b2f4602
no need to run make test in the data dir anymore
2004-02-12 14:43:13 +00:00
Daniel Stenberg
49ab1d914c
provide a source path to the servers to make them find the tests when run
...
outside the source dir, not needing any symlinks
2004-02-12 14:40:08 +00:00
Daniel Stenberg
f9a6e7b68d
stop doing the weirdo symlinks
2004-02-12 14:39:28 +00:00
Daniel Stenberg
5d64d657de
removed the subchar variable, it was only set and never used
2004-02-12 09:53:03 +00:00
Daniel Stenberg
52caba0417
removed the ldaptext variable, it was only set and never used
2004-02-12 09:51:43 +00:00
Daniel Stenberg
ad1a70205f
removed the nth variable, it was only set and never used anyway
2004-02-12 09:50:44 +00:00
Daniel Stenberg
d57eed6f22
No longer receive the return code in ConnectionKillOne() that wasn't dealt
...
with anyway and thus caused picky compiler to warn.
2004-02-12 09:48:27 +00:00
Daniel Stenberg
a3d39efa3b
Andrs Garca's additional fix to make the OpenSSL stuff work for msys/mingw
2004-02-11 21:14:54 +00:00
Daniel Stenberg
50efb8f33e
#if-check for SIGALRM before assuming it is present
2004-02-11 21:11:08 +00:00
Daniel Stenberg
ad75360ec7
use libtoolize --force to overwrite existing (older) files
2004-02-11 13:08:38 +00:00
Daniel Stenberg
7f29bf61e2
install ares_version.h as well
2004-02-11 12:59:16 +00:00
Daniel Stenberg
9ca395fded
Dirk Manske's fix to install ares_version.h as well
2004-02-11 12:58:43 +00:00
Daniel Stenberg
68e140b2eb
mondays are busy days catching up with the patches from the weekend! ;-)
2004-02-09 16:16:05 +00:00
Daniel Stenberg
283f68f660
Dominick Meglio's update
2004-02-09 13:51:52 +00:00
Daniel Stenberg
e6947f99ed
recent updates
2004-02-09 13:41:24 +00:00
Daniel Stenberg
93e32e6f62
Modified the default HTTP Accept: header to only be Accept: */*
2004-02-09 12:46:41 +00:00
Daniel Stenberg
f8a5ec1380
Removed, this was only used to work out what went wrong with test 91, and
...
we seem to have nailed that one now!
2004-02-09 11:41:07 +00:00
Daniel Stenberg
2d0b2f294f
Oops. I broke the flow with the previous commit.
2004-02-09 11:40:00 +00:00
Daniel Stenberg
08e286ed68
P R Schaffner updated this to work for 7.11.0
2004-02-09 10:24:55 +00:00
Daniel Stenberg
220caed248
Dominick Meglio's added share interface documentation
2004-02-09 09:07:26 +00:00
Daniel Stenberg
6eb0b5b917
removed the state file renaming I accidentally left there
2004-02-09 08:55:33 +00:00
Daniel Stenberg
3bdc883c93
some annoying compilers warn about "(void)foo;" lines so we avoid them
2004-02-09 08:34:19 +00:00
Daniel Stenberg
cc85f813d1
Make param2text() take an int argument, as that is what's being passed in.
...
This is made to prevent compiler warnings.
2004-02-09 08:31:52 +00:00
Daniel Stenberg
e723d2eb7c
use VAR_NONE instead of 0 in the table to prevent compiler warning
2004-02-09 08:29:09 +00:00
Daniel Stenberg
b440c6638f
return 'res' to better discover test failures and to stop compiler warnings
...
about it never being used
2004-02-09 08:28:00 +00:00
Daniel Stenberg
648c5b05c0
Uninitialized variable set.
2004-02-09 08:25:48 +00:00
Daniel Stenberg
011929cf4d
Tor Arntsen's patch for working around a notorious bug in the AIX5
...
getaddrinfo() implementation.
2004-02-09 07:52:36 +00:00
Daniel Stenberg
7f679c3da3
Ken Rastatter's fixes to improve portability of this example:
...
These minor changes remove portability issues with the this example and allow
it to run on Win32. Specifically:
* The use of pthread_create() has been replaced by g_thread_create(). This
removes the dependency on the pthreads library. Since this is an example using
GTK+, g_thread_create() is available as it is a part of glibc.
* The CURLOPT_FILE option is now referred to by its "newer name"
CURLOPT_WRITEDATA.
* The use of CURLOPT_WRITEFUNCTION has been added. As described in the docs,
this avoids the crashes when using a DLL under Win32.
* The output file has been renamed from "/tmp/test.curl" to "test.curl". It's
unlikely that there is a /tmp when in Win32 and other examples in libcurl
write their output files to the working directory.
2004-02-09 07:12:33 +00:00
Daniel Stenberg
3e4cd0b422
mingw configure fix, host: fix, compiler warnings in ldap.c
2004-02-06 14:27:08 +00:00
Daniel Stenberg
fc4f777b42
updated with recent fixes
2004-02-06 14:23:10 +00:00
Daniel Stenberg
208a31f549
The Curl_strtoll() issue
2004-02-06 14:17:30 +00:00
Daniel Stenberg
e565631afe
updated
2004-02-06 13:42:49 +00:00
Daniel Stenberg
9f2780a2ee
Rewrote the gethostbyname() check after Andrs Garca's provided patch
...
for finding it using mingw on windows.
I also made the script skip the search for gethostbyname_r and gethostbyaddr_r
when ipv6 is enabled.
2004-02-06 12:13:20 +00:00
Daniel Stenberg
1a6969a887
Added documentation of a few command line options that were still undocumented
...
here.
2004-02-06 10:17:13 +00:00
Daniel Stenberg
f56d753507
A custom Host: header is only considered if the request is not made by
...
following a location. After discussions with Tim Baker.
2004-02-06 08:11:58 +00:00
Daniel Stenberg
e5165af5a6
The MIPSPro compiler complains on constructs such as "(void)foo;" so
...
we avoid it where possible.
2004-02-06 07:59:16 +00:00
Daniel Stenberg
83e878420a
Make sure DynaGetFunction() returns a function pointer, not a data pointer.
...
The standards don't actually allow typecasts between data and functions so
some picky compilers warn about this.
2004-02-06 07:28:49 +00:00
Daniel Stenberg
58a5f485db
Remove the attempt to detect if we already tested the same source setup.
...
We really don't care, and so many other things could've changed to make the
new test interesting anyway.
2004-02-06 07:15:27 +00:00
Daniel Stenberg
e8fb77fac3
numerous things went in today
2004-02-05 21:52:53 +00:00
Daniel Stenberg
d292088a83
added the missing stdin section
2004-02-05 21:51:45 +00:00
Daniel Stenberg
de100f8b51
An attempt to only set both libz-related defines at the same time. We need
...
both the lib and the header present for both defines to be set. If only one
of the files is found, we issue a warning and set no define.
2004-02-05 21:40:05 +00:00
Daniel Stenberg
1cb2306ae0
Andrs Garca's updates
2004-02-05 21:03:53 +00:00
Daniel Stenberg
cc90a235f4
if an empty 'transfer-encoding:' header is provided, we switch off the
...
chunky coding of uploads
2004-02-05 15:50:16 +00:00
Daniel Stenberg
e97ce57d0b
Made a test that sends data on stdin to PUT, with a given length and
...
chunked transfer-encoding disabled. Fixed to work after Len Krause's
bug report.
2004-02-05 15:21:46 +00:00
Daniel Stenberg
dc753b8315
Gisle Vanem fixed a windows compiler warning
2004-02-05 13:25:14 +00:00
Daniel Stenberg
a5c4442ebf
changed the test() function to return type int
2004-02-05 12:34:17 +00:00
Daniel Stenberg
a271cfb697
include process.h to get the _getpid() proto
2004-02-05 12:19:13 +00:00
Daniel Stenberg
6dffe9702d
when using --enable-debug and gcc, provide the -Wno-format-nonliteral option
...
to prevent the warning in mprintf.c:
(currently line 930) "format not a string literal, argument types not checked"
2004-02-05 10:38:32 +00:00
Daniel Stenberg
f71139750d
options we get as longs need to be typecasted when assigned to prevent
...
picky compiler warnings
2004-02-05 09:38:56 +00:00
Daniel Stenberg
690b3e58b2
fix return type to silence compiler warnings
2004-02-05 09:38:10 +00:00
Daniel Stenberg
0c7cb0c10f
prevent warning from that picky MIPSpro compiler
2004-02-05 09:37:46 +00:00
Daniel Stenberg
4816294f52
compiler warning fix, compare struct pointers of the same type
2004-02-05 09:37:04 +00:00
Daniel Stenberg
6587ff440a
use the timeout options when waiting for the server to connect when using
...
PORT
Provide better error messages to allow debugging if one if the ipv6-related
name functions fail in the ftp_use_port() function. This might help us
diagnose the problems on AIX. Also make sure getaddrinfo() uses NULL and
not "0" for the service argument.
2004-02-05 09:26:01 +00:00
Daniel Stenberg
791e49134b
hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen
2004-02-05 08:34:31 +00:00
Daniel Stenberg
9254c3a103
Fix the socklen_t type too. Needed only when built with memory debugging
...
as then we include the memdebug.h header from the lib dir, and it then
requires this type... (fails on IRIX 6.5 without this)
2004-02-05 08:27:47 +00:00
Daniel Stenberg
9c95ebcbe7
fixed "comparison between signed and unsigned" complaints
2004-02-04 10:24:23 +00:00
Daniel Stenberg
3a4ed71b88
don't use 'sin' as variable name as the picky compiler warnings complain
...
about it shadowing the function sin()
2004-02-04 10:23:15 +00:00
Daniel Stenberg
d6d312d550
fixing
2004-02-04 09:16:05 +00:00
Daniel Stenberg
1fa163fdf7
prevent a compiler warning about a macro definition
2004-02-04 08:04:28 +00:00
Daniel Stenberg
82b27d1b97
prevent the windows version to use global symbol names
...
added prototypes for the strcasecmp() functions
2004-02-04 08:00:25 +00:00
Daniel Stenberg
f7dee3b846
we use the more aggressive compiler warnings
2004-02-04 07:54:42 +00:00
Daniel Stenberg
a7b5045598
made more pointers unsigned, as they were mostly used passed in to functions
...
that assume them to be unsigned. Stops compiler warnings.
2004-02-04 07:52:13 +00:00
Daniel Stenberg
b7fda8ec73
typecast comparision between signed and unsigned
2004-02-04 07:51:30 +00:00
Daniel Stenberg
3d7f4c0d77
try_config() takes a second parameter as const, to prevent picky compiler
...
warnings
2004-02-04 07:50:51 +00:00
Daniel Stenberg
01771e50a1
takes a void *, not a char * anymore
2004-02-04 07:50:18 +00:00
Daniel Stenberg
c23cf6a058
ares_free_string() now takes a void * instead
2004-02-04 07:49:33 +00:00
Daniel Stenberg
79f9914af8
don't compare signed and unsigned
2004-02-04 07:48:46 +00:00
Daniel Stenberg
803fb123cb
added a tags target
2004-02-04 07:48:20 +00:00
Daniel Stenberg
97728f5b1c
new configure file
2004-02-04 07:48:00 +00:00
Daniel Stenberg
36d5f30b8c
use configure.ac instead of configure.in
...
support --enable-debug to switch on picky compiler options
2004-02-04 07:47:04 +00:00
Daniel Stenberg
e82a575894
stop a compiler warning
2004-02-04 07:40:25 +00:00
Daniel Stenberg
773a8fe598
no one uses libcurl before 7.7 anyway...
2004-02-03 15:59:06 +00:00
Daniel Stenberg
fa1c0d4a56
libcares.a is here
2004-02-03 14:06:16 +00:00
Daniel Stenberg
7e01548d46
link with libcares instead of libares
2004-02-03 13:58:38 +00:00
Daniel Stenberg
14b36a8cba
We now produce 'libcares.a' instead, to make it possible to have both c-ares
...
and the original ares installed in the same lib dir.
2004-02-03 13:58:08 +00:00
Daniel Stenberg
1089d91e77
the configure and memdebug fixes of yday
2004-02-03 10:07:26 +00:00
Daniel Stenberg
556b68f44e
the unused quit-function didn't pass a correct variable type to the
...
response reading function
2004-02-03 09:52:32 +00:00
Daniel Stenberg
3f37ae471d
add link to the new cares web site
2004-02-03 09:40:19 +00:00
Daniel Stenberg
9f4e682ca9
added notes about incompatible functions
2004-02-03 09:16:40 +00:00
Daniel Stenberg
5fc8d4da45
adjusted to the new single-parameter version of this function
2004-02-03 08:58:10 +00:00
Daniel Stenberg
4af66b70fc
removed odd newline
2004-02-03 08:47:26 +00:00
Daniel Stenberg
95dd343244
added the missing ares numerical version initialiser
2004-02-03 06:39:37 +00:00
Daniel Stenberg
e449aab0af
modified *strerror()
2004-02-03 06:38:38 +00:00
Daniel Stenberg
3a0192bea6
Use the nroff option figured out by the configure script. An attempt to
...
make this better on more systems.
2004-02-02 22:39:37 +00:00
Daniel Stenberg
37685848d1
try to figure out if -man or -mandoc works to get text with the NROFF
...
utility
2004-02-02 22:39:04 +00:00
Daniel Stenberg
0412a201a3
undef accept before defining it, since AIX 5.2 has it as a define!
2004-02-02 21:34:01 +00:00
Daniel Stenberg
ca522d4787
more test91 tweaks and some c-ares stuff
2004-02-02 16:29:58 +00:00
Daniel Stenberg
c2967c3c39
now provides c-ares version info in both version calls
2004-02-02 16:24:41 +00:00
Daniel Stenberg
70d7a9e6a5
Introducing the SECOND version of the version_info struct. This should
...
be backwards compatible with older libcurls just fine.
2004-02-02 16:24:18 +00:00
Daniel Stenberg
462d1c5231
use the new single-argument ares_strerror()
2004-02-02 16:15:58 +00:00
Daniel Stenberg
886391d145
adjusted to the modified ares_strerror() function
...
NOTE that this breaks ares-compatibility, we have now officially taken the
turn into the c-ares path. We will now officially depend on c-ares for asynch
name resolves.
2004-02-02 16:00:31 +00:00
Daniel Stenberg
1442fab4b6
remove rcsid stuff from c files, it serves no useful purpose
2004-02-02 15:59:35 +00:00
Daniel Stenberg
aa93e2e638
removed the silly second argument to ares_strerror()
...
This breaks the API and ABI with the existing ares library. We hereby require
the upcoming c-ares 1.0 for asynch name resolves!
2004-02-02 15:59:12 +00:00
Daniel Stenberg
e1d541086c
Dirk Manske fixed the ares usage even more. We could get a timeout from ares
...
as well, and when failing and not getting a timeout we now include the
error message ares can provide us with.
2004-02-02 15:53:50 +00:00
Daniel Stenberg
3b0f52205d
mention mpe/ix
2004-02-02 15:34:09 +00:00
Daniel Stenberg
b84eaff1d5
set the 'retry' bit to TRUE when the connection is about to be retried,
...
this allows the HTTP code to *not* return a failure just because no data
has been received from the server
2004-02-02 14:49:54 +00:00
Daniel Stenberg
9eb6fc1fb6
clear the sockerror if no error was returned
2004-02-02 14:49:10 +00:00
Daniel Stenberg
253f5f1a9a
ares resolve timeout and ca bundle include fixes
2004-02-02 12:46:58 +00:00
Daniel Stenberg
dd1f495c2f
we include errno.h to truly know if we have ECONNRESET or not
2004-02-02 11:59:42 +00:00
Daniel Stenberg
12fa877f00
Timeout slow ares name lookups. This is based on the patch brought by
...
Dirk Manske, but modified by me.
2004-02-02 10:15:22 +00:00
Daniel Stenberg
580a2fe72b
when including ca-bundle.h, don't look in the current dir first, simply use
...
the search path since we want the build-version rather than the one in the
source dir
2004-02-02 10:13:54 +00:00
Daniel Stenberg
7f0ec86769
fixed the win32 function to use the correct proto, as pointed out by Gisle
...
Vanem
2004-02-02 07:24:30 +00:00
Daniel Stenberg
5e69ca0ebd
test case 97
2004-02-02 07:21:21 +00:00
Daniel Stenberg
b6592e29a4
added test 97, a simple test with -d post and a replacede content-type
...
header using -H
2004-02-02 07:13:29 +00:00
Daniel Stenberg
4cba2ea1ad
attempt to fix the notorious test 91 failures
2004-01-30 12:43:49 +00:00
Daniel Stenberg
14cb9d296c
make sure the connection is closed when it was detected reset!
2004-01-30 12:41:27 +00:00
Daniel Stenberg
df750c236c
Somewhat crude attempt at fixing the test 91 failures. I commit this now
...
so that the automatic testing hosts will test these changes over the weekend.
2004-01-30 12:08:18 +00:00
Daniel Stenberg
154c9bc3b8
hide the grep result
2004-01-30 09:48:55 +00:00
Daniel Stenberg
508ad2c92f
catching up with reality
2004-01-30 09:31:44 +00:00
Daniel Stenberg
36a90aeaec
test case 510, mpeix fix
2004-01-30 09:31:23 +00:00
Daniel Stenberg
f385b1976e
when we receive a request overflow, we still dump the incoming request to
...
the dump file to make it easier to understand and debug the situation
2004-01-30 09:27:27 +00:00
Daniel Stenberg
3d99b566a6
added lib510.c for callback POST using chunked encoding
2004-01-30 09:26:23 +00:00
Daniel Stenberg
99a3e2d769
added test 510, callback-based POST using chunked encoding
2004-01-30 09:25:45 +00:00
Daniel Stenberg
aaa42735e6
--socks
2004-01-30 08:54:00 +00:00
Daniel Stenberg
50c80a49cc
Added --socks
2004-01-30 08:51:24 +00:00
Daniel Stenberg
6b7f169b10
only do the verifyconnect() clear magic on mpeix
2004-01-30 07:51:51 +00:00
Daniel Stenberg
01e3bb98b5
the thread and SSL issue is now fixed
2004-01-29 16:17:51 +00:00
Daniel Stenberg
7052598e59
note about the need for extra functions set to OpenSSL if you use OpenSSL
...
multi-threaded
2004-01-29 16:17:25 +00:00
Daniel Stenberg
ab52e20832
update with recent info
2004-01-29 16:00:10 +00:00
Daniel Stenberg
f50678eda7
don't include config.g in src/hugehelp.c unless HAVE_CONFIG_H is defined
2004-01-29 15:48:27 +00:00
Daniel Stenberg
3ded81188b
ares fix, warnings fixed, mpeix fixes
2004-01-29 15:41:56 +00:00
Daniel Stenberg
a435151735
check for sys/ioctl.h as well
...
added commented more aggressive compiler options for gcc, subject to be used
instead of the current ones when --enable-debug is used
2004-01-29 15:38:27 +00:00
Daniel Stenberg
bfe5568c85
added verifyconnect proto and use it correctly in the waitconnect function
2004-01-29 15:37:21 +00:00
Daniel Stenberg
7e45a1ac53
moved the definitions of IOCTL_3_ARGS to setup.h
2004-01-29 15:35:42 +00:00
Daniel Stenberg
76a51ef4b3
1. changed order of two include files to build fine on MPE/iX
...
2. now reads the socket error before check connect status, also to make us
run fine on MPE/iX
2004-01-29 15:29:47 +00:00
Daniel Stenberg
fc7c4d6157
Ken Hirsch says he basicly needs all 'mv' to be 'mv -f' for configure to
...
run in a sane manner on his MPE/iX operating system.
2004-01-29 15:28:53 +00:00
Daniel Stenberg
4d17d6876e
Dan Fandrich's cleanup patch to make pedantic compiler options cause less
...
warnings. Minor edits by me.
2004-01-29 13:56:45 +00:00
Daniel Stenberg
0d6236f7e1
make pedantic compiler options generate less warnings
2004-01-29 13:54:08 +00:00
Daniel Stenberg
0e4e72f193
added hugehelp.h
2004-01-29 13:53:34 +00:00
Daniel Stenberg
107413c021
nonsence change to make -Wunreachable-code get happy
2004-01-29 13:49:41 +00:00
Daniel Stenberg
d7579087f2
use hugehelp.h to silence picky compiler warnings
2004-01-29 13:48:36 +00:00
Daniel Stenberg
3415ac3866
documented ares_version()
2004-01-29 12:07:48 +00:00
Daniel Stenberg
d50b209a7a
return a const char *
2004-01-29 12:07:34 +00:00
Daniel Stenberg
62e0f10eba
use the name 'c-ares' for this package
2004-01-29 11:33:31 +00:00
Daniel Stenberg
0b2b7439fe
include the new README.cares
2004-01-29 11:33:16 +00:00
Daniel Stenberg
edcd1981ea
point out that this is a forked project, all c-ares specific stuff is now
...
in README.cares
2004-01-29 11:32:45 +00:00
Daniel Stenberg
ada9a9f4a1
c-ares specific README, leaving most of the original README as-is
2004-01-29 11:32:24 +00:00
Daniel Stenberg
1c0e4f1178
cut off the initial blurb, moved that to README.cares
2004-01-29 11:32:01 +00:00
Daniel Stenberg
663d2080d1
Dirk Manske fixed a flaw in the setting of the socket to non-blocking
2004-01-29 11:23:36 +00:00
Daniel Stenberg
e5641a33bb
updates
2004-01-29 11:21:37 +00:00
Daniel Stenberg
9b24c9a754
adjusted to the corrected chunked transfer-encoding extra trailing CRLF
2004-01-29 07:43:56 +00:00
Daniel Stenberg
99b96d5446
verify that buildconf ran fine to allow it to continue
2004-01-29 07:29:28 +00:00
Daniel Stenberg
cf7817eb38
upload with chunked transfer encoding is now fixed
2004-01-28 21:44:45 +00:00
Daniel Stenberg
9bca9681ba
Gisle has eyes, I don't
2004-01-28 17:38:58 +00:00
Daniel Stenberg
958987c214
Chunked-transfers should have an additional CRLF after the final 0 CRLF
...
sequence.
2004-01-28 17:07:22 +00:00
Daniel Stenberg
ed75842df0
added the extra newline that this needs to succeed
2004-01-28 17:03:49 +00:00
Daniel Stenberg
f35398e414
send a connection: close in the initial reply to see if things differ
2004-01-27 13:35:55 +00:00
Daniel Stenberg
3b39cee785
number two is fixed!
2004-01-27 13:17:44 +00:00
Daniel Stenberg
dc932f739a
CONNECT response headers are now passed back as "regular" headers
2004-01-27 12:54:22 +00:00
Daniel Stenberg
7d15651115
don't advance the line pointer if it already points to the null terminator
2004-01-27 12:39:34 +00:00
Daniel Stenberg
e096072745
very big transfers now get nicer progress displayed after 9999 megabytes have
...
been transfered!
2004-01-27 12:25:37 +00:00
Daniel Stenberg
5d947e973e
display OK if it runs OK
2004-01-27 12:16:24 +00:00
Daniel Stenberg
2465ff991f
when saving in a cookie jar fails, include the file name in the error message
...
to make it easier to track down
2004-01-26 16:16:44 +00:00
Daniel Stenberg
d10a941d29
Removed two redundant #include files in the djgpp section. They're already
...
included. (a Dan Fandrich fix)
2004-01-26 07:55:16 +00:00
Daniel Stenberg
5a58d51993
the *_LARGE options work fine on windows in 7.11.1
2004-01-23 12:52:04 +00:00
Daniel Stenberg
142f40582f
things continue to happen
2004-01-23 12:51:27 +00:00
Daniel Stenberg
4227407438
Use Curl_strtoll() if needed. This is not a library call, this is just the
...
same code as the library uses for its internal function. Thus the captical
C in the beginning.
2004-01-23 12:50:53 +00:00
Daniel Stenberg
6e29f5d1df
use the Curl_strtoll() source code from the lib code
2004-01-23 12:49:53 +00:00
Daniel Stenberg
334c3df09d
Proxy username and password on persistant connections could easily get
...
messed up. Vincent Bronner detected this.
2004-01-23 08:36:03 +00:00
Daniel Stenberg
4120b7b0c0
check the arguments to the socks5 function, as the name and password might
...
be NULL pointers, and if non-NULL if now support zero-length names/passwords
2004-01-23 08:29:56 +00:00
Daniel Stenberg
fac1c13895
fixed the progress meter display for files >32 bit, Gisle Vanem reported
2004-01-23 08:02:12 +00:00
Daniel Stenberg
649caa1953
include curl.h for the typedef
2004-01-23 07:44:02 +00:00
Daniel Stenberg
d8ee927be2
define SIZEOF_CURL_OFF_T if not already defined
2004-01-23 07:41:05 +00:00
Daniel Stenberg
3efb90dd75
re-intended the code curl-style
2004-01-22 14:37:06 +00:00
Daniel Stenberg
e4c5653035
zlib fix for the help text, stroll usage on mingw/djgpp
2004-01-22 14:35:06 +00:00
Daniel Stenberg
ad7e26b140
return curl_off_t instead of long long, to work on more platforms
2004-01-22 14:31:46 +00:00
Daniel Stenberg
f39749cee4
Gisle Vanem fixed the compressed help text zlib code
2004-01-22 14:27:58 +00:00
Daniel Stenberg
87eb26a33d
it has strtoll
2004-01-22 14:25:54 +00:00
Daniel Stenberg
9a48ca69fc
Gisle Vanem's fix, mingw as strtoll
2004-01-22 14:25:19 +00:00
Daniel Stenberg
a259f66fa4
attempt to fix 64bit seeking for Windows, does it work?
2004-01-22 13:11:35 +00:00
Daniel Stenberg
83d77dc013
font-lock the curl_off_t type instead of the off_t
2004-01-22 12:48:48 +00:00
Daniel Stenberg
e36914a425
header file fixing
2004-01-22 12:46:55 +00:00
Daniel Stenberg
5bd0471315
use curl_off_t instead of off_t
2004-01-22 12:46:07 +00:00
Daniel Stenberg
b791e158f0
use curl_off_t instead of off_t!
2004-01-22 12:45:50 +00:00
Daniel Stenberg
6cd0a90b52
Instead of checking the off_t size, we use the source dir version of the
...
curl.h header and then check for the size of the curl_off_t type.
2004-01-22 12:01:59 +00:00
Daniel Stenberg
d5bb877fba
s/not/note
2004-01-22 11:56:39 +00:00
Daniel Stenberg
0c4907afcc
curl_off_t is the new type for large file support
...
HttpPost is not defined anymore
2004-01-22 11:54:39 +00:00
Daniel Stenberg
e5cd0cc402
use the proper type for formposts, not the deprecated one
2004-01-22 11:54:00 +00:00
Daniel Stenberg
252423a725
added the missing proto for the still unused quit function
2004-01-22 11:53:43 +00:00
Daniel Stenberg
eaddf3d198
mark the option better
2004-01-22 10:17:09 +00:00
Daniel Stenberg
a37a79c2a9
start working on 7.11.1
2004-01-22 09:40:30 +00:00
Daniel Stenberg
fadf077502
release time!
2004-01-22 09:15:49 +00:00
Daniel Stenberg
863c7c7282
no large files on windows just yet
2004-01-22 09:15:37 +00:00
Daniel Stenberg
3a85b187c6
updates
2004-01-21 09:22:23 +00:00
Daniel Stenberg
296ccc35d2
updated year
2004-01-21 08:52:59 +00:00
Daniel Stenberg
68826c25f8
removed Basic in the initial response to see if it makes any difference
...
in the failure frequency
2004-01-21 08:51:54 +00:00
Daniel Stenberg
5e2fcc1f74
use the proper timecond defines, not the obsolete ones I've removed! ;-)
...
The initial QUIT-sending code is added, but not yet used due to the issues
previously mentioned on the mailing list.
2004-01-21 08:50:08 +00:00
Daniel Stenberg
e262a7265a
use the proper timecond defines, not the obsolete ones!
2004-01-21 08:47:21 +00:00
Daniel Stenberg
945c6f7279
Byron's fixes
2004-01-21 08:45:34 +00:00
Daniel Stenberg
6ddec1f169
old timecond defines removed
2004-01-21 08:44:58 +00:00
Daniel Stenberg
9beae7693a
Removed defines with TIMECOND_ prefixes. They have been obsolte since April 22
...
2002, and if this causes anyone any problems now it is very easy to just
add CURL_ to the names. This corrects this name space pollution.
2004-01-21 08:39:54 +00:00
Daniel Stenberg
d204c62c39
clarified where VERBOSE output goes
2004-01-21 07:46:17 +00:00
Daniel Stenberg
13dd99842a
David Byron's --trace fix
2004-01-19 22:16:30 +00:00
Daniel Stenberg
2431b2caff
David Byron cleaned up how --trace with no option was treated, and also
...
arguments in a config file without a required parameter!
2004-01-19 22:15:59 +00:00
Daniel Stenberg
f44bc85545
two minor build quirks
2004-01-19 15:41:50 +00:00
Daniel Stenberg
52df162c2f
nothing left for 7.11.0, the remaining items were moved to 7.11.1 as planned
2004-01-19 15:41:28 +00:00
Daniel Stenberg
60787171c7
added this test, this is basicly a copy of test 91 but we return the first
...
response with a size 5 instead of size 0, to see if this has an impact on
the failure frequency - test 91 still fails occationally.
2004-01-16 12:40:42 +00:00
Daniel Stenberg
61e3d75def
Gisle Vanem's patch for variables that "might be used uninitialized"
2004-01-16 09:17:04 +00:00
Daniel Stenberg
27b7220f1b
silly me
2004-01-16 07:15:05 +00:00
Daniel Stenberg
a275365c72
Avoid Curl_if2ip() on Interix as well. Fix by Rodney.
2004-01-16 07:09:28 +00:00
Daniel Stenberg
80ef1bad86
removed unused stuff
2004-01-16 06:50:41 +00:00
Daniel Stenberg
686c70c5b5
use the %dk display for one extra k of progress
2004-01-15 13:08:12 +00:00
Daniel Stenberg
f94502ecba
automake 1.8 adjustment
2004-01-15 12:49:23 +00:00
Daniel Stenberg
4c70c3e820
Added escaping of the function name in the AC_DEFUN() macros, so that
...
automake 1.8+ stops complaining!
2004-01-15 12:48:13 +00:00
Daniel Stenberg
84990cb176
Peter Sylvester's CURLOPT_SSL_CTX_FUNCTION docs
...
I reworded some of the intial paragraphs to avoid 'NOTE2'
2004-01-15 10:38:08 +00:00
Daniel Stenberg
eabbb5331a
now compressed out of the box
2004-01-15 10:21:29 +00:00
Daniel Stenberg
898bf8bb0b
issue 22 (better compressed manual) is fixed
2004-01-15 10:20:17 +00:00
Daniel Stenberg
3d66d10fbe
check for limits.h as well
2004-01-15 10:19:49 +00:00
Daniel Stenberg
7052daf475
added missing parenthesis
2004-01-15 09:54:30 +00:00
Daniel Stenberg
846d203d31
spell-fixed a comment
...
now errors out if built with off_t > 32 bits but without strtoll()
2004-01-15 07:09:23 +00:00
Daniel Stenberg
7561cbda0a
clarified the recent fix, added cred
2004-01-14 09:16:47 +00:00
Daniel Stenberg
c5c89862b2
rearranged the connect() call so that there's no interleaved #ifdef, to make
...
it compiler better on amigaos
2004-01-14 09:11:42 +00:00
Daniel Stenberg
3a70d686ee
Curl_resolv fix
2004-01-14 09:07:24 +00:00
Daniel Stenberg
2d567af069
fixed the Curl_resolv()'s return code when the looked up host was already
...
in the cache (Vincent Bronner)
2004-01-14 09:05:54 +00:00
Daniel Stenberg
d2f7037ff7
HAVE_LIMITS_H
2004-01-14 07:47:55 +00:00
Daniel Stenberg
c3614fa6a3
Gisle Vanem updated the code for win32 and djgpp builds.
2004-01-14 07:42:10 +00:00
Daniel Stenberg
f1da9e508e
indented and formatted the VMS-specific code more in the same style as
...
other curl code
2004-01-13 16:13:32 +00:00
Daniel Stenberg
9e80356dd5
Luck Call made win32 password prompting support backspace
2004-01-13 16:07:40 +00:00
Daniel Stenberg
4a4295290d
we no longer distribute the non-working tests 400 - 403
2004-01-13 13:34:10 +00:00
Daniel Stenberg
57f67d0241
added a comment about this not being the original getdate.y version, it has
...
been modified
2004-01-13 08:59:53 +00:00
Daniel Stenberg
d50c9218c7
source header added
2004-01-13 08:57:24 +00:00
Daniel Stenberg
3c1bb36193
use the *correct* header!
2004-01-13 08:57:01 +00:00
Daniel Stenberg
16c747da76
zlib patch, amigaos patch
2004-01-13 08:50:21 +00:00
Daniel Stenberg
baf948db40
Dan Fandrich made the hugehelp.c contain both compressed and uncompressed
...
help if libz is available using #ifdef in the source instead, to allow the
distributed source code to be easier built with compressed help text.
2004-01-13 08:48:41 +00:00
Daniel Stenberg
9906eb8e19
define HAVE_LIBZ if libz is present, for hugehelp.c
2004-01-13 08:47:10 +00:00
Daniel Stenberg
44d931dbc7
amiga patch applied and committed
2004-01-13 08:38:04 +00:00
Daniel Stenberg
d0ad607c46
the multi change, the amiga build, credits
2004-01-13 08:36:29 +00:00
Daniel Stenberg
36f76396ea
Diego Casorran's fixes to allow native AmigaOS builds
2004-01-13 08:35:57 +00:00
Daniel Stenberg
1cb3cd1463
three changes done this morning
2004-01-13 08:05:54 +00:00
Daniel Stenberg
a76235c008
Matt Veenstra updated the Mac OS X framework files
2004-01-13 08:04:05 +00:00
Daniel Stenberg
71b3cc08a6
Brian R Duffy made the makefile work to build SSL-enabled curl with Borland
...
C++.
2004-01-13 08:02:01 +00:00
Daniel Stenberg
d8dd9b0008
Brian R Duffy provide a "build SSL-enabled with Borland" section
2004-01-13 07:58:49 +00:00
Daniel Stenberg
35fd3a3139
fix the copyright string years
2004-01-13 07:42:11 +00:00
Daniel Stenberg
90be1d157e
modified the TODO, we already do persistant tests
2004-01-13 07:39:42 +00:00
Daniel Stenberg
8433068f3a
added our standard header
2004-01-13 07:38:26 +00:00
Daniel Stenberg
e043cf22e2
added standard source header
2004-01-13 07:37:29 +00:00
Daniel Stenberg
206039cb76
fix the include path to point to the libcurl's source dir too for the setup.h
...
inclusion
2004-01-13 07:36:13 +00:00
Daniel Stenberg
4ba05e1128
include setup.h from the lib dir instead to get even more private stuff
...
from the libcurl build, but right now for the USE_SSLEAY define.
2004-01-13 07:35:28 +00:00
Daniel Stenberg
0ae7e93299
more stuff to be added "soon"
2004-01-12 15:54:31 +00:00
Daniel Stenberg
5baf747e67
Peter Sylvester's multi patches were applied
2004-01-12 15:27:40 +00:00
Daniel Stenberg
3a61c98b65
Peter Sylvester brought code that now allows a callback to modified the URL
...
even when the multi interface is used, and then libcurl will simulate a
"follow location" to that new URL. Test 509 was added to test this feature.
2004-01-12 15:26:32 +00:00
Daniel Stenberg
5173bab0bb
better test script
2004-01-12 14:41:06 +00:00
Daniel Stenberg
b291bbc9a6
better skip reasons, longer waiting for startup of servers (due to slow/loaded
...
host), added retrying/waiting for slow stunnel startups
2004-01-12 14:34:48 +00:00
Daniel Stenberg
11e8600390
cut the patch number before a '-' too, to enable '7.11.0-pre1' to use
...
patch number zero.
2004-01-12 09:14:12 +00:00
Daniel Stenberg
93aea06ed9
http auth types
...
disable EPRT
removed passwd prompting text
2004-01-12 08:48:08 +00:00
Daniel Stenberg
9e5aee63c7
removed the "build natively on amiga" note as this is not yet true, we're
...
awaiting a patch that might be delayed into 7.11.1 instead (see TODO-RELEASE)
2004-01-12 08:14:14 +00:00
Daniel Stenberg
60cc5a3f27
added the forgotten patch tracker item #844036
2004-01-12 08:08:36 +00:00
Daniel Stenberg
5ac047dc39
Dan Fandrich does download page edits
...
ftps has a new port
2004-01-12 07:59:25 +00:00
Daniel Stenberg
6cd280fdfb
issue 6 moved to 7.11.1
2004-01-11 23:02:48 +00:00
Daniel Stenberg
c8ac7a0d95
Dominick Meglio pointed out FTPS should use default port 990 according to
...
IANA.
2004-01-11 22:56:36 +00:00
Daniel Stenberg
44031f32a1
added one assert and a few comments describing how the auth stuff works
2004-01-09 14:03:06 +00:00
Daniel Stenberg
7237221108
added a short intro text about this not being for binary package installs
2004-01-09 09:36:07 +00:00
Daniel Stenberg
ad36138f52
the --with-spnego fix
2004-01-09 09:25:14 +00:00
Daniel Stenberg
8a16e48a6c
configure spnego fix of yday
2004-01-09 09:06:26 +00:00
Daniel Stenberg
4c3a2318ae
a fair idea
2004-01-09 08:59:55 +00:00
Daniel Stenberg
7beac70644
Dominick Meglio updated the win description since we fixed the gettimeofday
...
name issue
2004-01-09 07:45:47 +00:00
Daniel Stenberg
b16dfbee99
Giuseppe Attardi's bug
2004-01-08 23:06:40 +00:00
Daniel Stenberg
202e54cf9c
fixed the LDFLAGS creation for the SPNEGO option
2004-01-08 22:58:21 +00:00
Daniel Stenberg
e0d9e7a255
a few issues are now awaiting response
2004-01-08 22:03:10 +00:00
Daniel Stenberg
c2bc5662b5
sourceforge out, siamu.ac.th in
2004-01-07 15:46:20 +00:00
Daniel Stenberg
f4569f10f0
added a few people who have been doing lots of good stuff
2004-01-07 14:53:53 +00:00
Daniel Stenberg
23cfb9a832
feature update
2004-01-07 14:50:11 +00:00
Daniel Stenberg
b921777057
added fresh mirror info since last release
2004-01-07 13:41:56 +00:00
Daniel Stenberg
ff6d9a1109
stopped the sf mirror
2004-01-07 10:22:44 +00:00
Daniel Stenberg
053f6c85ef
updated year in the copyright string
2004-01-07 09:19:33 +00:00
Daniel Stenberg
9970fb863d
removed the fixed entries, somewhat updated entries
2004-01-07 07:44:44 +00:00
Daniel Stenberg
feeef39ebf
mention that the _LARGE options are added in 7.11.0, added a header to the
...
file with the standard curl blurb
2004-01-07 07:20:08 +00:00
Daniel Stenberg
7bf11297fe
Dan Fandrich fixed our zlib usage
2004-01-05 22:55:51 +00:00
Daniel Stenberg
292ef5fabb
Dan Fandrich's zlib fix
2004-01-05 22:54:45 +00:00
Daniel Stenberg
2b277f85f5
Accept fix
2004-01-05 22:52:11 +00:00
Daniel Stenberg
9363d94f9b
new files for the large file support number parsing
2004-01-05 22:39:46 +00:00
Daniel Stenberg
ea1c98dccf
large file support added in CVS now
2004-01-05 22:38:00 +00:00
Daniel Stenberg
1109a4a629
mr Meyer brought large file support
2004-01-05 22:37:31 +00:00
Daniel Stenberg
2d01740e1a
David J Meyer's large file work was added.
2004-01-05 22:35:43 +00:00
Daniel Stenberg
979a1e6237
fix duplicates
2004-01-05 22:34:37 +00:00
Daniel Stenberg
b60e0fa97e
David J Meyer's large file support.
2004-01-05 22:29:29 +00:00
Daniel Stenberg
41c6f68d94
minor wording change
2004-01-05 14:56:46 +00:00
Daniel Stenberg
411d0cb715
minor format flaw
2004-01-05 14:46:56 +00:00
Daniel Stenberg
8b3946efda
Tor Arntsen fixed a spelling error
2004-01-05 14:20:08 +00:00
Daniel Stenberg
763d6a8524
we call it 7.11.0
2004-01-04 17:38:58 +00:00
Daniel Stenberg
232b051254
What I hope we get done in the next few releases
2004-01-04 17:37:49 +00:00
Daniel Stenberg
aef6208bd7
curl-related news
2004-01-04 13:01:59 +00:00
Daniel Stenberg
50c5a69d70
the gettimeofday fix
2004-01-04 12:20:37 +00:00
Daniel Stenberg
9ebe4ab60c
Dominick Meglio's fix to make our private gettimeofday() use the ares_
...
namespace
2004-01-04 12:19:06 +00:00
Daniel Stenberg
a0edfb90c2
make our private version of gettimeofday() static
2004-01-04 12:10:14 +00:00
Daniel Stenberg
93a8572928
white space and copyright year changes
2004-01-04 12:09:52 +00:00
Daniel Stenberg
591fe66f18
Dominick Meglio's description how to build ares for libcurl on win32
2004-01-04 12:00:11 +00:00
Daniel Stenberg
a99e6445bf
there's a ferite binding too
2004-01-02 12:57:47 +00:00
Daniel Stenberg
f3e5d4a602
curl doesn't do recursive operations
2003-12-22 17:24:21 +00:00
Daniel Stenberg
1d6248baa4
added redwire.net
2003-12-22 11:02:03 +00:00
Daniel Stenberg
61685fee7e
Andrs Garca added CURLOPT_IPRESOLVE
2003-12-22 10:53:55 +00:00
Daniel Stenberg
55e4d79111
fixing
2003-12-19 08:11:02 +00:00
Daniel Stenberg
84b3c3b569
Make setopt() support CURLOPT_IPRESOLVE...
2003-12-19 08:10:09 +00:00
Daniel Stenberg
4ea14b25df
Gisle Vanem's djgpp fixes
2003-12-19 08:03:48 +00:00
Daniel Stenberg
4223f602ed
djgpp fixes by Gisle Vanem
2003-12-19 08:03:35 +00:00
Daniel Stenberg
8146d46386
Gisle Vanem's minor fixes
2003-12-19 08:03:15 +00:00
Daniel Stenberg
36a2fac79f
typecast the size to long for platforms where st_size is off_t
2003-12-18 18:05:10 +00:00
Daniel Stenberg
58cf108251
Andrs Garca's update
2003-12-18 13:33:14 +00:00
Daniel Stenberg
6c6e5522cb
redirect from a bad url such as "www.com?moo=foo" to an absolute path didn't
...
work, as reported by John McGowan
2003-12-18 09:19:10 +00:00
Daniel Stenberg
aff9a817b4
David Byron's fix to make libcurl build fine with both .NET and VC6 version
...
of MSVC
2003-12-18 08:56:20 +00:00
Daniel Stenberg
f4e987cd19
clarified the URL part based on the problems Martin Hilpert had
2003-12-18 07:52:31 +00:00
Daniel Stenberg
b3afb31181
spell
2003-12-17 16:07:34 +00:00
Daniel Stenberg
a3ad4295c9
Check the error code AFTER the protocol and data. Only changed to perhaps
...
get some further input on the notorious test case 91 failures!
2003-12-17 15:33:04 +00:00
Daniel Stenberg
2450506c83
AmigaOS build notes
2003-12-16 14:51:58 +00:00
Daniel Stenberg
23a6041698
use the curlassert() instead of custom checks
2003-12-16 14:08:53 +00:00
Daniel Stenberg
979ba8a8b5
add off_t as a recognized type for font-locking
2003-12-16 09:53:39 +00:00
Daniel Stenberg
cd9dea3091
test506 fix
2003-12-16 09:51:51 +00:00
Daniel Stenberg
989ec98ebd
modified and corrected test 506
2003-12-16 09:49:36 +00:00
Daniel Stenberg
d262d0a62a
changed the dns cache pruning
2003-12-15 17:42:46 +00:00
Daniel Stenberg
15b775e126
one correction, one addition
2003-12-15 17:37:25 +00:00
Daniel Stenberg
3788f25eac
added a library-wide interface for doing dns cache pruning, and no longer
...
make the pruning at each name lookup, only in Curl_done().
2003-12-15 17:33:49 +00:00
Daniel Stenberg
5b8852107b
added the six most recent bugfixes
2003-12-15 15:46:24 +00:00
Daniel Stenberg
cfe53768dd
if Curl_hash_add() returns NULL, we shall not free the addrinfo field as that
...
is made in the hash function in the case of failure (using the already setup
'dtor' function).
2003-12-15 15:22:10 +00:00
Daniel Stenberg
947e656367
make sure that hash_add() has no allocated resources left in case it
...
returns NULL
2003-12-15 15:21:13 +00:00
Daniel Stenberg
50e7545118
Giuseppe Attardi fixed a really tricky bug
2003-12-15 14:48:37 +00:00
Daniel Stenberg
0839d6e6bc
We cannot 'cd' to the ares build dir to get the path, as the directory hasn't
...
been created at this point yet when we build outside of the source dir.
2003-12-15 13:24:16 +00:00
Daniel Stenberg
bbafc27b42
remove the build directory on exist, if there is any
2003-12-15 08:14:30 +00:00
Daniel Stenberg
a7de09a966
some outputs for easier debugging
2003-12-12 15:28:04 +00:00
Daniel Stenberg
1410deb8f7
only build ares if truly enabled
2003-12-12 15:06:17 +00:00
Daniel Stenberg
7dea4acc46
ares-using configure should run configure in the subdir by itself
2003-12-11 10:20:44 +00:00
Daniel Stenberg
a3c09e636d
if there is an 'ares' subdirectory when configure is run with --enable-ares
...
(without a given path), we run configure automatically in that subdir
2003-12-11 10:19:57 +00:00
Daniel Stenberg
a025425d06
use the CORRECT file name! ;-)
2003-12-11 07:27:13 +00:00
Daniel Stenberg
4eb9ac0821
check for strtoll(), for the upcoming >2GB patch
2003-12-10 16:05:26 +00:00
Daniel Stenberg
77a5e7c646
dict and a man page fixes
2003-12-10 15:30:34 +00:00
Daniel Stenberg
8f0abd31c5
Use Curl_transfer() properly. Fixes the bug Gisle Vanem found!
2003-12-10 15:27:59 +00:00
Daniel Stenberg
a13f85fb33
assert that we get a good index to Curl_transfer()
2003-12-10 15:27:27 +00:00
Daniel Stenberg
3b048880ad
we now have a 'curlassert' function to use
2003-12-10 15:27:06 +00:00
Daniel Stenberg
24ac5b8a6c
check for assert.h
2003-12-10 15:25:49 +00:00
Daniel Stenberg
9bc97b2d3c
updated with the new configure option usage
2003-12-10 14:16:56 +00:00
Daniel Stenberg
9825d81973
curl-config bug corrected
2003-12-10 14:13:01 +00:00
Daniel Stenberg
1e012c5259
Diego Casorran tapping on Amiga support
2003-12-10 14:02:36 +00:00
Daniel Stenberg
68c508976f
added the new amiga files to the dist
2003-12-10 13:56:13 +00:00
Daniel Stenberg
4d8a53da2f
Diego Casorran's amiga makefiles
2003-12-10 13:54:57 +00:00
Daniel Stenberg
29d3deaee8
native amiga support by Diego Casorran
2003-12-10 13:54:12 +00:00
Daniel Stenberg
6c56340e1a
native AmigaOS support by Diego Casorran
2003-12-10 13:53:35 +00:00
Daniel Stenberg
134ab91358
Diego Casorran's amiga build patch
2003-12-10 13:51:42 +00:00
Daniel Stenberg
fb927939e2
ares configure and build fix
2003-12-10 13:40:09 +00:00
Daniel Stenberg
ac114ed45b
do the ares stuff in the configure file
2003-12-10 13:38:51 +00:00
Daniel Stenberg
d46a735418
Dominick Meglio made --enable-ares support an option =PATH to specify a
...
root path to an installed ares.
2003-12-10 13:37:00 +00:00
Daniel Stenberg
5a87203fe4
minor language fixes
2003-12-10 07:50:12 +00:00
Daniel Stenberg
90e9c64f72
Eric S. Raymond's fix of the NAME section
2003-12-10 07:16:20 +00:00
Daniel Stenberg
8742d39060
added some details from the old scrolls
2003-12-09 08:05:03 +00:00
Daniel Stenberg
821302bcf3
removed old version checks
2003-12-08 14:14:26 +00:00
Daniel Stenberg
f68219ddaa
use the newer option names
2003-12-08 14:13:19 +00:00
Daniel Stenberg
7e3cd82b50
updated 5.5 to use the modern names of these defines
2003-12-08 13:59:35 +00:00
Daniel Stenberg
bc372815a8
ares in curl-config
2003-12-08 13:51:07 +00:00
Daniel Stenberg
391a37ebbf
removed one, added one
2003-12-08 13:48:23 +00:00
Daniel Stenberg
a61dc1e9c5
-lz fix
2003-12-08 13:38:20 +00:00
Daniel Stenberg
2e0d1a55c6
no need to add -lz to LDFLAGS manually, as AC_CHECK_LIB() does that
...
automatically!
2003-12-08 13:37:38 +00:00
Daniel Stenberg
dfd1a636b4
updated
2003-12-08 13:11:04 +00:00
Daniel Stenberg
ee337309cf
better human error message when a FTP response can't be read
2003-12-08 13:06:08 +00:00
Daniel Stenberg
437afe0767
curl-config now shows asyncdns if built with ares enabled
2003-12-08 10:00:21 +00:00
Daniel Stenberg
0ab2dff69c
based on Gisle's comment, I removed the use of syslog() and fixed the
...
netdb.h include, then I re-indented some code to use curl-style
2003-12-04 15:21:49 +00:00
Daniel Stenberg
bff59dac12
minor edit of the PRIVATE option
2003-12-04 13:01:30 +00:00
Daniel Stenberg
ea53aed841
cut out the wrong version blurb
2003-12-04 12:56:05 +00:00
Daniel Stenberg
e2555cf83d
edited the -d section slightly
2003-12-03 14:09:29 +00:00
Daniel Stenberg
f7c8a57206
minor edit
2003-12-03 14:02:37 +00:00
Daniel Stenberg
02bf6660bf
VMS
2003-12-03 08:41:39 +00:00
Daniel Stenberg
6c8e6df38f
Marty Kuhrt moved most of the VMS stuff to a separate header file.
2003-12-03 08:40:39 +00:00
Daniel Stenberg
96d3db1687
new VMS files
2003-12-03 08:39:46 +00:00
Daniel Stenberg
3e43105ff1
Marty Kuhrt updates
2003-12-03 08:39:24 +00:00
Daniel Stenberg
8ccc1148d9
my contentlength adjustment broke the ftp download range stuff, this makes
...
it work again
2003-12-03 08:26:31 +00:00
Daniel Stenberg
06c38330ba
Steve Green fixed Curl_resolv()
2003-12-03 07:55:51 +00:00
Daniel Stenberg
0f4d042d3e
Ignore content-length when chunked transfer-encoding is transfered.
2003-12-03 07:52:00 +00:00
Daniel Stenberg
c79de8d86e
less complicated code for the MSG_NOSIGNAL detection
2003-12-02 22:05:23 +00:00
Daniel Stenberg
d670f308a6
that MSG_NOSIGNAL check serves no useful purpose!
2003-12-02 22:04:30 +00:00
Daniel Stenberg
e64e9d7fed
--ftp-pasv
2003-12-02 18:03:38 +00:00
Daniel Stenberg
ad5ead8bed
--ftp-pasv now overrides a previous --ftpport option. We now also support
...
it named "--ftp-port" as the additional dash between the words is used in
several other options and this makes it more consistant.
2003-12-02 18:01:08 +00:00
Daniel Stenberg
1b99d33b59
fix compiler warnings
2003-12-02 13:40:12 +00:00
Daniel Stenberg
800052dc50
use the HAVE_KRB4 define instead of just KRB4
2003-12-02 13:27:29 +00:00
Daniel Stenberg
d4629fd395
renamed the KRB4 to HAVE_KRB4
2003-12-02 13:27:05 +00:00
Daniel Stenberg
2c22feced2
fixes from Gisle Vanem to try 'AUTH SSL' before 'AUTH TLS', edited by me
2003-12-02 13:21:53 +00:00
Daniel Stenberg
41688a1642
MSG_NOSIGNAL
2003-12-02 10:13:55 +00:00
Daniel Stenberg
2cf209d3f7
If HAVE_MSG_NOSIGNAL is set, we use MSG_NOSIGNAL when we call send() and
...
recv() and we no longer attempt to ignore the SIGPIPE signal.
2003-12-02 10:12:44 +00:00
Daniel Stenberg
909887f310
check for MSG_NOSIGNAL
2003-12-02 10:11:48 +00:00
Daniel Stenberg
d1d417664e
Gisle Vanem fixed the check-order for FTPS and FTP.
2003-12-02 06:25:41 +00:00
Daniel Stenberg
7d7e99104e
updated
2003-12-01 10:25:45 +00:00
Daniel Stenberg
3eeea48839
FTPS now works pretty good
2003-12-01 10:25:10 +00:00
Daniel Stenberg
cd653f1be9
FTPS now works with active ftp and uploads too.
2003-12-01 10:14:39 +00:00
Daniel Stenberg
5751796ddd
Sven Wegener runs the new German web mirror
2003-11-30 11:18:19 +00:00
Daniel Stenberg
012c4ee1fa
James Clancy updated the Borland makefiles
2003-11-27 12:24:22 +00:00
Daniel Stenberg
426954ff95
Markus Moeller and SPNEGO
2003-11-27 09:53:48 +00:00
Daniel Stenberg
471c30372b
Markus Moeller's change to check for HAVE_SPNEGO instead of the previous
2003-11-27 09:52:44 +00:00
Daniel Stenberg
f6413f2cb4
Markus Moeller fixed the SPNEGO check and it nows defines HAVE_SPNEGO
2003-11-27 09:52:13 +00:00
Daniel Stenberg
e80bdd66f9
filed is not fixed ;-)
2003-11-25 09:12:56 +00:00
Daniel Stenberg
d083fac1fc
a committed bugfix described
2003-11-25 09:11:18 +00:00
Daniel Stenberg
1d85f950bf
test 95 added, verifies my fix for bug report #848371
2003-11-25 09:06:33 +00:00
Daniel Stenberg
1d977b7848
When basic is the only auth wanted (which it is by default), the auth phase
...
is always considered done immediately as Basic needs to extra passes.
This fix corrects bug report #848371 .
2003-11-25 09:05:15 +00:00
Daniel Stenberg
b3803903d1
requires a SSL-capable client
2003-11-25 08:44:48 +00:00
Daniel Stenberg
efc9410796
clarified Maciej W. Rozycki's fix
2003-11-25 08:42:16 +00:00
Daniel Stenberg
45614d54c6
allow the end-of-headers from a proxy response to CONNECT end with a CRCR
...
as well as a CRLF
2003-11-24 16:17:55 +00:00
Daniel Stenberg
50e690f2dd
test proxy CONNECT requiring basic auth but we don't provide any
2003-11-24 16:17:18 +00:00
Daniel Stenberg
2f9f843e8a
new way to trick sws to return special data on CONNECT
2003-11-24 16:12:41 +00:00
Daniel Stenberg
15d41dfbcd
somewhat up to speed with the devel
2003-11-24 15:46:01 +00:00
Daniel Stenberg
bc01ad5b9e
--ftp-ssl support added
2003-11-24 11:59:15 +00:00
Daniel Stenberg
dadc1026f1
proper ftps:// support added
2003-11-24 11:51:12 +00:00
Daniel Stenberg
d8cf2d42c0
prevent warning for non-SSL builds
2003-11-24 11:44:04 +00:00
Daniel Stenberg
96d7a95ce4
windows build fix based on a patch by Gisle Vanem
2003-11-24 11:41:26 +00:00
Daniel Stenberg
d5d55a856e
adjusted code to the new socket fields in the sessionhandle struct
2003-11-24 09:04:09 +00:00
Daniel Stenberg
dac045029a
disable ftps-tests for now, we must make them work with the updated ftps
...
functionality
2003-11-24 07:17:16 +00:00
Daniel Stenberg
1e98727c55
FTPS support added as RFC2228 and the murray-ftp-auth-ssl draft describe it
2003-11-24 07:15:37 +00:00
Daniel Stenberg
1c700b5a5c
fixes
2003-11-24 07:11:28 +00:00
Daniel Stenberg
af9dc9f128
Gaz Iqbal fixed a range string memory leak!
2003-11-24 07:10:02 +00:00
Daniel Stenberg
4874aa6986
fixed wrong comment
2003-11-24 07:08:07 +00:00
Daniel Stenberg
c0336dcc52
Gisle Vanem fixed the Windows build
2003-11-23 22:26:40 +00:00
Daniel Stenberg
78fb476677
FTPSSL support options and defines added
2003-11-23 15:36:24 +00:00
Daniel Stenberg
3fed12a203
combine the two identical cases
2003-11-20 14:16:18 +00:00
Daniel Stenberg
ed2b831afe
three more fixes
2003-11-20 14:15:10 +00:00
Daniel Stenberg
f481b3e1dc
bail out properly on a 407 when we can't authenticate basic, bug report
...
#845247
2003-11-20 09:53:42 +00:00
Daniel Stenberg
2769f3b245
request a file over proxy without credentials, and get a 407 back
2003-11-20 09:52:48 +00:00
Daniel Stenberg
e9a545c710
unconditional progressbarinit cures a windows crash
2003-11-19 15:59:23 +00:00
Daniel Stenberg
edce444551
If a partial file has been read or written, force a closure the existing
...
connection to avoid re-use of it, since we cannot know in what state it is.
2003-11-19 14:36:42 +00:00
Daniel Stenberg
7bee4140e8
respect bits.close even if an error already is set, but make sure that the
...
existing error is the one returned back
2003-11-19 14:35:40 +00:00
Daniel Stenberg
cc48658564
cut off old crappy win32 comments and use the proper global_init instead
...
also removed very old "require libcurl older than blablabla"
2003-11-19 08:21:34 +00:00
Daniel Stenberg
79e4aee185
cleaned up
2003-11-19 08:20:13 +00:00
Daniel Stenberg
4d28012468
remove the wrong win32 comment and use global_init
2003-11-19 08:19:20 +00:00
Daniel Stenberg
e1d01045e2
Maciej W. Rozycki's configure patch
2003-11-17 05:23:32 +00:00
Daniel Stenberg
0717e4690e
Maciej W. Rozycki made this script use a cache variable for the writable
...
argv test. This way, the default can be overridden better (for cross-compiles
etc)
2003-11-17 05:23:06 +00:00
Daniel Stenberg
a0a5668dbd
do ares_destroy() on the ares handle when we're done in Curl_is_resolved()
2003-11-15 10:29:43 +00:00
Daniel Stenberg
bfc7d6c11b
two
2003-11-15 10:15:36 +00:00
Daniel Stenberg
dfe0118033
Mathias Axelsson found a case where we free()d the server certificate twice!
2003-11-15 10:00:20 +00:00
Daniel Stenberg
a701f3dddf
Siddhartha Prakash Jain found a case with a bad resolve that we didn't
...
properly bail out from, when using ares.
2003-11-14 11:56:15 +00:00
Daniel Stenberg
f99a1d4e82
updated
2003-11-13 13:39:44 +00:00
Daniel Stenberg
43bb20461f
Peter Sylvester found a flaw in the connect code for ipv6-enabled hosts.
...
I guess it seldomly happens on linux and that's why it wasn't found before.
He used Solaris to notice it.
I took the opportunity to rewrite the Curl_connecthost() slightly to feature
less duplicate code in the two different versions (ipv4/ipv6).
2003-11-13 13:28:40 +00:00
Daniel Stenberg
b9d3c71178
-n disables valgrind now
2003-11-13 10:05:44 +00:00
Daniel Stenberg
1e251a64f3
Default Content-Type for formparts has changed to "application/octet-stream".
...
This seems more appropriate, and I believe mozilla and the likes do this.
.html files now get text/html as Content-Type.
Pointed out in bug report #839806 .
2003-11-13 07:43:18 +00:00
Daniel Stenberg
776f0bd95e
don't log failed socket() calls
2003-11-13 07:33:51 +00:00
Daniel Stenberg
cd9aabb474
Gisle Vanem added a flush to make the progress-bar look better on windows
...
(at least).
2003-11-13 07:14:23 +00:00
Daniel Stenberg
e42f806b3f
mention it was added in 7.10.9
2003-11-12 14:34:17 +00:00
Daniel Stenberg
0850aec780
a resume http upload bug
2003-11-12 14:33:58 +00:00
Daniel Stenberg
ad77f760cf
Added CURLOPT_NETRC_FILE.
2003-11-11 14:30:43 +00:00
Daniel Stenberg
a50d2a45d7
Generate the ca-bundle.h file in the build dir and not in the source dir,
...
which works nicely since the build dir is before the source dir in the
include path.
2003-11-10 09:28:22 +00:00
Daniel Stenberg
17a834bc63
After Sbastien Willemijns' bug report, we now check the separators properly
...
in the 229-reply servers respond on a EPSV command and bail out better if
the reply string is not valid RFC2428-compliant.
2003-11-10 08:12:53 +00:00
Daniel Stenberg
c10bc0ef12
for the getpwuid() etc
2003-11-08 14:29:36 +00:00
Daniel Stenberg
f9b1981bd7
use char, not bool
2003-11-08 08:39:34 +00:00
Daniel Stenberg
451d34ce21
things happen even during slow days! ;-)
2003-11-07 17:22:30 +00:00
Daniel Stenberg
445950aa70
do a normal free() of the homedir now
2003-11-07 17:19:57 +00:00
Daniel Stenberg
8be602cdfd
Based on Gisle Vanem's $HOME patch, we now attempt to find the home dir
...
in a slightly better way for more platforms. The $HOME is only used for
.curlrc atm, but the possible upcoming change of .netrc treatment may also
need the home dir.
2003-11-07 17:17:15 +00:00
Daniel Stenberg
3dd40cca9a
Removed references to the no-longer existing PASSWDFUNCTION. That option
...
existed in 7.10.7 and earlier, but has since been cut out.
2003-11-07 13:26:45 +00:00
Daniel Stenberg
f1445ea228
remove the struct fields for the deprecated passwd prompt callback
2003-11-07 13:26:00 +00:00
Daniel Stenberg
c40309ae21
explain the requirements for --negotiate, --ntlm and --krb4
2003-11-07 13:23:08 +00:00
Daniel Stenberg
fe0b5801ec
mark options better
2003-11-07 09:15:28 +00:00
Daniel Stenberg
3de511b248
Ralph Mitchell's update that allows this script to take an existing
...
directory name and build/run/test curl in there instead of trying to update
from CVS. Using this approach, this script can be used to test daily tarballs
etc.
2003-11-07 08:06:03 +00:00
Daniel Stenberg
b1aa8eb7ef
the resource file itself
2003-11-07 07:20:15 +00:00
Daniel Stenberg
967cb4d75e
removed the resource lines I shouldn't have added in the firt place
2003-11-07 07:13:56 +00:00
Daniel Stenberg
bcbaeaf7d5
define TRUE and FALSE here as some platforms don't have them otherwise
2003-11-07 07:02:35 +00:00
Daniel Stenberg
41be41358e
CURLDEBUG, no underscore
2003-11-06 16:04:19 +00:00
Daniel Stenberg
ecb818805b
Gisle Vanem's libcurl.dll version info patch applied
2003-11-06 15:09:30 +00:00
Daniel Stenberg
d95f7129d5
don't allow options that we KNOW can't be used
2003-11-06 14:16:16 +00:00
Daniel Stenberg
6294b356fb
mark all mentioned options better
2003-11-06 13:51:29 +00:00
Daniel Stenberg
3e64a76498
converted most .I lines to \fI ones
2003-11-06 13:34:28 +00:00
Daniel Stenberg
dec9907c16
egd, not edg
2003-11-06 13:31:42 +00:00
Daniel Stenberg
527850928d
Define TRUE and FALSE unless already present. I've moved away those
...
definitions from the global curl header and thus this needs to do it
themselves.
2003-11-06 13:07:54 +00:00
Daniel Stenberg
eee3f13134
removed the _last since that is by definition not an error code
2003-11-06 12:52:48 +00:00
Daniel Stenberg
80d2be541d
new defines for version info
2003-11-06 11:37:54 +00:00
Daniel Stenberg
472c4d8616
Insert the major, minor and patch numbers into the curl/curl.h header as
...
well. Removed the depedency on perl.
2003-11-06 11:34:19 +00:00
Daniel Stenberg
45abf75e1e
We offer the version number "in parts" as well by introducing three new
...
defines.
2003-11-06 11:33:08 +00:00
Daniel Stenberg
4ec4e91de0
things
2003-11-06 08:35:01 +00:00
Daniel Stenberg
f6645094a2
new mirror added
2003-11-06 08:32:43 +00:00
Daniel Stenberg
7496e87d16
updated somewhat
2003-11-06 08:15:04 +00:00
Daniel Stenberg
bd4c081157
unitialized variable fix, reported by both Marty Kuhrt and benjamin gerard
2003-11-06 07:55:45 +00:00
Daniel Stenberg
927e392b31
Mac OS X framework build files, contributed by Matt Veenstra
2003-11-06 07:42:02 +00:00
Daniel Stenberg
aeb5edbf07
Moved the TRUE and FALSE #defines to lib/setup.h instead, as they don't
...
belong in the public header file. They are not in our name space so we
should not set them globally.
2003-11-06 07:21:32 +00:00
Daniel Stenberg
67dcddbef7
minor format edits
2003-11-05 15:52:00 +00:00
Daniel Stenberg
7ffb8c6aee
use roffit to make HTML from man pages
...
http://daniel.haxx.se/projects/roffit/
2003-11-05 15:51:25 +00:00
Daniel Stenberg
344c378996
use .BR to refer to other man pages to make it easier for parsers to know
2003-11-04 13:30:27 +00:00
Daniel Stenberg
445f54db57
consistant with other man pages
2003-11-04 13:27:28 +00:00
Daniel Stenberg
9b7c311929
.TP and .B replaced with .IP
2003-11-04 13:03:45 +00:00
Daniel Stenberg
6a21a28048
.IP instead of .TP and .B
2003-11-04 12:59:10 +00:00
Daniel Stenberg
0adb75114b
highlight more mentioned options
2003-11-04 12:58:03 +00:00
Daniel Stenberg
ecfb53f06d
Use .IP instead of .TP and .B for each item.
2003-11-04 12:55:53 +00:00
Daniel Stenberg
c020ee2eb6
spell!
2003-11-04 12:07:19 +00:00
Daniel Stenberg
a3279d4baf
three changes went in
2003-11-04 07:24:56 +00:00
Daniel Stenberg
c45f43ce32
Troels Walsted Hansen fixed the MSVC makefiles to build fine on Windows.
2003-11-04 06:59:25 +00:00
Daniel Stenberg
0eb037a849
spellfix in the generated comment by Kevin Roth
2003-11-04 06:52:26 +00:00
Daniel Stenberg
5a089f6c1f
Kevin Roth's fix to make correct cygwin packages
2003-11-04 06:50:50 +00:00
Daniel Stenberg
556d59dfcf
blanked, starting all over again
2003-11-01 11:40:07 +00:00
Daniel Stenberg
79cb1400ab
starting on 7.10.9 in CVS
2003-11-01 11:33:51 +00:00