compressed Content-Encoding!
(http://curl.haxx.se/bug/view.cgi?id=3000056)
-
+
Daniel Stenberg (12 May 2010)
- Howard Chu brought support for RTMP. This is powered by the underlying
librtmp library. It supports a range of variations and "sub-protocols"
That situation is subject for some closer inspection in the future.
- Howard Chu split the I/O handling functions into private handlers.
-
+
Howard Chu brought the bulk work of this patch that properly moves out the
sending and recving of data to the parts of the code that are properly
responsible for the various ways of doing so.
-
+
Daniel Stenberg assisted with polishing a few bits and fixed some minor
flaws in the original patch.
-
+
Another upside of this patch is that we now abuse CURLcodes less with the
"magic" -1 return codes and instead use CURLE_AGAIN more consistently.
- Ben Greear: If you pass a URL to pop3 that does not contain a message ID as
part of the URL, it would previously ask for 'INBOX' which just causes the
pop3 server to return an error.
-
+
Now libcurl treats en empty message ID as a request for LIST (list of pop3
message IDs). User's code could then parse this and download individual
messages as desired.
the last packet received constitutes the end of the response body, libcurl
still treats it as a timeout condition and reports a message like:
- "Operation timed out after 3000 milliseconds with 876 out of 876 bytes
+ "Operation timed out after 3000 milliseconds with 876 out of 876 bytes
received"
It should only a timeout if the timer lapsed and we DIDN'T receive the end
case of a timeout, the signal handler for SIGALRM never gets removed. I
think that in my case it gets executed at some point later on when execution
has long left Curl_resolv_timeout() or even the cURL library.
-
+
The code that is jumped to with siglongjmp() simply sets the error message
to "name lookup timed out" and then returns with CURLRESOLV_ERROR. I guess
that instead of simply returning without cleaning up, the code should have a
They should be set for protocol-specific proxies. General proxy should be
set with
-
+
ALL_PROXY
And a comma-separated list of host names that shouldn't go through any
/usr/local/include
/usr/include
)
-
+
SET(CARES_NAMES ${CARES_NAMES} cares)
FIND_LIBRARY(CARES_LIBRARY
NAMES ${CARES_NAMES}
check_include_file_concat("openssl/rand.h" HAVE_OPENSSL_RAND_H)
endif(CMAKE_USE_OPENSSL)
-if(NOT HAVE_LDAP_H)
+if(NOT HAVE_LDAP_H)
message(STATUS "LDAP_H not found CURL_DISABLE_LDAP set ON")
set(CURL_DISABLE_LDAP ON CACHE BOOL "" FORCE)
endif()
check_type_size("socklen_t" CURL_SIZEOF_CURL_SOCKLEN_T)
set(CMAKE_EXTRA_INCLUDE_FILES)
if(NOT HAVE_CURL_SIZEOF_CURL_SOCKLEN_T)
- message(FATAL_ERROR
+ message(FATAL_ERROR
"Check for sizeof socklen_t failed, see CMakeFiles/CMakerror.log")
endif()
else()
set BCCDIR=c:\Borland\BCC55
- In order to build a plain vanilla version of curl and libcurl run the
+ In order to build a plain vanilla version of curl and libcurl run the
following command from curl's root directory:
make borland
ifndef LIBIDN_PATH
LIBIDN_PATH = ../../../libidn-1.18
endif
-# Edit the path below to point to the base of your MS idndlpackage.
+# Edit the path below to point to the base of your MS IDN package.
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
ifndef WINIDN_PATH
# the most recent symbol
my $newsym = $recent[0];
# the most recent version
-my $newver = $doc{$newsym};
+my $newver = $doc{$newsym};
print "The scanned source uses these symbols introduced in $newver:\n";
ifndef LIBIDN_PATH
LIBIDN_PATH = ../../libidn-1.18
endif
-# Edit the path below to point to the base of your MS idndlpackage.
+# Edit the path below to point to the base of your MS IDN package.
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
ifndef WINIDN_PATH
<plist version="0.9">
<dict>
<key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
-
+ <string>6.0</string>
+
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
-
+
<key>CFBundleExecutable</key>
<string>curl</string>
-
+
<key>CFBundleIdentifier</key>
<string>com.libcurl.libcurl</string>
-
+
<key>CFBundleVersion</key>
<string>7.12.3</string>
<string>libcurl</string>
<key>CFBundlePackageType</key>
- <string>FMWK</string>
-
+ <string>FMWK</string>
+
<key>CFBundleSignature</key>
- <string>????</string>
-
+ <string>????</string>
+
<key>CFBundleShortVersionString</key>
<string>libcurl 7.12.3</string>
-
+
<key>CFBundleGetInfoString</key>
<string>libcurl.plist 7.12.3</string>
</dict>
-</plist>
\ No newline at end of file
+</plist>
my $ref = $2;
if ($ref =~ /refs\/tags\/curl-([0-9_]*)/) {
$tag = $1;
- $tag =~ tr/_/./;
+ $tag =~ tr/_/./;
} else {
$tag = '';
}
while($in =~ /[^<]*(<[^>]+>)/g ) {
# we have a tag in $1
$tag = $1;
-
+
if($tag =~ /^<!--/) {
# this is a comment tag, ignore it
}
$getserver = $2;
$getpath = $3;
$getdocument = "";
-
+
if($getpath !~ /\//) {
$getpath ="";
$getdocument = $3;
while($in =~ /[^<]*(<[^>]+>)/g ) {
# we have a tag in $1
my $tag = $1;
-
+
if($tag =~ /^<!--/) {
# this is a comment tag, ignore it
}
$getserver = $2;
$getpath = $3;
$getdocument = "";
-
+
if($getpath !~ /\//) {
$getpath ="";
$getdocument = $3;
while($in =~ /[^<]*(<[^>]+>)/g ) {
# we have a tag in $1
$tag = $1;
-
+
if($tag =~ /^<!--/) {
# this is a comment tag, ignore it
}
!ifdef %use_rtmp
@%append $^@ library $(LIBRTMP_ROOT)$(DS)librtmp$(DS)librtmp.lib, winmm.lib
!endif
-!ifdef %use_ssh2
- @%append $^@ library $(LIBSSH2_ROOT)$(DS)win32$(DS)libssh2.lib
+!ifdef %use_ssh2
+ @%append $^@ library $(LIBSSH2_ROOT)$(DS)win32$(DS)libssh2.lib
!endif
!ifdef %use_ssl
@%append $^@ library $(OPENSSL_ROOT)$(DS)out32$(DS)libeay32.lib, $(OPENSSL_ROOT)$(DS)out32$(DS)ssleay32.lib
ifndef LIBIDN_PATH
LIBIDN_PATH = ../../libidn-1.18
endif
-# Edit the path below to point to the base of your MS idndlpackage.
+# Edit the path below to point to the base of your MS IDN package.
# Microsoft Internationalized Domain Names (IDN) Mitigation APIs 1.1
# http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ad6158d7-ddba-416a-9109-07607425a815
ifndef WINIDN_PATH
return -1;
}
#ifdef USE_WINSOCK
- /*
+ /*
* Winsock select() requires that at least one of the three fd_set
* pointers is not NULL and points to a non-empty fdset. IOW Winsock
* select() can not be used to sleep without a single fd_set.
my @teststat; # teststat[testnum]=reason, reasons for skip
my %disabled_keywords; # key words of tests to skip
my %enabled_keywords; # key words of tests to run
-my %disabled; # disabled test cases
+my %disabled; # disabled test cases
my $sshdid; # for socks server, ssh daemon version id
my $sshdvernum; # for socks server, ssh daemon version number
$has_polarssl=1;
$has_openssl=1;
$ssllib="polarssl";
- }
+ }
elsif ($libcurl =~ /axtls/i) {
$has_axtls=1;
$ssllib="axTLS";
}
}
elsif($what eq "ftp2") {
- if($torture && $run{'ftp2'} &&
+ if($torture && $run{'ftp2'} &&
!responsive_pingpong_server("ftp", "2", $verbose)) {
stopserver('ftp2');
}
# *_LAST and *_LASTENTRY are just prefix for the placeholders used for the
# last entry in many enum series.
#
-
+
if($e =~ /(OBSOLETE|^CURL_EXTERN|_LAST\z|_LASTENTRY\z)/) {
$ignored++;
next;
scalar(@syms)- $ignored;
printf "%d symbols are listed in symbols-in-versions\n (out of which %d are listed as removed)\n", scalar(keys %doc), scalar(keys %rem);
printf "%d symbols in symbols-in-versions should match the ones in headers\n", scalar(keys %doc) - scalar(keys %rem);
-
}
if($misses) {
fail_unless( size == 0 , "initial size should be zero" );
fail_if( head == NULL , "head should not be initiated to NULL" );
-
+
/* you end the test code like this: */
-
+
UNITTEST_STOP
----------------------- end -------------------------------