mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
7.2 cleanup commit
This commit is contained in:
parent
216b198494
commit
61c4342736
76
aclocal.m4
vendored
76
aclocal.m4
vendored
@ -10,6 +10,82 @@ dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|||||||
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
dnl PARTICULAR PURPOSE.
|
dnl PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
#serial 12
|
||||||
|
|
||||||
|
dnl By default, many hosts won't let programs access large files;
|
||||||
|
dnl one must use special compiler options to get large-file access to work.
|
||||||
|
dnl For more details about this brain damage please see:
|
||||||
|
dnl http://www.sas.com/standards/large.file/x_open.20Mar96.html
|
||||||
|
|
||||||
|
dnl Written by Paul Eggert <eggert@twinsun.com>.
|
||||||
|
|
||||||
|
dnl Internal subroutine of AC_SYS_LARGEFILE.
|
||||||
|
dnl AC_SYS_LARGEFILE_TEST_INCLUDES
|
||||||
|
AC_DEFUN(AC_SYS_LARGEFILE_TEST_INCLUDES,
|
||||||
|
[[#include <sys/types.h>
|
||||||
|
int a[(off_t) 9223372036854775807 == 9223372036854775807 ? 1 : -1];
|
||||||
|
]])
|
||||||
|
|
||||||
|
dnl Internal subroutine of AC_SYS_LARGEFILE.
|
||||||
|
dnl AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, CACHE-VAR, COMMENT, INCLUDES, FUNCTION-BODY)
|
||||||
|
AC_DEFUN(AC_SYS_LARGEFILE_MACRO_VALUE,
|
||||||
|
[AC_CACHE_CHECK([for $1 value needed for large files], $3,
|
||||||
|
[$3=no
|
||||||
|
AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES
|
||||||
|
$5
|
||||||
|
,
|
||||||
|
[$6],
|
||||||
|
,
|
||||||
|
[AC_TRY_COMPILE([#define $1 $2]
|
||||||
|
AC_SYS_LARGEFILE_TEST_INCLUDES
|
||||||
|
$5
|
||||||
|
,
|
||||||
|
[$6],
|
||||||
|
[$3=$2])])])
|
||||||
|
if test "[$]$3" != no; then
|
||||||
|
AC_DEFINE_UNQUOTED([$1], [$]$3, [$4])
|
||||||
|
fi])
|
||||||
|
|
||||||
|
AC_DEFUN(AC_SYS_LARGEFILE,
|
||||||
|
[AC_ARG_ENABLE(largefile,
|
||||||
|
[ --disable-largefile omit support for large files])
|
||||||
|
if test "$enable_largefile" != no; then
|
||||||
|
|
||||||
|
AC_CACHE_CHECK([for special C compiler options needed for large files],
|
||||||
|
ac_cv_sys_largefile_CC,
|
||||||
|
[ac_cv_sys_largefile_CC=no
|
||||||
|
if test "$GCC" != yes; then
|
||||||
|
# IRIX 6.2 and later do not support large files by default,
|
||||||
|
# so use the C compiler's -n32 option if that helps.
|
||||||
|
AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, , ,
|
||||||
|
[ac_save_CC="$CC"
|
||||||
|
CC="$CC -n32"
|
||||||
|
AC_TRY_COMPILE(AC_SYS_LARGEFILE_TEST_INCLUDES, ,
|
||||||
|
ac_cv_sys_largefile_CC=' -n32')
|
||||||
|
CC="$ac_save_CC"])
|
||||||
|
fi])
|
||||||
|
if test "$ac_cv_sys_largefile_CC" != no; then
|
||||||
|
CC="$CC$ac_cv_sys_largefile_CC"
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
|
||||||
|
ac_cv_sys_file_offset_bits,
|
||||||
|
[Number of bits in a file offset, on hosts where this is settable.])
|
||||||
|
AC_SYS_LARGEFILE_MACRO_VALUE(_LARGEFILE_SOURCE, 1,
|
||||||
|
ac_cv_sys_largefile_source,
|
||||||
|
[Define to make ftello visible on some hosts (e.g. HP-UX 10.20).],
|
||||||
|
[#include <stdio.h>], [return !ftello;])
|
||||||
|
AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1,
|
||||||
|
ac_cv_sys_large_files,
|
||||||
|
[Define for large files, on AIX-style hosts.])
|
||||||
|
dnl lftp does not need ftello, and _XOPEN_SOURCE=500 makes resolv.h fail.
|
||||||
|
dnl AC_SYS_LARGEFILE_MACRO_VALUE(_XOPEN_SOURCE, 500,
|
||||||
|
dnl ac_cv_sys_xopen_source,
|
||||||
|
dnl [Define to make ftello visible on some hosts (e.g. glibc 2.1.3).],
|
||||||
|
dnl [#include <stdio.h>], [return !ftello;])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
||||||
|
|
||||||
AC_DEFUN(AM_CONFIG_HEADER,
|
AC_DEFUN(AM_CONFIG_HEADER,
|
||||||
|
18
config.h.in
18
config.h.in
@ -43,6 +43,12 @@
|
|||||||
/* Define if you have the gethostbyname_r() function with 6 arguments */
|
/* Define if you have the gethostbyname_r() function with 6 arguments */
|
||||||
#undef HAVE_GETHOSTBYNAME_R_6
|
#undef HAVE_GETHOSTBYNAME_R_6
|
||||||
|
|
||||||
|
/* Define if you have the inet_ntoa_r function declared. */
|
||||||
|
#undef HAVE_INET_NTOA_R_DECL
|
||||||
|
|
||||||
|
/* Define if you need the _REENTRANT define for some functions */
|
||||||
|
#undef NEED_REENTRANT
|
||||||
|
|
||||||
/* The number of bytes in a long double. */
|
/* The number of bytes in a long double. */
|
||||||
#undef SIZEOF_LONG_DOUBLE
|
#undef SIZEOF_LONG_DOUBLE
|
||||||
|
|
||||||
@ -163,6 +169,9 @@
|
|||||||
/* Define if you have the <netdb.h> header file. */
|
/* Define if you have the <netdb.h> header file. */
|
||||||
#undef HAVE_NETDB_H
|
#undef HAVE_NETDB_H
|
||||||
|
|
||||||
|
/* Define if you have the <netinet/if_ether.h> header file. */
|
||||||
|
#undef HAVE_NETINET_IF_ETHER_H
|
||||||
|
|
||||||
/* Define if you have the <netinet/in.h> header file. */
|
/* Define if you have the <netinet/in.h> header file. */
|
||||||
#undef HAVE_NETINET_IN_H
|
#undef HAVE_NETINET_IN_H
|
||||||
|
|
||||||
@ -265,6 +274,15 @@
|
|||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||||
|
#undef _FILE_OFFSET_BITS
|
||||||
|
|
||||||
|
/* Define to make ftello visible on some hosts (e.g. HP-UX 10.20). */
|
||||||
|
#undef _LARGEFILE_SOURCE
|
||||||
|
|
||||||
|
/* Define for large files, on AIX-style hosts. */
|
||||||
|
#undef _LARGE_FILES
|
||||||
|
|
||||||
/* Set to explicitly specify we don't want to use thread-safe functions */
|
/* Set to explicitly specify we don't want to use thread-safe functions */
|
||||||
#undef DISABLED_THREADSAFE
|
#undef DISABLED_THREADSAFE
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ Standards
|
|||||||
|
|
||||||
Compilers
|
Compilers
|
||||||
---------
|
---------
|
||||||
MingW32 - http://www.xraylith.wisc.edu/~khan/software/gnu-win32/index.html
|
MingW32 - http://www.mingw.org
|
||||||
|
|
||||||
gcc - http://www.gnu.org/software/gcc/gcc.html
|
gcc - http://www.gnu.org/software/gcc/gcc.html
|
||||||
|
|
||||||
|
@ -422,8 +422,8 @@ char *curl_getenv(char *variable);
|
|||||||
char *curl_version(void);
|
char *curl_version(void);
|
||||||
|
|
||||||
/* This is the version number */
|
/* This is the version number */
|
||||||
#define LIBCURL_VERSION "7.1.1"
|
#define LIBCURL_VERSION "7.2"
|
||||||
#define LIBCURL_VERSION_NUM 0x070101
|
#define LIBCURL_VERSION_NUM 0x070200
|
||||||
|
|
||||||
/* linked-list structure for the CURLOPT_QUOTE option */
|
/* linked-list structure for the CURLOPT_QUOTE option */
|
||||||
struct curl_slist {
|
struct curl_slist {
|
||||||
|
9
reconf
9
reconf
@ -9,8 +9,7 @@ die(){
|
|||||||
echo "$@" ; exit
|
echo "$@" ; exit
|
||||||
}
|
}
|
||||||
|
|
||||||
aclocal || die "ahhhhh"
|
aclocal -I . || die "ahhhhh"
|
||||||
autoheader || die "ahhhhh"
|
autoheader || die "ahhhhh"
|
||||||
automake || die "ahhhhh"
|
automake || die "ahhhhh"
|
||||||
autoconf || die "ahhhhh"
|
autoconf || die "ahhhhh"
|
||||||
|
|
||||||
|
@ -110,16 +110,32 @@ puts (
|
|||||||
" -d/--data <data>\n"
|
" -d/--data <data>\n"
|
||||||
" (HTTP) Sends the specified data in a POST request to\n"
|
" (HTTP) Sends the specified data in a POST request to\n"
|
||||||
" the HTTP server. Note that the data is sent exactly as\n"
|
" the HTTP server. Note that the data is sent exactly as\n"
|
||||||
" specified with no extra processing. The data is\n"
|
" specified with no extra processing (with all newlines\n"
|
||||||
" expected to be \"url-encoded\". This will cause curl to\n"
|
" cut off). The data is expected to be \"url-encoded\".\n"
|
||||||
" pass the data to the server using the content-type\n"
|
" This will cause curl to pass the data to the server\n"
|
||||||
" application/x-www-form-urlencoded. Compare to -F.\n"
|
" using the content-type application/x-www-form-urlen\n"
|
||||||
|
" coded. Compare to -F.\n"
|
||||||
"\n"
|
"\n"
|
||||||
" If you start the data with the letter @, the rest\n"
|
" If you start the data with the letter @, the rest\n"
|
||||||
" should be a file name to read the data from, or - if\n"
|
" should be a file name to read the data from, or - if\n"
|
||||||
" you want curl to read the data from stdin. The con\n"
|
" you want curl to read the data from stdin. The con\n"
|
||||||
" tents of the file must already be url-encoded.\n"
|
" tents of the file must already be url-encoded.\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
" To post data purely binary, you should instead use the\n"
|
||||||
|
" --data-binary option.\n"
|
||||||
|
"\n"
|
||||||
|
" -d/--data is the same as --data-ascii.\n"
|
||||||
|
"\n"
|
||||||
|
" --data-ascii <data>\n"
|
||||||
|
" (HTTP) This is an alias for the -d/--data option.\n"
|
||||||
|
"\n"
|
||||||
|
" --data-binary <data>\n"
|
||||||
|
" (HTTP) This posts data in a similar manner as --data-\n"
|
||||||
|
" ascii does, although when using this option the entire\n"
|
||||||
|
" context of the posted data is kept as-is. If you want\n"
|
||||||
|
" to post a binary file without the strip-newlines fea\n"
|
||||||
|
" ture of the --data-ascii option, this is for you.\n"
|
||||||
|
"\n"
|
||||||
" -D/--dump-header <file>\n"
|
" -D/--dump-header <file>\n"
|
||||||
" (HTTP/FTP) Write the HTTP headers to this file. Write\n"
|
" (HTTP/FTP) Write the HTTP headers to this file. Write\n"
|
||||||
" the FTP file info to this file if -I/--head is used.\n"
|
" the FTP file info to this file if -I/--head is used.\n"
|
||||||
@ -198,7 +214,6 @@ puts (
|
|||||||
" (HTTP) Include the HTTP-header in the output. The HTTP-\n"
|
" (HTTP) Include the HTTP-header in the output. The HTTP-\n"
|
||||||
" header includes things like server-name, date of the\n"
|
" header includes things like server-name, date of the\n"
|
||||||
" document, HTTP-version and more...\n"
|
" document, HTTP-version and more...\n"
|
||||||
"\n"
|
|
||||||
" -I/--head\n"
|
" -I/--head\n"
|
||||||
" (HTTP/FTP) Fetch the HTTP-header only! HTTP-servers\n"
|
" (HTTP/FTP) Fetch the HTTP-header only! HTTP-servers\n"
|
||||||
" feature the command HEAD which this uses to get nothing\n"
|
" feature the command HEAD which this uses to get nothing\n"
|
||||||
@ -211,10 +226,13 @@ puts (
|
|||||||
" arguments can be written which then will be used as if\n"
|
" arguments can be written which then will be used as if\n"
|
||||||
" they were written on the actual command line. If the\n"
|
" they were written on the actual command line. If the\n"
|
||||||
" first column of a config line is a '#' character, the\n"
|
" first column of a config line is a '#' character, the\n"
|
||||||
|
);
|
||||||
|
puts(
|
||||||
" rest of the line will be treated as a comment.\n"
|
" rest of the line will be treated as a comment.\n"
|
||||||
"\n"
|
"\n"
|
||||||
" Specify the filename as '-' to make curl read the file\n"
|
" Specify the filename as '-' to make curl read the file\n"
|
||||||
" from stdin.\n"
|
" from stdin.\n"
|
||||||
|
"\n"
|
||||||
" -l/--list-only\n"
|
" -l/--list-only\n"
|
||||||
" (FTP) When listing an FTP directory, this switch forces\n"
|
" (FTP) When listing an FTP directory, this switch forces\n"
|
||||||
" a name-only view. Especially useful if you want to\n"
|
" a name-only view. Especially useful if you want to\n"
|
||||||
@ -226,8 +244,6 @@ puts (
|
|||||||
" (HTTP/HTTPS) If the server reports that the requested\n"
|
" (HTTP/HTTPS) If the server reports that the requested\n"
|
||||||
" page has a different location (indicated with the\n"
|
" page has a different location (indicated with the\n"
|
||||||
" header line Location:) this flag will let curl attempt\n"
|
" header line Location:) this flag will let curl attempt\n"
|
||||||
);
|
|
||||||
puts(
|
|
||||||
" to reattempt the get on the new place. If used together\n"
|
" to reattempt the get on the new place. If used together\n"
|
||||||
" with -i or -I, headers from all requested pages will be\n"
|
" with -i or -I, headers from all requested pages will be\n"
|
||||||
" shown. If this flag is used when making a HTTP POST,\n"
|
" shown. If this flag is used when making a HTTP POST,\n"
|
||||||
@ -304,7 +320,6 @@ puts (
|
|||||||
"\n"
|
"\n"
|
||||||
" - (any single-letter string) to make it pick\n"
|
" - (any single-letter string) to make it pick\n"
|
||||||
" the machine's default\n"
|
" the machine's default\n"
|
||||||
"\n"
|
|
||||||
" -q If used as the first parameter on the command line, the\n"
|
" -q If used as the first parameter on the command line, the\n"
|
||||||
" $HOME/.curlrc file will not be read and used as a con\n"
|
" $HOME/.curlrc file will not be read and used as a con\n"
|
||||||
" fig file.\n"
|
" fig file.\n"
|
||||||
@ -320,6 +335,7 @@ puts (
|
|||||||
" to be run before and after the transfer. If the server\n"
|
" to be run before and after the transfer. If the server\n"
|
||||||
" returns failure for one of the commands, the entire\n"
|
" returns failure for one of the commands, the entire\n"
|
||||||
" operation will be aborted.\n"
|
" operation will be aborted.\n"
|
||||||
|
"\n"
|
||||||
" -r/--range <range>\n"
|
" -r/--range <range>\n"
|
||||||
" (HTTP/FTP) Retrieve a byte range (i.e a partial docu\n"
|
" (HTTP/FTP) Retrieve a byte range (i.e a partial docu\n"
|
||||||
" ment) from a HTTP/1.1 or FTP server. Ranges can be\n"
|
" ment) from a HTTP/1.1 or FTP server. Ranges can be\n"
|
||||||
@ -356,7 +372,6 @@ puts (
|
|||||||
" -s/--silent\n"
|
" -s/--silent\n"
|
||||||
" Silent mode. Don't show progress meter or error mes\n"
|
" Silent mode. Don't show progress meter or error mes\n"
|
||||||
" sages. Makes Curl mute.\n"
|
" sages. Makes Curl mute.\n"
|
||||||
"\n"
|
|
||||||
" -S/--show-error\n"
|
" -S/--show-error\n"
|
||||||
" When used with -s it makes curl show error message if\n"
|
" When used with -s it makes curl show error message if\n"
|
||||||
" it fails.\n"
|
" it fails.\n"
|
||||||
@ -408,9 +423,9 @@ puts (
|
|||||||
" particular file you specify it \"@filename\" and to tell\n"
|
" particular file you specify it \"@filename\" and to tell\n"
|
||||||
" curl to read the format from stdin you write \"@-\".\n"
|
" curl to read the format from stdin you write \"@-\".\n"
|
||||||
"\n"
|
"\n"
|
||||||
" The variables present in the output format will be sub\n"
|
" The variables present in the output format will be\n"
|
||||||
" stituted by the value or text that curl thinks fit, as\n"
|
" substituted by the value or text that curl thinks fit,\n"
|
||||||
" described below. All variables are specified like\n"
|
" as described below. All variables are specified like\n"
|
||||||
" %{variable_name} and to output a normal % you just\n"
|
" %{variable_name} and to output a normal % you just\n"
|
||||||
" write them like %%. You can output a newline by using\n"
|
" write them like %%. You can output a newline by using\n"
|
||||||
" \\n, a carrige return with \\r and a tab space with \\t.\n"
|
" \\n, a carrige return with \\r and a tab space with \\t.\n"
|
||||||
@ -424,6 +439,7 @@ puts (
|
|||||||
" url_effective The URL that was fetched last. This is\n"
|
" url_effective The URL that was fetched last. This is\n"
|
||||||
" mostly meaningful if you've told curl to\n"
|
" mostly meaningful if you've told curl to\n"
|
||||||
" follow location: headers.\n"
|
" follow location: headers.\n"
|
||||||
|
"\n"
|
||||||
" http_code The numerical code that was found in the\n"
|
" http_code The numerical code that was found in the\n"
|
||||||
" last retrieved HTTP(S) page.\n"
|
" last retrieved HTTP(S) page.\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -447,6 +463,8 @@ puts (
|
|||||||
" transfer commands and negotiations that\n"
|
" transfer commands and negotiations that\n"
|
||||||
" are specific to the particular proto\n"
|
" are specific to the particular proto\n"
|
||||||
" col(s) involved.\n"
|
" col(s) involved.\n"
|
||||||
|
);
|
||||||
|
puts(
|
||||||
"\n"
|
"\n"
|
||||||
" size_download The total amount of bytes that were\n"
|
" size_download The total amount of bytes that were\n"
|
||||||
" downloaded.\n"
|
" downloaded.\n"
|
||||||
@ -459,15 +477,12 @@ puts (
|
|||||||
"\n"
|
"\n"
|
||||||
" speed_upload The average upload speed that curl mea\n"
|
" speed_upload The average upload speed that curl mea\n"
|
||||||
" sured for the complete download.\n"
|
" sured for the complete download.\n"
|
||||||
"\n"
|
|
||||||
" -x/--proxy <proxyhost[:port]>\n"
|
" -x/--proxy <proxyhost[:port]>\n"
|
||||||
" Use specified proxy. If the port number is not speci\n"
|
" Use specified proxy. If the port number is not speci\n"
|
||||||
" fied, it is assumed at port 1080.\n"
|
" fied, it is assumed at port 1080.\n"
|
||||||
"\n"
|
"\n"
|
||||||
" -X/--request <command>\n"
|
" -X/--request <command>\n"
|
||||||
" (HTTP) Specifies a custom request to use when communi\n"
|
" (HTTP) Specifies a custom request to use when communi\n"
|
||||||
);
|
|
||||||
puts(
|
|
||||||
" cating with the HTTP server. The specified request\n"
|
" cating with the HTTP server. The specified request\n"
|
||||||
" will be used instead of the standard GET. Read the HTTP\n"
|
" will be used instead of the standard GET. Read the HTTP\n"
|
||||||
" 1.1 specification for details and explanations.\n"
|
" 1.1 specification for details and explanations.\n"
|
||||||
@ -529,6 +544,7 @@ puts (
|
|||||||
"ENVIRONMENT\n"
|
"ENVIRONMENT\n"
|
||||||
" HTTP_PROXY [protocol://]<host>[:port]\n"
|
" HTTP_PROXY [protocol://]<host>[:port]\n"
|
||||||
" Sets proxy server to use for HTTP.\n"
|
" Sets proxy server to use for HTTP.\n"
|
||||||
|
"\n"
|
||||||
" HTTPS_PROXY [protocol://]<host>[:port]\n"
|
" HTTPS_PROXY [protocol://]<host>[:port]\n"
|
||||||
" Sets proxy server to use for HTTPS.\n"
|
" Sets proxy server to use for HTTPS.\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -564,7 +580,6 @@ puts (
|
|||||||
"\n"
|
"\n"
|
||||||
" 4 URL user malformatted. The user-part of the URL syntax\n"
|
" 4 URL user malformatted. The user-part of the URL syntax\n"
|
||||||
" was not correct.\n"
|
" was not correct.\n"
|
||||||
"\n"
|
|
||||||
" 5 Couldn't resolve proxy. The given proxy host could not\n"
|
" 5 Couldn't resolve proxy. The given proxy host could not\n"
|
||||||
" be resolved.\n"
|
" be resolved.\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -580,6 +595,7 @@ puts (
|
|||||||
"\n"
|
"\n"
|
||||||
" 10 FTP user/password incorrect. Either one or both were\n"
|
" 10 FTP user/password incorrect. Either one or both were\n"
|
||||||
" not accepted by the server.\n"
|
" not accepted by the server.\n"
|
||||||
|
"\n"
|
||||||
" 11 FTP weird PASS reply. Curl couldn't parse the reply\n"
|
" 11 FTP weird PASS reply. Curl couldn't parse the reply\n"
|
||||||
" sent to the PASS request.\n"
|
" sent to the PASS request.\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -616,7 +632,6 @@ puts (
|
|||||||
"\n"
|
"\n"
|
||||||
" 23 Write error. Curl couldn't write data to a local\n"
|
" 23 Write error. Curl couldn't write data to a local\n"
|
||||||
" filesystem or similar.\n"
|
" filesystem or similar.\n"
|
||||||
"\n"
|
|
||||||
" 24 Malformat user. User name badly specified.\n"
|
" 24 Malformat user. User name badly specified.\n"
|
||||||
"\n"
|
"\n"
|
||||||
" 25 FTP couldn't STOR file. The server denied the STOR\n"
|
" 25 FTP couldn't STOR file. The server denied the STOR\n"
|
||||||
@ -631,6 +646,7 @@ puts (
|
|||||||
"\n"
|
"\n"
|
||||||
" 29 FTP couldn't set ASCII. The server returned an unknown\n"
|
" 29 FTP couldn't set ASCII. The server returned an unknown\n"
|
||||||
" reply.\n"
|
" reply.\n"
|
||||||
|
"\n"
|
||||||
" 30 FTP PORT failed. The PORT command failed.\n"
|
" 30 FTP PORT failed. The PORT command failed.\n"
|
||||||
"\n"
|
"\n"
|
||||||
" 31 FTP couldn't use REST. The REST command failed.\n"
|
" 31 FTP couldn't use REST. The REST command failed.\n"
|
||||||
@ -667,7 +683,6 @@ puts (
|
|||||||
"BUGS\n"
|
"BUGS\n"
|
||||||
" If you do find any (or have other suggestions), mail Daniel\n"
|
" If you do find any (or have other suggestions), mail Daniel\n"
|
||||||
" Stenberg <Daniel.Stenberg@haxx.se>.\n"
|
" Stenberg <Daniel.Stenberg@haxx.se>.\n"
|
||||||
"\n"
|
|
||||||
"AUTHORS / CONTRIBUTORS\n"
|
"AUTHORS / CONTRIBUTORS\n"
|
||||||
" - Daniel Stenberg <Daniel.Stenberg@haxx.se>\n"
|
" - Daniel Stenberg <Daniel.Stenberg@haxx.se>\n"
|
||||||
" - Rafael Sagula <sagula@inf.ufrgs.br>\n"
|
" - Rafael Sagula <sagula@inf.ufrgs.br>\n"
|
||||||
@ -717,7 +732,7 @@ puts (
|
|||||||
" - Kristian Köhntopp <kris@koehntopp.de>\n"
|
" - Kristian Köhntopp <kris@koehntopp.de>\n"
|
||||||
" - Fred Noz <FNoz@siac.com>\n"
|
" - Fred Noz <FNoz@siac.com>\n"
|
||||||
" - Caolan McNamara <caolan@csn.ul.ie>\n"
|
" - Caolan McNamara <caolan@csn.ul.ie>\n"
|
||||||
"\n"
|
" - Albert Chin-A-Young <china@thewrittenword.com>\n"
|
||||||
"WWW\n"
|
"WWW\n"
|
||||||
" http://curl.haxx.se\n"
|
" http://curl.haxx.se\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -747,6 +762,8 @@ puts (
|
|||||||
" Get a gopher document from funet's gopher server:\n"
|
" Get a gopher document from funet's gopher server:\n"
|
||||||
"\n"
|
"\n"
|
||||||
" curl gopher://gopher.funet.fi\n"
|
" curl gopher://gopher.funet.fi\n"
|
||||||
|
);
|
||||||
|
puts(
|
||||||
"\n"
|
"\n"
|
||||||
" Get a web page from a server using port 8000:\n"
|
" Get a web page from a server using port 8000:\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -779,8 +796,6 @@ puts (
|
|||||||
" To ftp files using name+passwd, include them in the URL like:\n"
|
" To ftp files using name+passwd, include them in the URL like:\n"
|
||||||
"\n"
|
"\n"
|
||||||
" curl ftp://name:passwd@machine.domain:port/full/path/to/file\n"
|
" curl ftp://name:passwd@machine.domain:port/full/path/to/file\n"
|
||||||
);
|
|
||||||
puts(
|
|
||||||
"\n"
|
"\n"
|
||||||
" or specify them with the -u flag like\n"
|
" or specify them with the -u flag like\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -1043,6 +1058,8 @@ puts (
|
|||||||
" headers that looks like 'Set-Cookie: <data>' where the data part then\n"
|
" headers that looks like 'Set-Cookie: <data>' where the data part then\n"
|
||||||
" typically contains a set of NAME=VALUE pairs (separated by semicolons ';'\n"
|
" typically contains a set of NAME=VALUE pairs (separated by semicolons ';'\n"
|
||||||
" like \"NAME1=VALUE1; NAME2=VALUE2;\"). The server can also specify for what\n"
|
" like \"NAME1=VALUE1; NAME2=VALUE2;\"). The server can also specify for what\n"
|
||||||
|
);
|
||||||
|
puts(
|
||||||
" path the \"cookie\" should be used for (by specifying \"path=value\"), when the\n"
|
" path the \"cookie\" should be used for (by specifying \"path=value\"), when the\n"
|
||||||
" cookie should expire (\"expire=DATE\"), for what domain to use it\n"
|
" cookie should expire (\"expire=DATE\"), for what domain to use it\n"
|
||||||
" (\"domain=NAME\") and if it should be used on secure connections only\n"
|
" (\"domain=NAME\") and if it should be used on secure connections only\n"
|
||||||
@ -1061,8 +1078,6 @@ puts (
|
|||||||
" Curl also has the ability to use previously received cookies in following\n"
|
" Curl also has the ability to use previously received cookies in following\n"
|
||||||
" sessions. If you get cookies from a server and store them in a file in a\n"
|
" sessions. If you get cookies from a server and store them in a file in a\n"
|
||||||
" manner similar to:\n"
|
" manner similar to:\n"
|
||||||
);
|
|
||||||
puts(
|
|
||||||
"\n"
|
"\n"
|
||||||
" curl --dump-header headers www.example.com\n"
|
" curl --dump-header headers www.example.com\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -1313,6 +1328,8 @@ puts (
|
|||||||
"TIME CONDITIONS\n"
|
"TIME CONDITIONS\n"
|
||||||
"\n"
|
"\n"
|
||||||
" HTTP allows a client to specify a time condition for the document it\n"
|
" HTTP allows a client to specify a time condition for the document it\n"
|
||||||
|
);
|
||||||
|
puts(
|
||||||
" requests. It is If-Modified-Since or If-Unmodified-Since. Curl allow you to\n"
|
" requests. It is If-Modified-Since or If-Unmodified-Since. Curl allow you to\n"
|
||||||
" specify them with the -z/--time-cond flag.\n"
|
" specify them with the -z/--time-cond flag.\n"
|
||||||
"\n"
|
"\n"
|
||||||
@ -1332,8 +1349,6 @@ puts (
|
|||||||
" curl -z yesterday http://remote.server.com/remote.html\n"
|
" curl -z yesterday http://remote.server.com/remote.html\n"
|
||||||
"\n"
|
"\n"
|
||||||
" Curl will then accept a wide range of date formats. You always make the date\n"
|
" Curl will then accept a wide range of date formats. You always make the date\n"
|
||||||
);
|
|
||||||
puts(
|
|
||||||
" check the other way around by prepending it with a dash '-'.\n"
|
" check the other way around by prepending it with a dash '-'.\n"
|
||||||
"\n"
|
"\n"
|
||||||
"DICT\n"
|
"DICT\n"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#define CURL_NAME "curl"
|
#define CURL_NAME "curl"
|
||||||
#define CURL_VERSION "7.1"
|
#define CURL_VERSION "7.2"
|
||||||
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
|
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
|
||||||
|
Loading…
Reference in New Issue
Block a user