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