Daniel Stenberg
0ece1b5c34
Major rename and redesign of the internal "backbone" structs. Details will
...
be posted in a minute to the libcurl list.
2001-08-30 22:48:34 +00:00
Daniel Stenberg
a2b6ef3478
cookie jar adjustments
2001-08-29 09:32:18 +00:00
Daniel Stenberg
3c52c53ddd
Added SSL session ID caching, moved some SSL code from url.c to ssluse.c
2001-08-28 08:37:54 +00:00
Daniel Stenberg
12acab9b86
When setting *_URL or *_PROXY in *_setopt(), it is important that we check
...
and possibly free the existing pointer first, and then clear the "allocated"
bit. We previously mistakenly could free the new pointer passed to us by
the friendly user...!
2001-08-23 14:06:38 +00:00
Daniel Stenberg
0f425b01aa
CURLOPT_FTPASCII is the old name, CURLOPT_TRANSFERTEXT is the new
2001-08-22 11:24:57 +00:00
Daniel Stenberg
9ce94207e2
IPv6-addresses can have dots too!
2001-08-15 21:54:24 +00:00
Daniel Stenberg
9518e06413
extract IPv6-style specified IP-addresses properly
2001-08-15 21:40:09 +00:00
Daniel Stenberg
10ab082188
non-public functions should not use CURL * as arguments, so I changed them
...
to use 'struct UrlData *' instead
2001-08-15 06:55:42 +00:00
Daniel Stenberg
616d8eda41
Curl_open() only take one argument now,
...
Curl_ldap_done() and Curl_dict_done() were removed,
compiler warnings corrected
2001-08-14 08:40:06 +00:00
Daniel Stenberg
95837043e2
Patrick Bihan-Faou introduced CURLOPT_SSL_VERIFYHOST and code to deal with
...
it.
2001-08-08 07:16:47 +00:00
Daniel Stenberg
7948b0becc
VMS #include fixes,
...
file:// URL treatment improvements
2001-08-06 12:14:53 +00:00
Daniel Stenberg
5ab1a10e9c
corrected the comment for CURLOPT_WRITEHEADER in setopt(), and made it
...
read a void * and not a FILE *, as that was how it used to work and not
anymore...
2001-08-06 08:18:15 +00:00
Daniel Stenberg
8987244758
httpreq cleanup fix
2001-08-03 11:52:53 +00:00
Daniel Stenberg
9a78db6e59
Salvador Dávila's ftp range download fix
2001-06-12 09:21:37 +00:00
Daniel Stenberg
5e326014cd
SDavila posted a fix that sets conn->bits.use_range properly when doing
...
resumed downloads
2001-06-07 05:59:20 +00:00
Daniel Stenberg
fe82ddda46
CURLOPT_MUTE and data->bits.mute are history, removed, gone!
2001-05-31 13:50:28 +00:00
Daniel Stenberg
ffa7c13117
libcurl now has MUTE and NOPROGRESS set by default
2001-05-30 12:51:24 +00:00
Daniel Stenberg
870bacd689
include strtok.h to get the prototype
2001-05-30 11:06:56 +00:00
Daniel Stenberg
d567659bf4
strtok() replaced with strtok_r()
2001-05-29 19:17:39 +00:00
Daniel Stenberg
d300cf4d84
T. Bharath's comments about SSL cleanup incorporated, and the two new
...
curl_global_* functions
2001-05-28 14:12:43 +00:00
Daniel Stenberg
8526fa97ce
Pawel A. Gajda fixed resumed transfers on persistent connections
2001-05-15 07:21:13 +00:00
Daniel Stenberg
282939c6fe
another multiple FTP transfer fix
2001-05-11 06:40:04 +00:00
Daniel Stenberg
fef1fc0d32
Ingo Wilken's redirect fixes
2001-05-11 06:10:48 +00:00
Daniel Stenberg
7be8993f94
When re-using a connection, the path pointers were not setup properly so
...
that multiple FTP transfers were not possible
2001-05-10 09:31:48 +00:00
Daniel Stenberg
9304055df5
'FILE *' changed to 'void *' in all callback functions
2001-05-04 07:47:11 +00:00
Daniel Stenberg
350c536f6c
Cris Bailiff's fix to disable chunked transfers on re-used persistent
...
connections.
2001-05-03 10:53:01 +00:00
Daniel Stenberg
3974f30ed4
improved treatment of "Content-Length: 0", which is done by having
...
maxdownload set to -1 when not used
2001-04-27 08:02:10 +00:00
Daniel Stenberg
583c2e2f09
connection re-using didn't work on non-default ports when not using proxy
...
until now
2001-04-25 21:24:27 +00:00
Daniel Stenberg
fde31f0988
no need to copy the name when re-using the connection, we already have the
...
same name in that buffer from the URL parsing!
2001-04-23 06:11:08 +00:00
Daniel Stenberg
2cf26d4fb7
copy the name properly when re-using a connection
2001-04-22 16:47:55 +00:00
Daniel Stenberg
3fd65fb7d8
Remade resume stuff to keep data in the connectdata struct instead of the
...
main handle struct to work with persistant connections
2001-04-18 07:25:11 +00:00
Daniel Stenberg
18f044f19d
we don't use the HTTP_PROXY environment variable in uppercase anymore, since
...
it might become a security problem (Bugs item #415391 )
2001-04-11 14:13:52 +00:00
Daniel Stenberg
62056a644f
oops, missed the shut-off non-blocking fix
2001-04-11 06:59:00 +00:00
Daniel Stenberg
022099266e
SM made the connection timeout work for windows boxes!
2001-04-11 06:41:54 +00:00
Daniel Stenberg
90bb87b40e
setopt() works with the new CURLOPT_HEADERFUNCTION:
2001-04-10 06:51:25 +00:00
Daniel Stenberg
28497e7ee4
better error checks for failure conditions (based on Puneet Pawaia's reports)
2001-04-03 10:20:23 +00:00
Daniel Stenberg
b1328430c9
ftps:// support added
2001-03-29 08:16:55 +00:00
Daniel Stenberg
76576cd1e2
ConnectionExists() wrongly returned TRUE for too many connections if proxy
...
was not used...
2001-03-23 07:46:14 +00:00
Daniel Stenberg
d6c456db85
added connect timeout support
2001-03-15 14:38:30 +00:00
Daniel Stenberg
b7fc1e45b5
now works with IPv6 and HTTP proxy
2001-03-14 18:18:02 +00:00
Daniel Stenberg
f8e1fc32de
Edin Kadribaic's bug report #408488 forced a rearrange of two struct fields
...
from urldata to connectdata, quite correctly.
2001-03-14 14:11:11 +00:00
Daniel Stenberg
87b0b7cab9
initial close policy support
2001-03-13 07:54:18 +00:00
Daniel Stenberg
f2fd1b8856
two new random seed options: CURLOPT_RANDOM_FILE and CURLOPT_EGDSOCKET
2001-03-12 15:47:17 +00:00
Daniel Stenberg
38c349f751
support for a few new libcurl 7.7 CURLOPT_* options added
2001-03-12 15:05:54 +00:00
Daniel Stenberg
d774b10afb
Added infof() calls for persistant connection info, we are very likely to
...
need these at least for debugging 7.7 and probably later as well...
2001-03-12 13:58:03 +00:00
Daniel Stenberg
5bbe189420
modified Curl_disconnect() so that it unlinks itself from the data struct,
...
it saves me from more mistakes when the connectindex is -1 ... also, there's
no point in having its parent do it as all parents would do it anyway.
2001-03-12 10:13:42 +00:00
Daniel Stenberg
8eb8a0a8e4
bugfix: don't use the connectindex if it is -1
2001-03-12 09:44:57 +00:00
Daniel Stenberg
e9b763ff05
use the new name and hostname even though an old connection is reused, since
...
we can re-use a proxy connection that actually has different host names on
the same connection
2001-03-09 16:50:08 +00:00
Daniel Stenberg
8ec4dba599
removed handles and states from the main structs
...
renamed prefixes from curl_ to Curl_
made persistant connections work with http proxies (at least partly)
2001-03-09 15:18:25 +00:00
Daniel Stenberg
84e94fda8b
remade FILE:// support to look more as the other protocols
2001-03-05 13:39:01 +00:00
Daniel Stenberg
cf8704ccdf
7.7 alpha 2 commit
2001-03-04 16:34:20 +00:00
Daniel Stenberg
dd893fd8a4
ipv6 fix for the 'port' no longer in urldata
2001-03-03 17:50:01 +00:00
Daniel Stenberg
d1cfbd51b5
remade the port number stuff so that following locations work and doing
...
intermixed HTTP and FTP persistant connections also work!
2001-03-02 15:34:15 +00:00
Daniel Stenberg
af4451ec26
improved connections
2001-03-02 07:43:20 +00:00
Daniel Stenberg
9bc24e4876
cleanup better when connects fail
2001-02-28 14:03:46 +00:00
Daniel Stenberg
4af55809e4
added some infof() calls for persistant info
2001-02-22 23:51:17 +00:00
Daniel Stenberg
584dbffe60
moved the dynamicly set pointers to the connectdata struct
2001-02-22 23:32:02 +00:00
Daniel Stenberg
da06a6e7e3
IPv6-adjustments
2001-02-21 17:15:09 +00:00
Daniel Stenberg
46e0937263
corrected memory leaks when re-using connections
2001-02-20 17:46:35 +00:00
Daniel Stenberg
a1d6ad2610
multiple connection support initial commit
2001-02-20 17:35:51 +00:00
Daniel Stenberg
f7a8909372
Made CURLOPT_POST no longer necessary when CURLOPT_POSTFIELDS is used
2001-02-19 09:29:19 +00:00
Daniel Stenberg
ce95d2020f
better english timeouted => timed out, as suggested by Larry Fahnoe
2001-02-13 21:57:04 +00:00
Daniel Stenberg
a140e5311d
moved the protocol-specific free to allow easier multiple transfers
2001-02-13 13:34:16 +00:00
Daniel Stenberg
c107303ade
very minor indentation fix
2001-02-12 08:22:19 +00:00
Daniel Stenberg
b12e334d83
if netrc is parsed and our host was found in there, set data->bits.user_passwd
...
unconditioanlly!
2001-02-08 13:53:13 +00:00
Daniel Stenberg
58d70db92e
no longer #includes "getenv.h"
2001-02-07 08:36:23 +00:00
Daniel Stenberg
f6e2bfd464
Jun-ichiro itojun Hagino's IPv6 adjustments
2001-02-05 23:04:44 +00:00
Daniel Stenberg
4cc76d1576
upload sets HTTP request to PUT for "HTTP upload"
2001-01-29 07:23:11 +00:00
Daniel Stenberg
62fec1d28d
data->httpreq was not set properly
2001-01-27 17:58:15 +00:00
Daniel Stenberg
fcb347d124
Added a httpreq field in the main struct so that there's one field to check
...
for what HTTP request that is being used. The old bit-style fields are still
in there as well.
2001-01-26 15:52:01 +00:00
Daniel Stenberg
30eab8ca51
moved curl_read() and curl_write() to sendf.c
2001-01-25 12:23:57 +00:00
Daniel Stenberg
29bcba9a90
Ingo Ralf Blum's cygwin fixes
2001-01-24 14:44:05 +00:00
Daniel Stenberg
8a75120568
added comments all over
2001-01-24 12:32:34 +00:00
Daniel Stenberg
7872cc131a
Enabled support for IPv6-style IP-addresses if ENABLE_IPV6 is set. If it isn't,
...
curl will return an error when such an address is used.
2001-01-23 10:21:30 +00:00
Daniel Stenberg
ae0a6835bd
Transfer is now Curl_Tranfer() and transfer.h is used instead of highlevel.h
...
and download.h
2001-01-17 13:23:01 +00:00
Daniel Stenberg
4031104404
Internal symbols that aren't static are now prefixed with 'Curl_'
2001-01-05 10:11:41 +00:00
Daniel Stenberg
24dee483e9
dual-license fix
2001-01-03 09:29:33 +00:00
Daniel Stenberg
69abefc936
Added SA_RESTART since (some) HPUX doesn't have that define and it doesn't
...
need it
2000-12-07 09:09:26 +00:00
Daniel Stenberg
9980568f42
removed '#if 0' sections
2000-11-29 08:16:27 +00:00
Daniel Stenberg
b8f7d94ef1
James Griffiths' max-redirs fix
2000-11-28 09:05:47 +00:00
Daniel Stenberg
b5739b3a97
document time fixes
2000-11-22 13:50:17 +00:00
Daniel Stenberg
c938166520
set rangestringalloc to 0 after the string has been freed to prevent it
...
from being freed twice (a NULL free the second time)
2000-11-21 19:06:55 +00:00
Daniel Stenberg
2a5e68ea89
added some defensive code around the GetHost()'s third argument result
2000-11-21 15:36:38 +00:00
Daniel Stenberg
3e5ba33e2d
removed two unused variables and added an extra set of parentheses, done
...
to remove pedantic compiler warnings
2000-11-21 09:31:55 +00:00
Daniel Stenberg
42280e95bf
removed URL size restrictions
2000-11-20 08:53:21 +00:00
Daniel Stenberg
91c879461e
Alexander Kourakos's lowercase environment variable fix
2000-11-20 07:35:21 +00:00
Daniel Stenberg
bda9fde4d8
spell correction resolv => resolve in two error messages
2000-11-18 16:31:27 +00:00
Daniel Stenberg
868488b518
memory leak cleanup campaign
2000-11-17 14:03:58 +00:00
Daniel Stenberg
2297bc4791
changed the 'port' field to long to better work with the va_arg() system
2000-11-17 09:48:21 +00:00
Daniel Stenberg
7b5c551835
adjusted to the changed getpass_r()
2000-11-10 09:19:09 +00:00
Daniel Stenberg
56548f9a13
getpass_r() is the new getpass name for thread-safe getpass!
2000-11-06 23:18:50 +00:00
Daniel Stenberg
9f4f16b55d
new getpass proto and function pointer usage
2000-11-06 22:53:50 +00:00
Daniel Stenberg
b6bb734215
Emmanuel Tychon found a problem when specifying user-name only in a URL
...
(and the password entered interactively). This fix also includes proper
URL-decoding of the user name and password if specified in the URL.
2000-11-06 08:12:30 +00:00
Daniel Stenberg
852b664e45
added signal in case sigaction is missing
2000-11-01 08:19:10 +00:00
Daniel Stenberg
0cff279063
new urldata ssl layout and T. Bharath brought the new SSL cert verify function
2000-10-30 11:53:40 +00:00
Daniel Stenberg
9d0d8280e9
Georg Horn provided a fix for the timeout signal stuff. Finally the timeout
...
switch should work under most unixes (requires sigaction())
2000-10-26 21:57:12 +00:00
Daniel Stenberg
02037971ed
renamed getpass() to my_getpass() and it is now thread-safe and should
...
disable passwd-echoing on win32 (supplied by Björn Stenberg)
2000-10-26 10:32:04 +00:00
Daniel Stenberg
c44b10de41
remote_port used in Host: headers only when non-default
2000-10-20 13:48:38 +00:00
Daniel Stenberg
751d503f54
sprintf() => snprintf()
2000-10-12 08:22:16 +00:00
Daniel Stenberg
7717212912
free the URL string if that was allocated
2000-10-11 10:58:37 +00:00