diff options
author | wiz <wiz@pkgsrc.org> | 2003-05-20 11:54:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-05-20 11:54:12 +0000 |
commit | 32ccb41203577ca6fcd559a37849e1447eb54849 (patch) | |
tree | 7825f0c92b4b86ae93181f4fd0240d6f5903042f | |
parent | 173c8d348cbb9d6e8b18de243a1ad4b824db4aac (diff) | |
download | pkgsrc-32ccb41203577ca6fcd559a37849e1447eb54849.tar.gz |
Update to 7.10.5.
Extract of changes:
- Changed the order for the in_addr_t testing, as 'unsigned long' seems to be
a very common type inet_addr() returns.
- George Comninos provided a fix that calls the progress meter when waiting
for FTP command responses take >1 second. It'll make applications more
"responsive" even when dealing with very slow ftp servers.
- George Comninos pointed out that libcurl uploads had two quirks:
o when using FTP PORT command, it used blocking sockets!
o it could loop a long time without doing progress meter updates
Both items are fixed now.
- Dan Fandrich changed CURLOPT_ENCODING to select all supported encodings if
set to "". This frees the application from having to know which encodings
the library supports.
- Avery Fay found out that the CURLOPT_INTERFACE way of first checking if the
given name is a network interface gave a real performance penalty on Linux,
so now we more appropriately first check if it is an IP number and if so
we don't check for a network interface with that name.
- CURLOPT_FTP_USE_EPRT added. Set this to FALSE to disable libcurl's attempts
to use EPRT and LPRT before the traditional PORT command. The command line
tool sets this option with '--disable-eprt'.
- Added test case 62 and fixed some more on the cookie sending with a custom
Host: header set.
- Made the "SSL read error: 5" error message more verbose, by adding code that
queries the OpenSSL library to fill in the error buffer.
- Added sys/select.h include in the curl/multi.h file, after having been
reminded about this by Rich Gray.
- I made each test set its own server requirements, thus abandoning the
previous system where the test number implied what server(s) to use for a
specific test.
- David Balazic made curl more RFC1738-compliant for FTP URLs, by fixing so
that libcurl now uses one CWD command for each path part. A bunch of test
cases were fixed to work accordingly.
- Cookie fixes.
- Peter Kovacs provided a patch that makes the CURLINFO_CONNECT_TIME work fine
when using the multi interface (too).
- Peter Sylvester pointed out that curl_easy_setopt() will always (wrongly)
return CURLE_OK no matter what happens.
- Dan Fandrich fixed some gzip decompression bugs and flaws.
- Formposting a file using a .html suffix is now properly set to Content-Type: text/html.
- Fixed the SSL error handling to return proper SSL error messages again, they
broke in 7.10.4. I also attempt to track down CA cert problems and then
return the CURLE_SSL_CACERT error code.
- The curl tool now intercepts the CURLE_SSL_CACERT error code and displays
a fairly big and explanatory error message. Kevin Roth helped me out with
the wording.
- Nic Hines provided a second patch for gzip decompression, and fixed a bug
when deflate or gzip contents were downloaded using chunked encoding.
- Dan Fandrich made libcurl support automatic decompression of gzip contents
(as an addition to the previous deflate support).
- I made the CWD command during FTP session consider all 2xy codes to be OK
responses.
- Vlad Krupin fixed a URL parsing issue. URLs that were not using a slash
after the host name, but still had "?" and parameters appended, as in
"http://hostname.com?foobar=moo", were not properly parsed by libcurl.
- Made CURLOPT_TIMECONDITION work for FTP transfers, using the same syntax as
for HTTP. This then made -z work for ftp transfers too. Added test case 139
and 140 for verifying this.
- Getting the file date of an ftp file used the wrong time zone when
displayed. It is supposedly always GMT. Added test case 141 for this.
- Made the test suite's FTP server support MDTM.
- The default DEBUGFUNCTION, as enabled with CURLOPT_VERBOSE now outputs
CURLINFO_HEADER_IN data as well. The most notable effect from this is that
using curl -v, you get to see the incoming "headers" as well. This is
perhaps most useful when doing ftp.
- James Bursa fixed a flaw in the Content-Type extraction code, which missed
the first letter if no space followed the colon.
- Martijn Broenland found another cases where a server application didn't
like the boundary string used by curl when foing a multi-part/formpost. We
modified the boundary string to look like the one IE uses, as this is
probably gonna make curl work with more applications.
-rw-r--r-- | www/curl/Makefile | 4 | ||||
-rw-r--r-- | www/curl/distinfo | 8 | ||||
-rw-r--r-- | www/curl/patches/patch-ab | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile index 8c277a6bef7..6e988f73f03 100644 --- a/www/curl/Makefile +++ b/www/curl/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.25 2003/04/10 09:13:51 wiz Exp $ +# $NetBSD: Makefile,v 1.26 2003/05/20 11:54:12 wiz Exp $ -DISTNAME= curl-7.10.4 +DISTNAME= curl-7.10.5 CATEGORIES= www MASTER_SITES= http://curl.haxx.se/download/ \ ftp://ftp.sunet.se/pub/www/utilities/curl/ \ diff --git a/www/curl/distinfo b/www/curl/distinfo index b302e9b1a31..61e646b1c2a 100644 --- a/www/curl/distinfo +++ b/www/curl/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.19 2003/04/10 09:13:52 wiz Exp $ +$NetBSD: distinfo,v 1.20 2003/05/20 11:54:12 wiz Exp $ -SHA1 (curl-7.10.4.tar.gz) = 59f920ae96ca800683dd68a3b2a3de2d989e17de -Size (curl-7.10.4.tar.gz) = 1066195 bytes -SHA1 (patch-ab) = 753cc61d644b33a96af3025c444701231bacb323 +SHA1 (curl-7.10.5.tar.gz) = 91bf5f16460e996be68de68f3c2029a827abafb9 +Size (curl-7.10.5.tar.gz) = 1175053 bytes +SHA1 (patch-ab) = 546ba14671dd577950bc139cae4a5cb86aa417e5 diff --git a/www/curl/patches/patch-ab b/www/curl/patches/patch-ab index 1928dd56735..8d72b51c951 100644 --- a/www/curl/patches/patch-ab +++ b/www/curl/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.4 2003/02/09 08:46:36 shell Exp $ +$NetBSD: patch-ab,v 1.5 2003/05/20 11:54:13 wiz Exp $ ---- lib/ftp.c.orig Sun Feb 9 16:35:53 2003 +--- lib/ftp.c.orig Wed May 14 08:31:00 2003 +++ lib/ftp.c -@@ -1998,12 +1998,13 @@ CURLcode ftp_perform(struct connectdata +@@ -2050,12 +2050,13 @@ CURLcode ftp_perform(struct connectdata #ifdef HAVE_STRFTIME if(data->set.get_filetime && (data->info.filetime>=0) ) { @@ -17,4 +17,4 @@ $NetBSD: patch-ab,v 1.4 2003/02/09 08:46:36 shell Exp $ + tm = localtime(&filetime); #endif /* format: "Tue, 15 Nov 1994 12:45:26 GMT" */ - strftime(buf, BUFSIZE-1, "Last-Modified: %a, %d %b %Y %H:%M:%S %Z\r\n", + strftime(buf, BUFSIZE-1, "Last-Modified: %a, %d %b %Y %H:%M:%S GMT\r\n", |