Marty Kuhrt
fb53ed4c1f
re-sync'd with curlmsg.msg
2005-02-11 21:17:23 +00:00
Marty Kuhrt
e719eb5b81
ignore curlmsg.h and .sdl as they are generated by curlmsg.msg
2005-02-11 21:07:35 +00:00
Marty Kuhrt
3858063bcd
sync'd error codes with include/curl.h
2005-02-11 21:01:52 +00:00
Marty Kuhrt
d4f5fea840
Added $Id$ and pre-exisiting logical check
2005-02-11 20:17:21 +00:00
Daniel Stenberg
22c1d48cb2
remove the check for strftime(), we don't need it
2005-02-11 19:34:05 +00:00
Daniel Stenberg
e7cefd684b
Removed all uses of strftime() since it uses the localised version of the
...
week day names and month names and servers don't like that.
2005-02-11 00:03:49 +00:00
Daniel Stenberg
d2485e4f20
valgrind stuff for test suite, vms build and more
2005-02-10 08:57:23 +00:00
Daniel Stenberg
160d6b26b0
Moved out the valgrind report parser to valgrind.pm, to make it easier to
...
test it outside the test suite. Now we also disable valgrind usage if libcurl
was built shared, as then valgrind is only testing the wrapper-script running
shell which is pointless.
2005-02-10 08:50:33 +00:00
Daniel Stenberg
17d61e4f29
typecast assign to ftpport from int to prevent warnings
2005-02-10 07:45:26 +00:00
Daniel Stenberg
446b9467da
init fix for non-SSL builds
2005-02-10 07:45:08 +00:00
Marty Kuhrt
3970a7056c
Reduced the two config-vms.h_* files into this one.
2005-02-10 01:54:11 +00:00
Daniel Stenberg
74068a6d1b
David Byron fixed his SSL problems, initially mentioned here:
...
http://curl.haxx.se/mail/lib-2005-01/0240.html . It turned out we didn't use
SSL_pending() as we should.
This was TODO-RELEASE issue #59 .
2005-02-09 23:16:03 +00:00
Daniel Stenberg
8c83422fe2
David Byron identified the lack of SSL_pending() use, and this is my take
...
at fixing this issue.
2005-02-09 23:09:12 +00:00
Daniel Stenberg
61a1e3cd01
better error checking and SSL init by David Byron
2005-02-09 23:04:51 +00:00
Daniel Stenberg
89cac6f25c
prevent a compiler warning
2005-02-09 22:47:57 +00:00
Gisle Vanem
62082293c5
Some functions are static here, but extern in libxml's
...
SAX.h. gcc doesn't like that. Rename.
2005-02-09 15:15:01 +00:00
Daniel Stenberg
153fd2752c
the new ftp code and Gisle's DICT fix
2005-02-09 14:34:46 +00:00
Daniel Stenberg
e649a40f5d
issue #54 done
2005-02-09 14:29:57 +00:00
Gisle Vanem
32d76a5b57
Set 'bits.close' in case of malloc fail.
...
Don't free 'lud_dn' twice in case curl_unescape()
fails.
2005-02-09 14:28:35 +00:00
Daniel Stenberg
14aa3fa258
add missing error codes
2005-02-09 14:13:21 +00:00
Gisle Vanem
f5394cccb1
Use CURL_SOCKET_BAD.
2005-02-09 14:01:15 +00:00
Gisle Vanem
64dd9c7656
Handle CURLE_LOGIN_DENIED in strerror.c.
...
For ftp only?
2005-02-09 13:59:40 +00:00
Daniel Stenberg
16ae0c6466
FD_SET can be big macro, use braces
2005-02-09 13:47:35 +00:00
Daniel Stenberg
6a2e21ec8c
FTP code turned into state machine. Not completely yet, but a good start.
...
The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.
2005-02-09 13:06:40 +00:00
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