Daniel Stenberg [Tue, 11 Jun 2002 07:20:21 +0000 (07:20 +0000)]
make sure data->set.postfields is non-NULL before doing strlen() on the
pointer. Bugs item #566835.
Daniel Stenberg [Mon, 10 Jun 2002 13:26:02 +0000 (13:26 +0000)]
getaddrinfo() failures now show port number too in informational output
Daniel Stenberg [Mon, 10 Jun 2002 13:25:03 +0000 (13:25 +0000)]
added a missing failf() for certain connect failures
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.
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().
Daniel Stenberg [Fri, 7 Jun 2002 06:17:05 +0000 (06:17 +0000)]
Added HAVE_SYS_TYPES_H
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
Daniel Stenberg [Wed, 5 Jun 2002 14:14:54 +0000 (14:14 +0000)]
set HAVE_RAND_STATUS too
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.
Daniel Stenberg [Tue, 4 Jun 2002 11:53:31 +0000 (11:53 +0000)]
more stuff since pre1
Daniel Stenberg [Mon, 3 Jun 2002 13:37:09 +0000 (13:37 +0000)]
indent like the other ones
Daniel Stenberg [Mon, 3 Jun 2002 13:20:23 +0000 (13:20 +0000)]
Christophe Espern wrote another binding!
Daniel Stenberg [Mon, 3 Jun 2002 13:04:35 +0000 (13:04 +0000)]
updated header
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
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.
Daniel Stenberg [Mon, 3 Jun 2002 12:46:32 +0000 (12:46 +0000)]
T. Bharath fixed higher resolution time for windows builds
Daniel Stenberg [Mon, 3 Jun 2002 12:46:04 +0000 (12:46 +0000)]
T. Bharath fixed the TIMER_REDIRECT.
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.
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.
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.
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
Daniel Stenberg [Tue, 28 May 2002 09:21:29 +0000 (09:21 +0000)]
Cris Bailiff's CAPATH support added
Daniel Stenberg [Wed, 22 May 2002 22:14:03 +0000 (22:14 +0000)]
new url, spell checked
Daniel Stenberg [Wed, 22 May 2002 11:08:19 +0000 (11:08 +0000)]
since 7.9.7
Daniel Stenberg [Tue, 21 May 2002 22:39:09 +0000 (22:39 +0000)]
James Cone's little work-around for the strict error
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.
Daniel Stenberg [Tue, 21 May 2002 22:22:28 +0000 (22:22 +0000)]
James Cone added the new CURL_NETRC_OPTION enum
Daniel Stenberg [Tue, 21 May 2002 22:20:52 +0000 (22:20 +0000)]
test suite mods for the netrc testing stuff
Daniel Stenberg [Tue, 21 May 2002 22:20:16 +0000 (22:20 +0000)]
James Cone added CURLOPT_NETRC / --netrc / --netrc-optional descriptions
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
Daniel Stenberg [Tue, 21 May 2002 22:17:19 +0000 (22:17 +0000)]
James Cone's efforts to add another netrc parsing "mode"
Daniel Stenberg [Tue, 21 May 2002 22:14:08 +0000 (22:14 +0000)]
five new test cases for the netrc parsing
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
Daniel Stenberg [Tue, 21 May 2002 14:00:55 +0000 (14:00 +0000)]
corrected see also
Daniel Stenberg [Tue, 21 May 2002 13:53:32 +0000 (13:53 +0000)]
3.14 added, javascript support
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.
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
Daniel Stenberg [Tue, 21 May 2002 07:47:09 +0000 (07:47 +0000)]
return type CURLFORMcode instead of plain int
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
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()
Daniel Stenberg [Fri, 17 May 2002 08:15:33 +0000 (08:15 +0000)]
removed compiler warnings
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
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.
Daniel Stenberg [Wed, 15 May 2002 21:40:29 +0000 (21:40 +0000)]
Added item 4.10 after talks with Russ Freeman
Daniel Stenberg [Mon, 13 May 2002 09:40:16 +0000 (09:40 +0000)]
7.9.7 commit
Daniel Stenberg [Mon, 13 May 2002 07:29:22 +0000 (07:29 +0000)]
we don't need win32sockets.c anymore, we support this internally
Daniel Stenberg [Mon, 13 May 2002 07:28:10 +0000 (07:28 +0000)]
fopen.c added, a fopen() style emulation for URL reading
Daniel Stenberg [Sun, 12 May 2002 16:10:12 +0000 (16:10 +0000)]
Friday's fixes
Daniel Stenberg [Fri, 10 May 2002 16:01:24 +0000 (16:01 +0000)]
AIX 5.1
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.
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! ;-)
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...
Daniel Stenberg [Tue, 7 May 2002 21:52:38 +0000 (21:52 +0000)]
7.9.7-pre2
Daniel Stenberg [Tue, 7 May 2002 13:13:17 +0000 (13:13 +0000)]
Added --trace-ascii support
Daniel Stenberg [Tue, 7 May 2002 13:12:12 +0000 (13:12 +0000)]
--trace-ascii and --junk-session-cookies were added
Daniel Stenberg [Tue, 7 May 2002 09:58:13 +0000 (09:58 +0000)]
support for ingoring session cookies added
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!
Daniel Stenberg [Mon, 6 May 2002 13:44:00 +0000 (13:44 +0000)]
recent fiddling
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
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
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.
Daniel Stenberg [Sun, 5 May 2002 09:09:17 +0000 (09:09 +0000)]
--trace is a 7.9.7 function
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
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
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
Daniel Stenberg [Fri, 3 May 2002 12:40:37 +0000 (12:40 +0000)]
fixed return code
Daniel Stenberg [Fri, 3 May 2002 12:21:07 +0000 (12:21 +0000)]
another week of changes
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.
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.
Daniel Stenberg [Fri, 3 May 2002 12:06:04 +0000 (12:06 +0000)]
make sure our own printf() clones are used
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!
Daniel Stenberg [Thu, 2 May 2002 22:34:31 +0000 (22:34 +0000)]
clarified that you must keep the variables that you point to!
Daniel Stenberg [Thu, 2 May 2002 22:15:21 +0000 (22:15 +0000)]
spell
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!
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
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()
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
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.
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
Daniel Stenberg [Tue, 30 Apr 2002 07:37:02 +0000 (07:37 +0000)]
how to set more than one cookie
Daniel Stenberg [Sat, 27 Apr 2002 22:21:51 +0000 (22:21 +0000)]
implemented curl_multi_info_read() which I had forgotten before!
Daniel Stenberg [Sat, 27 Apr 2002 20:19:55 +0000 (20:19 +0000)]
updated some docs
Daniel Stenberg [Sat, 27 Apr 2002 18:31:49 +0000 (18:31 +0000)]
clarified
Daniel Stenberg [Sat, 27 Apr 2002 18:12:26 +0000 (18:12 +0000)]
one added, one edited
Daniel Stenberg [Sat, 27 Apr 2002 18:01:54 +0000 (18:01 +0000)]
shorter introduction
Daniel Stenberg [Sat, 27 Apr 2002 18:00:10 +0000 (18:00 +0000)]
updated
Daniel Stenberg [Sat, 27 Apr 2002 17:02:38 +0000 (17:02 +0000)]
Added BINDINGS, lists all available libcurl bindings as of this date.
Daniel Stenberg [Sat, 27 Apr 2002 13:26:32 +0000 (13:26 +0000)]
fixes on rainy saturday in the end of April, 2002
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...
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
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.
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.
Daniel Stenberg [Fri, 26 Apr 2002 12:58:07 +0000 (12:58 +0000)]
openbsd on Alpha was no problemos
Daniel Stenberg [Fri, 26 Apr 2002 12:57:49 +0000 (12:57 +0000)]
test suite portability fix
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
Daniel Stenberg [Fri, 26 Apr 2002 07:45:39 +0000 (07:45 +0000)]
another week of changes
Daniel Stenberg [Thu, 25 Apr 2002 19:26:29 +0000 (19:26 +0000)]
adjusted to the new Curl_resolv() proto
Daniel Stenberg [Thu, 25 Apr 2002 19:18:19 +0000 (19:18 +0000)]
prevent persistant connections to do name resolves
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.
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...