platform/upstream/curl.git
22 years agoadded a missing failf() for certain connect failures
Daniel Stenberg [Mon, 10 Jun 2002 13:25:03 +0000 (13:25 +0000)]
added a missing failf() for certain connect failures

22 years agoThis fix MIGHT make us build nicely with OpenSSL 0.9.7. This fix is based
Daniel Stenberg [Mon, 10 Jun 2002 12:38:10 +0000 (12:38 +0000)]
This fix MIGHT make us build nicely with OpenSSL 0.9.7. This fix is based
on a patch from Jacob Meuser, input from Götz Babin-Ebell and my own
browsing of the latest include files.

22 years agoGautam Mani found a socket descriptor leak that happened when FTP transfers
Daniel Stenberg [Mon, 10 Jun 2002 12:34:04 +0000 (12:34 +0000)]
Gautam Mani found a socket descriptor leak that happened when FTP transfers
failed and you reinvoked curl_easy_perform().

22 years agoAdded HAVE_SYS_TYPES_H
Daniel Stenberg [Fri, 7 Jun 2002 06:17:05 +0000 (06:17 +0000)]
Added HAVE_SYS_TYPES_H

22 years agoGustaf Hui fixed curl_multi_remove_handle() to prevent a potential crash
Daniel Stenberg [Wed, 5 Jun 2002 21:29:20 +0000 (21:29 +0000)]
Gustaf Hui fixed curl_multi_remove_handle() to prevent a potential crash

22 years agoset HAVE_RAND_STATUS too
Daniel Stenberg [Wed, 5 Jun 2002 14:14:54 +0000 (14:14 +0000)]
set HAVE_RAND_STATUS too

22 years agohostcache_fixoffset() is now corrected to work on 64bit architectures
Daniel Stenberg [Wed, 5 Jun 2002 13:41:33 +0000 (13:41 +0000)]
hostcache_fixoffset() is now corrected to work on 64bit architectures
Bug report #564585.

22 years agomore stuff since pre1
Daniel Stenberg [Tue, 4 Jun 2002 11:53:31 +0000 (11:53 +0000)]
more stuff since pre1

22 years agoindent like the other ones
Daniel Stenberg [Mon, 3 Jun 2002 13:37:09 +0000 (13:37 +0000)]
indent like the other ones

22 years agoChristophe Espern wrote another binding!
Daniel Stenberg [Mon, 3 Jun 2002 13:20:23 +0000 (13:20 +0000)]
Christophe Espern wrote another binding!

22 years agoupdated header
Daniel Stenberg [Mon, 3 Jun 2002 13:04:35 +0000 (13:04 +0000)]
updated header

22 years agoT. Bharath's updates since curl now uses the winmm lib for higher resolution
Daniel Stenberg [Mon, 3 Jun 2002 12:48:31 +0000 (12:48 +0000)]
T. Bharath's updates since curl now uses the winmm lib for higher resolution
timer

22 years agoT. Bharath made the request size add up as it is documented to do.
Daniel Stenberg [Mon, 3 Jun 2002 12:47:08 +0000 (12:47 +0000)]
T. Bharath made the request size add up as it is documented to do.

22 years agoT. Bharath fixed higher resolution time for windows builds
Daniel Stenberg [Mon, 3 Jun 2002 12:46:32 +0000 (12:46 +0000)]
T. Bharath fixed higher resolution time for windows builds

22 years agoT. Bharath fixed the TIMER_REDIRECT.
Daniel Stenberg [Mon, 3 Jun 2002 12:46:04 +0000 (12:46 +0000)]
T. Bharath fixed the TIMER_REDIRECT.

22 years agoGetting an empty FTP file no longer makes us return error 19. An empty file
Daniel Stenberg [Tue, 28 May 2002 22:33:30 +0000 (22:33 +0000)]
Getting an empty FTP file no longer makes us return error 19. An empty file
is fine to get.

22 years ago Gustaf Hui provided new code that changes how curl_multi_info_read()
Daniel Stenberg [Tue, 28 May 2002 14:45:50 +0000 (14:45 +0000)]
 Gustaf Hui provided new code that changes how curl_multi_info_read()
 messages are stored, so that they don't have to be kept around for the multi
 handle's entire life time. He also made it return failure codes properly
 which it didn't do before.

 I made the messages only get stored per easy-handle so that they can be
 independently killed easier without ruining the "master list". It makes
 the info_read() function slightly less beautiful as it has to scan for
 messages to return, but it makes removing individual handles a lot easier
 and less error prone.

22 years agoAdjusted to make curl_multi_perform() work properly even when
Daniel Stenberg [Tue, 28 May 2002 14:18:36 +0000 (14:18 +0000)]
Adjusted to make curl_multi_perform() work properly even when
curl_multi_fdset() is not used.

22 years agoI trimmed the --help output slightly to better fit within 80 cols
Daniel Stenberg [Tue, 28 May 2002 09:31:48 +0000 (09:31 +0000)]
I trimmed the --help output slightly to better fit within 80 cols

22 years agoCris Bailiff's CAPATH support added
Daniel Stenberg [Tue, 28 May 2002 09:21:29 +0000 (09:21 +0000)]
Cris Bailiff's CAPATH support added

22 years agonew url, spell checked
Daniel Stenberg [Wed, 22 May 2002 22:14:03 +0000 (22:14 +0000)]
new url, spell checked

22 years agosince 7.9.7
Daniel Stenberg [Wed, 22 May 2002 11:08:19 +0000 (11:08 +0000)]
since 7.9.7

22 years agoJames Cone's little work-around for the strict error
Daniel Stenberg [Tue, 21 May 2002 22:39:09 +0000 (22:39 +0000)]
James Cone's little work-around for the strict error

22 years agoWhen re-using a connection, make sure that we use the current host name as
Daniel Stenberg [Tue, 21 May 2002 22:24:56 +0000 (22:24 +0000)]
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.

22 years agoJames Cone added the new CURL_NETRC_OPTION enum
Daniel Stenberg [Tue, 21 May 2002 22:22:28 +0000 (22:22 +0000)]
James Cone added the new CURL_NETRC_OPTION enum

22 years agotest suite mods for the netrc testing stuff
Daniel Stenberg [Tue, 21 May 2002 22:20:52 +0000 (22:20 +0000)]
test suite mods for the netrc testing stuff

22 years agoJames Cone added CURLOPT_NETRC / --netrc / --netrc-optional descriptions
Daniel Stenberg [Tue, 21 May 2002 22:20:16 +0000 (22:20 +0000)]
James Cone added CURLOPT_NETRC / --netrc / --netrc-optional descriptions

22 years agoUse the new CURLOPT_NETRC option and adds --netrc-optional, by James Cone
Daniel Stenberg [Tue, 21 May 2002 22:18:34 +0000 (22:18 +0000)]
Use the new CURLOPT_NETRC option and adds --netrc-optional, by James Cone

22 years agoJames Cone's efforts to add another netrc parsing "mode"
Daniel Stenberg [Tue, 21 May 2002 22:17:19 +0000 (22:17 +0000)]
James Cone's efforts to add another netrc parsing "mode"

22 years agofive new test cases for the netrc parsing
Daniel Stenberg [Tue, 21 May 2002 22:14:08 +0000 (22:14 +0000)]
five new test cases for the netrc parsing

22 years agomaprintf() and vmaprintf() now work better when printfing "%s" with an
Daniel Stenberg [Tue, 21 May 2002 17:59:57 +0000 (17:59 +0000)]
maprintf() and vmaprintf() now work better when printfing "%s" with an
empty string

22 years agocorrected see also
Daniel Stenberg [Tue, 21 May 2002 14:00:55 +0000 (14:00 +0000)]
corrected see also

22 years ago3.14 added, javascript support
Daniel Stenberg [Tue, 21 May 2002 13:53:32 +0000 (13:53 +0000)]
3.14 added, javascript support

22 years agoAdded source header and made it clear that this code was originally donated
Daniel Stenberg [Tue, 21 May 2002 08:22:00 +0000 (08:22 +0000)]
Added source header and made it clear that this code was originally donated
to us by Juergen Wilke.

22 years agoASN1 files don't work for the *chain_file(), make them use the previous
Daniel Stenberg [Tue, 21 May 2002 08:15:42 +0000 (08:15 +0000)]
ASN1 files don't work for the *chain_file(), make them use the previous
version

22 years agoreturn type CURLFORMcode instead of plain int
Daniel Stenberg [Tue, 21 May 2002 07:47:09 +0000 (07:47 +0000)]
return type CURLFORMcode instead of plain int

22 years agocurl_formadd() now returns 'CURLFORMcode' instead of int, to better enable
Daniel Stenberg [Tue, 21 May 2002 07:44:27 +0000 (07:44 +0000)]
curl_formadd() now returns 'CURLFORMcode' instead of int, to better enable
checking for particular errors. curl/curl.h defines the errros

22 years agoRoland Zimmermann's hint, we use SSL_CTX_use_certificate_chain_file() instead
Daniel Stenberg [Mon, 20 May 2002 14:25:35 +0000 (14:25 +0000)]
Roland Zimmermann's hint, we use SSL_CTX_use_certificate_chain_file() instead
of the previous one that used SSL_CTX_use_certificate_file()

22 years agoremoved compiler warnings
Daniel Stenberg [Fri, 17 May 2002 08:15:33 +0000 (08:15 +0000)]
removed compiler warnings

22 years agoFreeBSD needs sys/types.h before we include sys/select.h that was included
Daniel Stenberg [Fri, 17 May 2002 07:57:13 +0000 (07:57 +0000)]
FreeBSD needs sys/types.h before we include sys/select.h that was included
mainly for AIX in the first place...! As reported in bug report #556869

22 years agoFixes bug report #556930 - we need to make sure that the data is all right
Daniel Stenberg [Fri, 17 May 2002 07:49:28 +0000 (07:49 +0000)]
Fixes bug report #556930 - we need to make sure that the data is all right
after we've realloc() the packed hostent struct.

22 years agoAdded item 4.10 after talks with Russ Freeman
Daniel Stenberg [Wed, 15 May 2002 21:40:29 +0000 (21:40 +0000)]
Added item 4.10 after talks with Russ Freeman

22 years ago7.9.7 commit
Daniel Stenberg [Mon, 13 May 2002 09:40:16 +0000 (09:40 +0000)]
7.9.7 commit

22 years agowe don't need win32sockets.c anymore, we support this internally
Daniel Stenberg [Mon, 13 May 2002 07:29:22 +0000 (07:29 +0000)]
we don't need win32sockets.c anymore, we support this internally

22 years agofopen.c added, a fopen() style emulation for URL reading
Daniel Stenberg [Mon, 13 May 2002 07:28:10 +0000 (07:28 +0000)]
fopen.c added, a fopen() style emulation for URL reading

22 years agoFriday's fixes
Daniel Stenberg [Sun, 12 May 2002 16:10:12 +0000 (16:10 +0000)]
Friday's fixes

22 years agoAIX 5.1
Daniel Stenberg [Fri, 10 May 2002 16:01:24 +0000 (16:01 +0000)]
AIX 5.1

22 years agoKein Roth made --trace-ascii look even better, and make OD 0A occurances
Daniel Stenberg [Fri, 10 May 2002 15:59:42 +0000 (15:59 +0000)]
Kein Roth made --trace-ascii look even better, and make OD 0A occurances
get output as plain newlines.

22 years agoAIX wants sys/select.h for the fd_set stuff in curl/multi.h, and even though
Daniel Stenberg [Fri, 10 May 2002 14:37:39 +0000 (14:37 +0000)]
AIX wants sys/select.h for the fd_set stuff in curl/multi.h, and even though
it is a bit ugly work-around to add this here, it is still a working work-
around! ;-)

22 years agoPatrick Smith's contributed docs improvements for when NLST is used by
Daniel Stenberg [Tue, 7 May 2002 23:36:53 +0000 (23:36 +0000)]
Patrick Smith's contributed docs improvements for when NLST is used by
curl...

22 years ago7.9.7-pre2
Daniel Stenberg [Tue, 7 May 2002 21:52:38 +0000 (21:52 +0000)]
7.9.7-pre2

22 years agoAdded --trace-ascii support
Daniel Stenberg [Tue, 7 May 2002 13:13:17 +0000 (13:13 +0000)]
Added --trace-ascii support

22 years ago--trace-ascii and --junk-session-cookies were added
Daniel Stenberg [Tue, 7 May 2002 13:12:12 +0000 (13:12 +0000)]
--trace-ascii and --junk-session-cookies were added

22 years agosupport for ingoring session cookies added
Daniel Stenberg [Tue, 7 May 2002 09:58:13 +0000 (09:58 +0000)]
support for ingoring session cookies added

22 years agothe code for case CURLOPT_DEBUGDATA code broke the CURLOPT_STDERR one!
Daniel Stenberg [Mon, 6 May 2002 18:30:17 +0000 (18:30 +0000)]
the code for case CURLOPT_DEBUGDATA code broke the CURLOPT_STDERR one!

22 years agorecent fiddling
Daniel Stenberg [Mon, 6 May 2002 13:44:00 +0000 (13:44 +0000)]
recent fiddling

22 years agoCURLOPT_FILE and CURLOPT_INFILE have better aliases now:
Daniel Stenberg [Mon, 6 May 2002 13:43:35 +0000 (13:43 +0000)]
CURLOPT_FILE and CURLOPT_INFILE have better aliases now:
CURLOPT_WRITEDATA and CURLOPT_READDATA

22 years agoAdded multi-post.c, based on the source file posted by Gustaf Hui
Daniel Stenberg [Mon, 6 May 2002 13:38:28 +0000 (13:38 +0000)]
Added multi-post.c, based on the source file posted by Gustaf Hui

22 years agoBetter support for being used with the multi interface without the *fd_set()
Daniel Stenberg [Sun, 5 May 2002 12:11:03 +0000 (12:11 +0000)]
Better support for being used with the multi interface without the *fd_set()
and proper select()ing have been made.

22 years ago--trace is a 7.9.7 function
Daniel Stenberg [Sun, 5 May 2002 09:09:17 +0000 (09:09 +0000)]
--trace is a 7.9.7 function

22 years agoadded -Z/--max-redirs and --trace
Daniel Stenberg [Sun, 5 May 2002 09:08:26 +0000 (09:08 +0000)]
added -Z/--max-redirs and --trace
changed order of a few others to keep the a-z order

22 years agomade VERBOSE output more like it used to be, HEADER_IN is thus also ignored
Daniel Stenberg [Sat, 4 May 2002 15:36:07 +0000 (15:36 +0000)]
made VERBOSE output more like it used to be, HEADER_IN is thus also ignored
by the internal debugfunction callback

22 years agoCURL_MAX_WRITE_SIZE is a new exported define that informs about the biggest
Daniel Stenberg [Fri, 3 May 2002 14:50:29 +0000 (14:50 +0000)]
CURL_MAX_WRITE_SIZE is a new exported define that informs about the biggest
sized buffer that may be passed to a write callback

22 years agofixed return code
Daniel Stenberg [Fri, 3 May 2002 12:40:37 +0000 (12:40 +0000)]
fixed return code

22 years agoanother week of changes
Daniel Stenberg [Fri, 3 May 2002 12:21:07 +0000 (12:21 +0000)]
another week of changes

22 years ago- Added "--trace [file]" to the command line tool. It makes a very detailed
Daniel Stenberg [Fri, 3 May 2002 12:14:09 +0000 (12:14 +0000)]
- Added "--trace [file]" to the command line tool. It makes a very detailed
  trace dump get stored, with a full protocol dump that includes all received
  and transmitted data. This could be a very effective tool for debugging what
  goes wrong. This dump includes every byte the way it is sent to/received
  from the server. The dump is the plain-text version, so SSL transfers will
  still be readable.

22 years agomade the DEBUGFUNCTION get called properly on a few more places, especially
Daniel Stenberg [Fri, 3 May 2002 12:07:32 +0000 (12:07 +0000)]
made the DEBUGFUNCTION get called properly on a few more places, especially
for DATA_IN and DATA_OUT.

22 years agomake sure our own printf() clones are used
Daniel Stenberg [Fri, 3 May 2002 12:06:04 +0000 (12:06 +0000)]
make sure our own printf() clones are used

22 years ago-D now stores all headers to the same file if multiple URLs are given on the
Daniel Stenberg [Fri, 3 May 2002 09:47:25 +0000 (09:47 +0000)]
-D now stores all headers to the same file if multiple URLs are given on the
command line!

22 years agoclarified that you must keep the variables that you point to!
Daniel Stenberg [Thu, 2 May 2002 22:34:31 +0000 (22:34 +0000)]
clarified that you must keep the variables that you point to!

22 years agospell
Daniel Stenberg [Thu, 2 May 2002 22:15:21 +0000 (22:15 +0000)]
spell

22 years agouse and set the fd_set pointers instead of the actual values, as then we
Daniel Stenberg [Thu, 2 May 2002 22:14:31 +0000 (22:14 +0000)]
use and set the fd_set pointers instead of the actual values, as then we
work properly with the multi interface when the user has provided the
fd_sets!

22 years agoadded two pointers to the fd_set variables to read/write from, as sometimes
Daniel Stenberg [Thu, 2 May 2002 22:13:35 +0000 (22:13 +0000)]
added two pointers to the fd_set variables to read/write from, as sometimes
we need to point to user-provided fd_sets

22 years agoreturn CURLM_CALL_MULTI_PERFORM in one more case, and check return code
Daniel Stenberg [Thu, 2 May 2002 22:12:14 +0000 (22:12 +0000)]
return CURLM_CALL_MULTI_PERFORM in one more case, and check return code
from malloc()

22 years agomake sure the dns cache pointers in the easy handles are NULLed
Daniel Stenberg [Thu, 2 May 2002 18:07:38 +0000 (18:07 +0000)]
make sure the dns cache pointers in the easy handles are NULLed

22 years agoHanno Kranzhoff noticed we didn't properly reset the download/upload counters
Daniel Stenberg [Thu, 2 May 2002 08:52:09 +0000 (08:52 +0000)]
Hanno Kranzhoff noticed we didn't properly reset the download/upload counters
before transfers, when doing multiple ones on the same handle.

22 years agoJacky Lam's fix to make the realloc() of the hostent data work properly
Daniel Stenberg [Wed, 1 May 2002 11:36:13 +0000 (11:36 +0000)]
Jacky Lam's fix to make the realloc() of the hostent data work properly
even when the realloc() actually gets a new memory block

22 years agohow to set more than one cookie
Daniel Stenberg [Tue, 30 Apr 2002 07:37:02 +0000 (07:37 +0000)]
how to set more than one cookie

22 years agoimplemented curl_multi_info_read() which I had forgotten before!
Daniel Stenberg [Sat, 27 Apr 2002 22:21:51 +0000 (22:21 +0000)]
implemented curl_multi_info_read() which I had forgotten before!

22 years agoupdated some docs
Daniel Stenberg [Sat, 27 Apr 2002 20:19:55 +0000 (20:19 +0000)]
updated some docs

22 years agoclarified
Daniel Stenberg [Sat, 27 Apr 2002 18:31:49 +0000 (18:31 +0000)]
clarified

22 years agoone added, one edited
Daniel Stenberg [Sat, 27 Apr 2002 18:12:26 +0000 (18:12 +0000)]
one added, one edited

22 years agoshorter introduction
Daniel Stenberg [Sat, 27 Apr 2002 18:01:54 +0000 (18:01 +0000)]
shorter introduction

22 years agoupdated
Daniel Stenberg [Sat, 27 Apr 2002 18:00:10 +0000 (18:00 +0000)]
updated

22 years agoAdded BINDINGS, lists all available libcurl bindings as of this date.
Daniel Stenberg [Sat, 27 Apr 2002 17:02:38 +0000 (17:02 +0000)]
Added BINDINGS, lists all available libcurl bindings as of this date.

22 years agofixes on rainy saturday in the end of April, 2002
Daniel Stenberg [Sat, 27 Apr 2002 13:26:32 +0000 (13:26 +0000)]
fixes on rainy saturday in the end of April, 2002

22 years agoFixed the FTP response reader to deal with timeouts better. Previously it
Daniel Stenberg [Sat, 27 Apr 2002 13:24:06 +0000 (13:24 +0000)]
Fixed the FTP response reader to deal with timeouts better. Previously it
would reset the timeout for each incoming data, which would make veeery
slow responses be allowed to take even more time since the timeout would only
be reached if the time between two received data chunks was longer than the
set timeout value...

22 years ago(Curl_GetFTPResponse) moved some code to only get performed when actually
Daniel Stenberg [Sat, 27 Apr 2002 13:09:37 +0000 (13:09 +0000)]
(Curl_GetFTPResponse) moved some code to only get performed when actually
needed

22 years agoNow uses Curl_ as prefix for internal global symbols. curl_ should only be
Daniel Stenberg [Sat, 27 Apr 2002 13:07:51 +0000 (13:07 +0000)]
Now uses Curl_ as prefix for internal global symbols. curl_ should only be
used for "exported" globals.

22 years agoDNC cache prune crash removed, made the name spacing follow the general
Daniel Stenberg [Sat, 27 Apr 2002 13:06:40 +0000 (13:06 +0000)]
DNC cache prune crash removed, made the name spacing follow the general
rule: "Curl_" prefix for library-wide private symbols, "curl_" is for
exported symbols.

22 years agoopenbsd on Alpha was no problemos
Daniel Stenberg [Fri, 26 Apr 2002 12:58:07 +0000 (12:58 +0000)]
openbsd on Alpha was no problemos

22 years agotest suite portability fix
Daniel Stenberg [Fri, 26 Apr 2002 12:57:49 +0000 (12:57 +0000)]
test suite portability fix

22 years agohandles much larger POSTs, replaced snprintf() with sprintf() since this
Daniel Stenberg [Fri, 26 Apr 2002 07:48:05 +0000 (07:48 +0000)]
handles much larger POSTs, replaced snprintf() with sprintf() since this
needs to be more portable and in the test server we can skip the extra
safety

22 years agoanother week of changes
Daniel Stenberg [Fri, 26 Apr 2002 07:45:39 +0000 (07:45 +0000)]
another week of changes

22 years agoadjusted to the new Curl_resolv() proto
Daniel Stenberg [Thu, 25 Apr 2002 19:26:29 +0000 (19:26 +0000)]
adjusted to the new Curl_resolv() proto

22 years agoprevent persistant connections to do name resolves
Daniel Stenberg [Thu, 25 Apr 2002 19:18:19 +0000 (19:18 +0000)]
prevent persistant connections to do name resolves

22 years agoIn order to not get problems with DNS cache pruning, we no longer store
Daniel Stenberg [Thu, 25 Apr 2002 19:00:57 +0000 (19:00 +0000)]
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.

22 years agothe TOTAL_TIME is not really total, as it excludes the connect time...
Daniel Stenberg [Thu, 25 Apr 2002 16:45:15 +0000 (16:45 +0000)]
the TOTAL_TIME is not really total, as it excludes the connect time...

22 years agouse the hostname pointer instead of using IPv4-only info from a struct
Daniel Stenberg [Thu, 25 Apr 2002 15:50:49 +0000 (15:50 +0000)]
use the hostname pointer instead of using IPv4-only info from a struct

22 years agoclarified a bit with the timecondition stuff
Daniel Stenberg [Wed, 24 Apr 2002 10:16:46 +0000 (10:16 +0000)]
clarified a bit with the timecondition stuff