summaryrefslogtreecommitdiff
path: root/lib/WWW/Curl
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2022-07-25 08:07:46 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2022-07-25 08:07:46 +0900
commitbac347c3605b37a1839937a689e380303a9085a4 (patch)
tree9cda36fd2c11df9aaa40660149bf688ce66d14ce /lib/WWW/Curl
parent3d7755f418633e4b2eda8c8a4b1ae156ec1b65ed (diff)
downloadperl-WWW-Curl-bac347c3605b37a1839937a689e380303a9085a4.tar.gz
perl-WWW-Curl-bac347c3605b37a1839937a689e380303a9085a4.tar.bz2
perl-WWW-Curl-bac347c3605b37a1839937a689e380303a9085a4.zip
Imported Upstream version 4.11upstream/4.11
Diffstat (limited to 'lib/WWW/Curl')
-rw-r--r--lib/WWW/Curl/Easy.pm202
-rw-r--r--lib/WWW/Curl/Form.pm1
-rw-r--r--lib/WWW/Curl/Multi.pm1
-rw-r--r--lib/WWW/Curl/Share.pm14
4 files changed, 3 insertions, 215 deletions
diff --git a/lib/WWW/Curl/Easy.pm b/lib/WWW/Curl/Easy.pm
index a636534..2f0829b 100644
--- a/lib/WWW/Curl/Easy.pm
+++ b/lib/WWW/Curl/Easy.pm
@@ -5,7 +5,7 @@ use warnings;
use Carp;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD);
-$VERSION = '4.05';
+$VERSION = '4.11';
require WWW::Curl;
require Exporter;
@@ -18,206 +18,6 @@ require AutoLoader;
# Do not simply export all your public functions/methods/constants.
@EXPORT = qw(
-CURLOPT_APPEND
-CURLOPT_AUTOREFERER
-CURLOPT_BUFFERSIZE
-CURLOPT_CAINFO
-CURLOPT_CAPATH
-CURLOPT_CLOSEPOLICY
-CURLOPT_CONNECTTIMEOUT
-CURLOPT_CONNECTTIMEOUT_MS
-CURLOPT_CONNECT_ONLY
-CURLOPT_CONV_FROM_NETWORK_FUNCTION
-CURLOPT_CONV_FROM_UTF8_FUNCTION
-CURLOPT_CONV_TO_NETWORK_FUNCTION
-CURLOPT_COOKIE
-CURLOPT_COOKIEFILE
-CURLOPT_COOKIEJAR
-CURLOPT_COOKIELIST
-CURLOPT_COOKIESESSION
-CURLOPT_COPYPOSTFIELDS
-CURLOPT_CRLF
-CURLOPT_CUSTOMREQUEST
-CURLOPT_DEBUGDATA
-CURLOPT_DEBUGFUNCTION
-CURLOPT_DIRLISTONLY
-CURLOPT_DNS_CACHE_TIMEOUT
-CURLOPT_DNS_USE_GLOBAL_CACHE
-CURLOPT_EGDSOCKET
-CURLOPT_ENCODING
-CURLOPT_ERRORBUFFER
-CURLOPT_FAILONERROR
-CURLOPT_FILE
-CURLOPT_FILETIME
-CURLOPT_FOLLOWLOCATION
-CURLOPT_FORBID_REUSE
-CURLOPT_FRESH_CONNECT
-CURLOPT_FTPAPPEND
-CURLOPT_FTPLISTONLY
-CURLOPT_FTPPORT
-CURLOPT_FTPSSLAUTH
-CURLOPT_FTP_ACCOUNT
-CURLOPT_FTP_ALTERNATIVE_TO_USER
-CURLOPT_FTP_CREATE_MISSING_DIRS
-CURLOPT_FTP_FILEMETHOD
-CURLOPT_FTP_RESPONSE_TIMEOUT
-CURLOPT_FTP_SKIP_PASV_IP
-CURLOPT_FTP_SSL
-CURLOPT_FTP_SSL_CCC
-CURLOPT_FTP_USE_EPRT
-CURLOPT_FTP_USE_EPSV
-CURLOPT_HEADER
-CURLOPT_HEADERDATA
-CURLOPT_HEADERFUNCTION
-CURLOPT_HTTP200ALIASES
-CURLOPT_HTTPAUTH
-CURLOPT_HTTPGET
-CURLOPT_HTTPHEADER
-CURLOPT_HTTPPOST
-CURLOPT_HTTPPROXYTUNNEL
-CURLOPT_HTTP_CONTENT_DECODING
-CURLOPT_HTTP_TRANSFER_DECODING
-CURLOPT_HTTP_VERSION
-CURLOPT_IGNORE_CONTENT_LENGTH
-CURLOPT_INFILE
-CURLOPT_INFILESIZE
-CURLOPT_INFILESIZE_LARGE
-CURLOPT_INTERFACE
-CURLOPT_IOCTLDATA
-CURLOPT_IOCTLFUNCTION
-CURLOPT_IPRESOLVE
-CURLOPT_KEYPASSWD
-CURLOPT_KRB4LEVEL
-CURLOPT_KRBLEVEL
-CURLOPT_LOCALPORT
-CURLOPT_LOCALPORTRANGE
-CURLOPT_LOW_SPEED_LIMIT
-CURLOPT_LOW_SPEED_TIME
-CURLOPT_MAXCONNECTS
-CURLOPT_MAXFILESIZE
-CURLOPT_MAXFILESIZE_LARGE
-CURLOPT_MAXREDIRS
-CURLOPT_MAX_RECV_SPEED_LARGE
-CURLOPT_MAX_SEND_SPEED_LARGE
-CURLOPT_NETRC
-CURLOPT_NETRC_FILE
-CURLOPT_NEW_DIRECTORY_PERMS
-CURLOPT_NEW_FILE_PERMS
-CURLOPT_NOBODY
-CURLOPT_NOPROGRESS
-CURLOPT_NOSIGNAL
-CURLOPT_OPENSOCKETDATA
-CURLOPT_OPENSOCKETFUNCTION
-CURLOPT_PORT
-CURLOPT_POST
-CURLOPT_POST301
-CURLOPT_POSTFIELDS
-CURLOPT_POSTFIELDSIZE
-CURLOPT_POSTFIELDSIZE_LARGE
-CURLOPT_POSTQUOTE
-CURLOPT_PREQUOTE
-CURLOPT_PRIVATE
-CURLOPT_PROGRESSDATA
-CURLOPT_PROGRESSFUNCTION
-CURLOPT_PROXY
-CURLOPT_PROXYAUTH
-CURLOPT_PROXYPORT
-CURLOPT_PROXYTYPE
-CURLOPT_PROXYUSERPWD
-CURLOPT_PROXY_TRANSFER_MODE
-CURLOPT_PUT
-CURLOPT_QUOTE
-CURLOPT_RANDOM_FILE
-CURLOPT_RANGE
-CURLOPT_READFUNCTION
-CURLOPT_REFERER
-CURLOPT_RESUME_FROM
-CURLOPT_RESUME_FROM_LARGE
-CURLOPT_SEEKDATA
-CURLOPT_SEEKFUNCTION
-CURLOPT_SHARE
-CURLOPT_SOCKOPTDATA
-CURLOPT_SOCKOPTFUNCTION
-CURLOPT_SSH_AUTH_TYPES
-CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
-CURLOPT_SSH_PRIVATE_KEYFILE
-CURLOPT_SSH_PUBLIC_KEYFILE
-CURLOPT_SSLCERT
-CURLOPT_SSLCERTPASSWD
-CURLOPT_SSLCERTTYPE
-CURLOPT_SSLENGINE
-CURLOPT_SSLENGINE_DEFAULT
-CURLOPT_SSLKEY
-CURLOPT_SSLKEYPASSWD
-CURLOPT_SSLKEYTYPE
-CURLOPT_SSLVERSION
-CURLOPT_SSL_CIPHER_LIST
-CURLOPT_SSL_CTX_DATA
-CURLOPT_SSL_CTX_FUNCTION
-CURLOPT_SSL_SESSIONID_CACHE
-CURLOPT_SSL_VERIFYHOST
-CURLOPT_SSL_VERIFYPEER
-CURLOPT_STDERR
-CURLOPT_TCP_NODELAY
-CURLOPT_TELNETOPTIONS
-CURLOPT_TIMECONDITION
-CURLOPT_TIMEOUT
-CURLOPT_TIMEOUT_MS
-CURLOPT_TIMEVALUE
-CURLOPT_TRANSFERTEXT
-CURLOPT_UNRESTRICTED_AUTH
-CURLOPT_UPLOAD
-CURLOPT_URL
-CURLOPT_USERAGENT
-CURLOPT_USERPWD
-CURLOPT_USE_SSL
-CURLOPT_VERBOSE
-CURLOPT_WRITEDATA
-CURLOPT_WRITEFUNCTION
-CURLOPT_WRITEHEADER
-CURLOPT_WRITEINFO
-CURLINFO_CONNECT_TIME
-CURLINFO_CONTENT_LENGTH_DOWNLOAD
-CURLINFO_CONTENT_LENGTH_UPLOAD
-CURLINFO_CONTENT_TYPE
-CURLINFO_COOKIELIST
-CURLINFO_DATA_IN
-CURLINFO_DATA_OUT
-CURLINFO_EFFECTIVE_URL
-CURLINFO_END
-CURLINFO_FILETIME
-CURLINFO_FTP_ENTRY_PATH
-CURLINFO_HEADER_IN
-CURLINFO_HEADER_OUT
-CURLINFO_HEADER_SIZE
-CURLINFO_HTTPAUTH_AVAIL
-CURLINFO_HTTP_CODE
-CURLINFO_HTTP_CONNECTCODE
-CURLINFO_LASTONE
-CURLINFO_LASTSOCKET
-CURLINFO_NAMELOOKUP_TIME
-CURLINFO_NONE
-CURLINFO_NUM_CONNECTS
-CURLINFO_OS_ERRNO
-CURLINFO_PRETRANSFER_TIME
-CURLINFO_PRIVATE
-CURLINFO_PROXYAUTH_AVAIL
-CURLINFO_REDIRECT_COUNT
-CURLINFO_REDIRECT_TIME
-CURLINFO_REDIRECT_URL
-CURLINFO_REQUEST_SIZE
-CURLINFO_RESPONSE_CODE
-CURLINFO_SIZE_DOWNLOAD
-CURLINFO_SIZE_UPLOAD
-CURLINFO_SPEED_DOWNLOAD
-CURLINFO_SPEED_UPLOAD
-CURLINFO_SSL_DATA_IN
-CURLINFO_SSL_DATA_OUT
-CURLINFO_SSL_ENGINES
-CURLINFO_SSL_VERIFYRESULT
-CURLINFO_STARTTRANSFER_TIME
-CURLINFO_TEXT
-CURLINFO_TOTAL_TIME
);
$WWW::Curl::Easy::headers = "";
diff --git a/lib/WWW/Curl/Form.pm b/lib/WWW/Curl/Form.pm
index dd69c68..7ea117f 100644
--- a/lib/WWW/Curl/Form.pm
+++ b/lib/WWW/Curl/Form.pm
@@ -1,5 +1,6 @@
package WWW::Curl::Form;
use strict;
+use warnings;
# In development!
#
diff --git a/lib/WWW/Curl/Multi.pm b/lib/WWW/Curl/Multi.pm
index cc64628..e95949f 100644
--- a/lib/WWW/Curl/Multi.pm
+++ b/lib/WWW/Curl/Multi.pm
@@ -1,6 +1,7 @@
package WWW::Curl::Multi;
use strict;
+use warnings;
use WWW::Curl;
1;
diff --git a/lib/WWW/Curl/Share.pm b/lib/WWW/Curl/Share.pm
index 4da2183..b976964 100644
--- a/lib/WWW/Curl/Share.pm
+++ b/lib/WWW/Curl/Share.pm
@@ -12,20 +12,6 @@ require AutoLoader;
@ISA = qw(Exporter DynaLoader);
@EXPORT = qw(
-CURLSHOPT_LAST
-CURLSHOPT_LOCKFUNC
-CURLSHOPT_NONE
-CURLSHOPT_SHARE
-CURLSHOPT_UNLOCKFUNC
-CURLSHOPT_UNSHARE
-CURLSHOPT_USERDATA
-CURL_LOCK_DATA_CONNECT
-CURL_LOCK_DATA_COOKIE
-CURL_LOCK_DATA_DNS
-CURL_LOCK_DATA_LAST
-CURL_LOCK_DATA_NONE
-CURL_LOCK_DATA_SHARE
-CURL_LOCK_DATA_SSL_SESSION
);
sub AUTOLOAD {