Daniel Stenberg
e54e0c7877
CURLOPT_BUFFERSIZE allows an application to set a prefered buffer size
...
for receiving data from the network. It is meant as a hint, not as a forced
limit.
2002-06-15 21:00:54 +00:00
Daniel Stenberg
2b34d4e1f7
- Yarram Sunil found out that the SocketIsDead() function performed a lot
...
faster on Windows when removing the 1 microsecond timeout.
2002-06-14 12:05:20 +00:00
Daniel Stenberg
38c994a7ae
put #ifdefs around the sigjmp_buf declaration too, as it should be
2002-06-11 15:47:01 +00:00
Daniel Stenberg
85e2e96fb6
corrected the signal handler
2002-06-11 15:44:27 +00:00
Daniel Stenberg
3c49b405de
Now uses sigsetjmp() and siglongjmp() to bail out from slow name lookups in
...
case a timeout is set. This seems to work. God knows if it is good enough
or what kind of side-effects we introduce here and now.
I'll close my eyes and cross my fingers. Hard.
2002-06-11 15:10:18 +00:00
Daniel Stenberg
e9f1c12f0f
removed accidentally added debug-code!
2002-06-11 14:10:32 +00:00
Daniel Stenberg
08ef208fb7
added disable-[protocol] support, largely provided by Miklos Nemeth
2002-06-11 11:13:01 +00:00
Daniel Stenberg
59c11b82d5
Cris Bailiff's CAPATH support added
2002-05-28 09:21:29 +00:00
Daniel Stenberg
ec585e8907
When re-using a connection, make sure that we use the current host name as
...
we might actually re-use a connection to a different host, when using proxies!
This was what bug report #558888 was all about.
2002-05-21 22:24:56 +00:00
Daniel Stenberg
105ec79b2b
James Cone's efforts to add another netrc parsing "mode"
2002-05-21 22:17:19 +00:00
Daniel Stenberg
980a47b42b
support for ingoring session cookies added
2002-05-07 09:58:13 +00:00
Daniel Stenberg
f7ca561b06
the code for case CURLOPT_DEBUGDATA code broke the CURLOPT_STDERR one!
2002-05-06 18:30:17 +00:00
Daniel Stenberg
00e4f81446
prevent persistant connections to do name resolves
2002-04-25 19:18:19 +00:00
Daniel Stenberg
8927ddec16
In order to not get problems with DNS cache pruning, we no longer store
...
any name resolved data in any curl handle struct. That way, we won't mind
if the cache entries are pruned for the next time we need them. We'll just
resolve them again instead.
This changes the Curl_resolv() proto. It modifies the SessionHandle struct
but perhaps most importantly, it'll make the internals somewhat dependent
on the DNS cache not being disabled as that will cripple operations somewhat.
Especially for persistant connections.
2002-04-25 19:00:57 +00:00
Daniel Stenberg
3b9ef8dfc8
removed warning about signed/unsigned comparison
2002-04-23 14:57:37 +00:00
Daniel Stenberg
471f1d694f
fixes bug report #547484 , no_proxy doesn't properly strip off port numbers
...
from the host names before comparing
2002-04-23 13:34:28 +00:00
Daniel Stenberg
c06171a802
store TIMER_CONNECT even if the connect failed
2002-04-12 10:03:59 +00:00
Daniel Stenberg
5528c1eaa5
corrected the verbose output for connects and fixed the connect time stamp
...
better for FTP (any protocol with protocol-specific connect actions)
2002-04-12 08:18:38 +00:00
Daniel Stenberg
3f6133be27
Jean-Philippe Barrette-LaPierre provided his patch that introduces
...
CURLOPT_DEBUGFUNCTION and CURLOPT_DEBUGDATA.
2002-04-12 07:21:11 +00:00
Daniel Stenberg
1cd5cdfccb
default proxy port set, as reported by Sebastien Willemijns
2002-04-10 14:07:03 +00:00
Daniel Stenberg
e8109b09b1
error code cleanup, use the new SEND/RECV errors
2002-04-10 13:44:42 +00:00
Daniel Stenberg
a03fd7b81c
T. Bharath pointed out the flaw in ConnectionExists() for how we didn't
...
check proxy connections for "deadness" before they were re-used
2002-04-04 12:23:14 +00:00
Daniel Stenberg
974f314f57
copyright string (year) update
2002-03-19 07:54:55 +00:00
Daniel Stenberg
7886f120f3
CURLOPT_POST deserved a new comment with the new POST-by-callback support
2002-03-14 14:37:16 +00:00
Daniel Stenberg
e1bae4fc7e
Setting CURLOPT_PASSWDFUNCTION to NULL now restores the internal function.
2002-03-13 13:10:52 +00:00
Daniel Stenberg
017be8a882
Jean-Philippe Barrette-LaPierre fixed the CURLOPT_PASSWDFUNCTION to make
...
NULL set back the internal default function
2002-03-08 15:06:42 +00:00
Daniel Stenberg
80b004a57d
Wesley Laxton's CURLOPT_PREQUOTE work
2002-02-28 23:31:23 +00:00
Daniel Stenberg
feb6b6445e
Giaslas Georgios's Host: over proxy fix
2002-02-17 11:17:37 +00:00
Daniel Stenberg
be2f3071b5
conn->upload_bufsize exists no more
2002-01-29 20:34:30 +00:00
Daniel Stenberg
76c53c690c
Giaslas Georgios introduced CURLINFO_CONTENT_TYPE
2002-01-29 10:49:32 +00:00
Daniel Stenberg
c341b11aaf
Steve Marx helped us realize that we shouldn't treat customrequest as a
...
request of its own, it just changes the keyword of a request.
2002-01-28 19:31:26 +00:00
Sterling Hughes
22ac08e06d
Add support for DNS cache timeouts via the CURLOPT_DNS_CACHE_TIMEOUT option.
...
The default cache timeout for this is 60 seconds, which is arbitrary and
completely subject to change :)
2002-01-08 04:26:47 +00:00
Sterling Hughes
8d7f402efb
Make cach'ing work with threads now, there are now three cases:
...
- Use a global dns cache (via setting the tentatively named,
CURLOPT_DNS_USE_GLOBAL_CACHE option to true)
- Use a per-handle dns cache, by default
- Use a pooled dns cache when in the "multi" interface
2002-01-07 20:52:32 +00:00
Daniel Stenberg
f75ff58b4b
an unconditional occurance of inet_ntoa() now uses inet_ntoa_r() on all
...
platforms that have such a function.
This affects multi-thread running libcurls on IPv4 systems that have VERBOSE
switched on. The previous version was risking that another thread overwrote
the data before it was read out in this thread. There could possibly also
be a slight risk that the data isn't zero terminated for a short while and
thus could cause the thread to crash...
2002-01-04 09:38:52 +00:00
Daniel Stenberg
8b6314ccfb
merged the multi-dev branch back into MAIN again
2002-01-03 15:01:22 +00:00
Daniel Stenberg
6de7dc5879
Sterling Hughes' provided initial DNS cache source code.
2002-01-03 10:22:59 +00:00
Daniel Stenberg
8a9098a36c
*cool* fix by Björn Stenberg, makes proxy transfers work better...! :-)
2001-12-20 15:58:22 +00:00
Daniel Stenberg
af6c394785
Götz Babin-Ebell's OpenSSL ENGINE patch
2001-12-17 23:01:39 +00:00
Daniel Stenberg
7b832e1745
Jon Travis suggested fix. when CURLOPT_HTTPGET is used we must assign
...
set.upload to FALSE or else we might still get an upload if the previous
operation was an upload!
2001-12-05 06:47:01 +00:00
Daniel Stenberg
c16c017f8b
more careful re-use of connections when SSL is used over proxies
2001-12-02 14:16:34 +00:00
Daniel Stenberg
533c24a471
disabling EPSV is now possible
2001-11-29 12:49:10 +00:00
Daniel Stenberg
332eb7651a
CURLOPT_FTP_USE_EPSV can now be set to FALSE to prevent libcurl from
...
attempting to use EPSV before the standard PASV.
2001-11-28 23:20:14 +00:00
Daniel Stenberg
05f3ca880f
made CURLOPT_HTTPPROXYTUNNEL work for plain HTTP as well
2001-11-12 14:08:41 +00:00
Daniel Stenberg
fe3a78ab19
we use signal() to ignore signals only as long as we have to, and we now
...
restore the previous (if any) signal handler properly on return.
2001-11-07 14:13:29 +00:00
Daniel Stenberg
1a984ea847
get the previous struct keep_sigact
2001-11-07 12:56:13 +00:00
Daniel Stenberg
2e32d415c0
myalarm() is history, we now use HAVE_ALARM and we now do our very best to
...
1 - restore the previous sigaction struct as soon as we are about to shut
off our timeout
2 - restore the previous alarm() timeout, in case an application or similar
had it running before we "borrowed" it for a while.
No, this does not fix the multi-thread problem you get with alarm(). This
patch should correct bug report #478780 :
//sourceforge.net/tracker/?func=detail&atid=100976&aid=478780&group_id=976
If not, please post details!
2001-11-06 19:33:13 +00:00
Daniel Stenberg
9b6545c479
ConnectionExists() now returns FALSE immediately if it finds a connection
...
that is dead, because it can only find one entry anyway and if that is dead
there won't be any other entry that matches
2001-11-01 13:54:32 +00:00
Daniel Stenberg
c4f1a9f690
Removed the SocketIsDead() stuff for SSL again as it doesn't work. We must
...
rely on the new go-ahead-and-try mechanism that I just added to Transfer()
2001-10-31 15:14:52 +00:00
Daniel Stenberg
b07e2a08f9
nonblock => Curl_nonblock, remade the check for a live SSL connection (again)
2001-10-31 08:44:11 +00:00
Daniel Stenberg
dbd32278f8
Added an additional SSL check for a dead socket before we re-use an SSL
...
connection. The simple socket-check is not enough in these cases.
2001-10-30 15:21:45 +00:00
Daniel Stenberg
42a9d96fae
fixed conn->name error on connection re-use and enlarged the 'gname' array
...
to hold 512 bytes (for user+password+hostname)
2001-10-29 10:10:21 +00:00
Daniel Stenberg
4e37187e44
now counts header size return from server and if nothing is returned from a
...
HTTP server we return error
2001-10-19 11:58:32 +00:00
Daniel Stenberg
532bca41e5
Curl_tvdiff() now returns a millisecond diff, no double like before
2001-10-12 12:32:20 +00:00
Sterling Hughes
8e91d5de8e
looks nicer and is better compatible with older vim versions
2001-10-11 09:32:19 +00:00
Daniel Stenberg
f2a25966cf
cookiejar now enables the cookie engine
2001-10-10 12:48:32 +00:00
Daniel Stenberg
a9181f8f00
added the option CURLOPT_HTTP_VERSION that can specify which HTTP version
...
libcurl should use in its request
2001-10-09 06:52:37 +00:00
Daniel Stenberg
3685f792cb
ignore SIGPIPE, as that can be actually get sent when we write to a socket
2001-10-09 06:23:26 +00:00
Daniel Stenberg
5d9ae88f58
getaddrinfo() cleanups
2001-10-04 13:25:12 +00:00
Daniel Stenberg
dd02881788
added port number in informational connect message
2001-10-02 12:51:15 +00:00
Daniel Stenberg
ced8955325
IPv6 adjustments, connect()ing to bad ports still don't work properly for
...
IPv6
2001-10-02 11:26:53 +00:00
Daniel Stenberg
51ca5fcbe0
major connecting updates
2001-10-02 09:40:06 +00:00
Daniel Stenberg
56ff2aa059
pick the correct timeout before the connecthost call
2001-10-01 23:25:59 +00:00
Daniel Stenberg
6918427fae
conn->hp is now conn->hostaddr
...
changed the Curl_connethost() proto again
2001-10-01 22:32:37 +00:00
Daniel Stenberg
09da90076f
moved the myalarm() usage, and now makes sure to switch it off after the
...
name resolving, as that should be the *ONLY* section in libcurl that may
take a while in a synchronous call.
2001-10-01 11:27:39 +00:00
Daniel Stenberg
c5fdeef41d
introduced non-blocking connects
2001-10-01 08:59:17 +00:00
Daniel Stenberg
48dc74aecc
more transparant support for IPv6 name resolving
2001-09-28 07:05:26 +00:00
Daniel Stenberg
b556d6caee
fixed bug report #462600 , following a Location: when the initial URL didn't
...
have a protocol:// part did wrong
2001-09-18 18:33:25 +00:00
Daniel Stenberg
146413a53c
the stuff formerly done in Curl_http_close is now done in Curl_close
2001-09-18 15:30:38 +00:00
Daniel Stenberg
bec97a0999
ConnectionKillOne() _can_ return -1 as an indication of error
...
This is T. Bharath's fix
2001-09-12 08:00:30 +00:00
Daniel Stenberg
a2c78607a6
CURLOPT_SSL_CIPHER_LIST support
2001-09-11 22:23:16 +00:00
Sterling Hughes
6147879837
Added formatting sections for emacs and vim
2001-09-07 04:01:32 +00:00
Daniel Stenberg
bae1a75731
use the LIBCURL_NAME instead of the "hardcoded" string
2001-09-03 07:01:49 +00:00
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
Daniel Stenberg
0f8facb49b
added memory debugging include file
2000-10-09 11:12:34 +00:00
Daniel Stenberg
c58dc8f82f
the --interface code doesn't work on win32 and is #ifndef WIN32 now
2000-10-06 11:03:20 +00:00
Daniel Stenberg
03a56b3e56
HTTP resume fix, now the range pointer may be allocated
2000-10-06 06:28:39 +00:00
Daniel Stenberg
2cdd150723
removed writeinfo stuff
2000-10-03 22:04:04 +00:00
Daniel Stenberg
eee5c71aff
inits the upload_bufsize at connect time
2000-10-03 11:03:55 +00:00
Daniel Stenberg
13962adcb5
7.3 commit
2000-09-28 10:26:44 +00:00
Daniel Stenberg
d03db1cd11
corrected curl_write() for kerberos
2000-09-25 22:16:36 +00:00
Daniel Stenberg
ce406a732f
krb4 support
...
new GetHost() usage
new base64 encoder usage
2000-09-21 08:50:05 +00:00
Daniel Stenberg
c9c7fcf411
Stephen Kick's interface fixes
2000-09-18 21:54:08 +00:00
Daniel Stenberg
86ff2c46b7
introduced 'tunnel through http proxy' for ftp
2000-09-14 14:05:01 +00:00
Daniel Stenberg
0a2f677374
file:// fix that prevents name lookup and sets no-upload and no-download
2000-09-14 10:41:07 +00:00
Daniel Stenberg
b6e18f2f66
#include "setup.h" moved first of all includes
2000-08-24 14:26:33 +00:00
Daniel Stenberg
1b1f143cd6
hostname and large file support added
2000-08-24 12:33:16 +00:00
Daniel Stenberg
e2a63bee59
removed HAVE_VPRINTF dependence
2000-08-17 15:40:26 +00:00
Daniel Stenberg
e7ce27a22c
Linux name resolving problem fixed with larger name-buffer
2000-08-11 18:08:50 +00:00
Daniel Stenberg
8fd44dd648
allow zero length user names for http
2000-08-08 13:46:26 +00:00
Daniel Stenberg
a79b541bd2
made urlfree static, added (void) in front of one of the SSL calls. I did
...
these changes when trying to run lclint on the curl code.
2000-07-31 21:31:27 +00:00
Daniel Stenberg
215c75135b
clear the httproxy bit on cleanup if the allocproxy bit was set
2000-07-28 07:56:06 +00:00
Daniel Stenberg
293cae68bf
uses the new curl_close function to clean up the http-specific auth_host
2000-07-25 21:17:45 +00:00
Daniel Stenberg
0cb4814105
tiny adjustments to set the start-time before the curl_connect() is called to
...
allow the connect function to better deal with timeouts, as was just added
to ftp
2000-07-25 12:13:57 +00:00
Daniel Stenberg
bb3fa8855c
Added CURLOPT_PROXYPORT support
...
Added a missing free() in curl_disconnect()
Made (https) connect errors abort better and earlier
2000-07-25 07:31:35 +00:00
Daniel Stenberg
1ef3600a07
haxx.nu => haxx.se
2000-06-20 15:31:26 +00:00
Daniel Stenberg
f30ffef477
autoreferer added, switches off POST on location: following
2000-06-20 09:28:09 +00:00
Daniel Stenberg
fb9c5650ce
progress.mode replaced with progress.callback
2000-06-16 13:17:07 +00:00
Daniel Stenberg
2488fff451
free-twice problem corrected
2000-06-13 08:11:45 +00:00
Daniel Stenberg
4fd4a6888a
added progress callback stuff, changed the callback typedefs to be public
2000-06-08 15:11:39 +00:00
Daniel Stenberg
6d522c9c1d
made getenv() more threadsafe for win32
2000-05-29 23:07:22 +00:00
Daniel Stenberg
a0ce95e155
David LeBlanc's fixes!
2000-05-29 22:51:13 +00:00
Daniel Stenberg
c35238e0a3
Jört Hartroth's updates
2000-05-22 17:18:55 +00:00
Daniel Stenberg
96dde76b99
moved here from the newlib branch
2000-05-22 14:12:12 +00:00
Daniel Stenberg
0d12792514
now uses a tiny bit of the new library interface!
2000-04-11 21:47:28 +00:00
Daniel Stenberg
75cd7f482d
now sends user agent to all requests that go through a http proxy
2000-04-08 19:29:58 +00:00
Daniel Stenberg
c30a3913b5
Marco's fix got adjusted
2000-04-04 18:08:34 +00:00
Daniel Stenberg
00ad88408d
Marco G. Salvagno's OS/2 patch is applied
2000-04-04 17:44:24 +00:00
Daniel Stenberg
0059911261
James Atwill correctly pointed out that curl didn't follow Location: headers
...
properly when the new URL is an absolute one to a different port than the
first URL...
2000-04-02 12:08:12 +00:00
Daniel Stenberg
2f668aba96
"H. Daphne Luong" <daphne@tellme.com> pointed out that curl cannot destroy
...
the proxy server data internally as it did, since when doing a location:
following it needs the proxy server string several times.
2000-03-27 21:36:05 +00:00
Daniel Stenberg
dfd341efd5
Added two new time stamp places
2000-03-01 22:05:11 +00:00
Daniel Stenberg
10f958029a
Added writeout stuff
2000-02-21 23:51:09 +00:00
Daniel Stenberg
8ed78f6c38
Now starts the progress meter timer at once!
2000-02-16 00:01:50 +00:00
Daniel Stenberg
582754c0e2
uses the new progress functions
2000-02-14 23:03:05 +00:00
Daniel Stenberg
bc375152b1
removed include upload.h
2000-02-01 23:57:54 +00:00
Daniel Stenberg
fd921c8cd6
removed the port number reset again, it is already being made when the
...
location: URL turns out to be an "absolute" one and that should be the only
time it is required.
2000-01-31 22:20:17 +00:00
Daniel Stenberg
2be8c7a4e9
- Oskar Liljeblad <osk@hem.passagen.se> pointed out and corrected a problem
...
in the Location: following system that made curl following a location: to a
different protocol to fail.
2000-01-19 21:57:48 +00:00
Daniel Stenberg
26e8ccc631
syncing with local edit
2000-01-10 23:36:14 +00:00
Daniel Stenberg
ae1912cb0d
Initial revision
1999-12-29 14:20:26 +00:00