Change history for libwww-perl
+6.35 2018-07-16 04:48:54Z
+ - fix file descriptor leak in LWP::Protocol (introduced in version 6.17)
+ that occurs for perl versions earlier than 5.18. (GH #296)
+
+6.34 2018-06-05 18:48:59Z
+ - timeout() documentation has more details about the response (thanks,
+ Andrew Grangaard!)
+ - HTTP::Status is now upgraded to 6.18 if 6.17 is installed (which had a
+ bug).
+
6.33 2018-02-27 03:51:36Z
- Fix send_te change from previous release, which was breaking
LWP::Parallel::UserAgent and Test::Override::UserAgent (GH #281) (Doug
Bell)
6.32 2018-02-20 19:39:20Z
- - Suggest LWP::ConsoleLogger as an alternative to the deprecated LWP::Debug (GH#278) (Olaf Alders)
- - add send_te configuration to disable sending the TE header (GH#126) (Doug Bell)
+ - Suggest LWP::ConsoleLogger as an alternative to the deprecated LWP::Debug
+ (GH#278) (Olaf Alders)
+ - add send_te configuration to disable sending the TE header (GH#126)
+ (Doug Bell)
- Added a developer feature to the http.t tests. (GH#257) (colinnewell)
6.31 2017-12-11 01:55:53Z
6.28 2017-11-06
- Remove last use of Geopt::Std (Sergey Remanov) (GH #267)
- - Include unmatched connect error in status string (Patrik Lundin) (GH #269)
+ - Include unmatched connect error in status string (Patrik Lundin) (GH
+ #269)
- Fix insecure open FILEHANDLE,EXPR (Takumi Akiyama) (GH #270)
6.27 2017-09-21
- Updated test suite to use strict/warnings and Test::More (PR#88)
- Additional tests for UserAgent coverage (PR#79)
- Cleaned up documentation formatting and fixed several typos (PR#87, PR#93)
- - Stop promoting use of HTTP::Cookies and instead use HTTP::CookieJar::LWP (PR#102)
+ - Stop promoting use of HTTP::Cookies and instead use HTTP::CookieJar::LWP
+ (PR#102)
- Added some new documentation to UserAgent and tutorial (PR#68)
- Allow default header to carry over when using ->post() in UA (PR#100)
6.15 2015-12-15
- - tests now use localhost rather than a net-accessible address (PR#76, RT#94959)
- - fixed some tests to do what they intended (regex rather than boolean checks) (from PR#28)
+ - tests now use localhost rather than a net-accessible address (PR#76,
+ RT#94959)
+ - fixed some tests to do what they intended (regex rather than boolean
+ checks) (from PR#28)
- conversion of some tests from Test.pm to Test::More (from PR#29)
- use File::Temp for randomized tempdir (PR#53)
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.011.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012.
CONTRIBUTING.md
Changes
LICENSE
t/base/simple.t
t/base/ua.t
t/base/ua_handlers.t
+t/leak/no_leak.t
t/local/autoload-get.t
t/local/autoload.t
t/local/get.t
xt/author/live/jigsaw/neg.t
xt/author/live/jigsaw/te.t
xt/author/live/online.t
+xt/author/minimum-version.t
xt/author/misc/dbmrobot
xt/author/misc/get-callback
xt/author/misc/get-file
xt/author/portability.t
xt/author/test-version.t
xt/release/changes_has_content.t
-xt/release/minimum-version.t
"author" : [
"Gisle Aas <gisle@activestate.com>"
],
- "dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.011, CPAN::Meta::Converter version 2.150010",
+ "dynamic_config" : 1,
+ "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"prereqs" : {
"configure" : {
"requires" : {
+ "CPAN::Meta::Requirements" : "2.120620",
"ExtUtils::MakeMaker" : "0",
"File::Copy" : "0",
- "Getopt::Long" : "0"
- },
- "suggests" : {
- "JSON::PP" : "2.27300"
+ "Getopt::Long" : "0",
+ "Module::Metadata" : "0"
}
},
"develop" : {
"recommends" : {
- "Dist::Zilla::PluginBundle::Git::VersionManager" : "0.005"
+ "Dist::Zilla::PluginBundle::Git::VersionManager" : "0.007"
},
"requires" : {
+ "Authen::NTLM" : "1.02",
"File::Spec" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Pod::Coverage::TrustPod" : "0",
- "Test::CPAN::Changes" : "0.4",
- "Test::CPAN::Meta" : "0",
- "Test::CheckManifest" : "1.29",
"Test::EOL" : "0",
- "Test::Kwalitee" : "1.22",
"Test::MinimumVersion" : "0",
"Test::Mojibake" : "0",
"Test::More" : "0.94",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "1.08",
- "Test::Pod::Spelling::CommonMistakes" : "1.000",
"Test::Portability::Files" : "0",
"Test::Spelling" : "0.12",
- "Test::Version" : "1",
- "Try::Tiny" : "0.24"
+ "Test::Version" : "1"
}
},
"runtime" : {
},
"suggests" : {
"Authen::NTLM" : "1.02",
+ "Data::Dump" : "1.13",
"IO::Socket::INET" : "0",
"LWP::Protocol::https" : "6.02"
}
},
"test" : {
"recommends" : {
- "CPAN::Meta" : "2.120900"
+ "CPAN::Meta" : "2.120900",
+ "Test::LeakTrace" : "0"
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
"FindBin" : "0",
"Test::Fatal" : "0",
"Test::More" : "0",
+ "Test::Needs" : "0",
"Test::RequiresInternet" : "0"
}
}
"provides" : {
"LWP" : {
"file" : "lib/LWP.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Authen::Basic" : {
"file" : "lib/LWP/Authen/Basic.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Authen::Digest" : {
"file" : "lib/LWP/Authen/Digest.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Authen::Ntlm" : {
"file" : "lib/LWP/Authen/Ntlm.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::ConnCache" : {
"file" : "lib/LWP/ConnCache.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Debug" : {
"file" : "lib/LWP/Debug.pm",
- "version" : "6.33",
+ "version" : "6.35",
"x_deprecated" : 1
},
"LWP::Debug::TraceHTTP" : {
"file" : "lib/LWP/Debug/TraceHTTP.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::DebugFile" : {
"file" : "lib/LWP/DebugFile.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::MemberMixin" : {
"file" : "lib/LWP/MemberMixin.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol" : {
"file" : "lib/LWP/Protocol.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::cpan" : {
"file" : "lib/LWP/Protocol/cpan.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::data" : {
"file" : "lib/LWP/Protocol/data.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::file" : {
"file" : "lib/LWP/Protocol/file.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::ftp" : {
"file" : "lib/LWP/Protocol/ftp.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::gopher" : {
"file" : "lib/LWP/Protocol/gopher.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::http" : {
"file" : "lib/LWP/Protocol/http.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::loopback" : {
"file" : "lib/LWP/Protocol/loopback.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::mailto" : {
"file" : "lib/LWP/Protocol/mailto.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::nntp" : {
"file" : "lib/LWP/Protocol/nntp.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Protocol::nogo" : {
"file" : "lib/LWP/Protocol/nogo.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::RobotUA" : {
"file" : "lib/LWP/RobotUA.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::Simple" : {
"file" : "lib/LWP/Simple.pm",
- "version" : "6.33"
+ "version" : "6.35"
},
"LWP::UserAgent" : {
"file" : "lib/LWP/UserAgent.pm",
- "version" : "6.33"
+ "version" : "6.35"
}
},
"release_status" : "stable",
"x_IRC" : "irc://irc.perl.org/#lwp",
"x_MailingList" : "mailto:libwww@perl.org"
},
- "version" : "6.33",
+ "version" : "6.35",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.026001"
+ "version" : "5.028000"
},
"plugins" : [
{
}
},
"name" : "Git::GatherDir",
- "version" : "2.043"
+ "version" : "2.045"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "MetaConfig",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.011"
+ "version" : "6.012"
}
],
"include_underscores" : 0
},
"Dist::Zilla::Role::ModuleMetadata" : {
"Module::Metadata" : "1.000033",
- "version" : "0.004"
+ "version" : "0.006"
}
},
"name" : "MetaProvides::Package",
{
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "MetaNoIndex",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "MetaYAML",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "MetaJSON",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::Deprecated",
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.16.1",
+ "git_version" : "2.18.0",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
}
},
"name" : "Git::Contributors",
- "version" : "0.032"
+ "version" : "0.034"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "GithubMeta",
- "version" : "0.54"
+ "version" : "0.58"
},
{
"class" : "Dist::Zilla::Plugin::Authority",
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "Manifest",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "License",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "ExecDir",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs::FromCPANfile",
"name" : "Prereqs::FromCPANfile",
"version" : "0.08"
},
+ {
+ "class" : "Dist::Zilla::Plugin::DynamicPrereqs",
+ "config" : {
+ "Dist::Zilla::Role::ModuleMetadata" : {
+ "Module::Metadata" : "1.000033",
+ "version" : "0.006"
+ }
+ },
+ "name" : "DynamicPrereqs",
+ "version" : "0.034"
+ },
{
"class" : "Dist::Zilla::Plugin::MakeMaker::Awesome",
"config" : {
"Dist::Zilla::Plugin::MakeMaker" : {
"make_path" : "make",
- "version" : "6.011"
+ "version" : "6.012"
},
"Dist::Zilla::Role::TestRunner" : {
- "default_jobs" : 1,
- "version" : "6.011"
+ "version" : "6.012"
}
},
"name" : "MakeMaker::Awesome",
- "version" : "0.41"
+ "version" : "0.46"
},
{
"class" : "Dist::Zilla::Plugin::MojibakeTests",
"name" : "Test::ChangesHasContent",
"version" : "0.011"
},
+ {
+ "class" : "Dist::Zilla::Plugin::Substitute",
+ "name" : "Substitute",
+ "version" : "0.006"
+ },
{
"class" : "Dist::Zilla::Plugin::Test::MinimumVersion",
"name" : "Test::MinimumVersion",
- "version" : "2.000007"
+ "version" : "2.000008"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "PodSyntaxTests",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable",
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.16.1",
+ "git_version" : "2.18.0",
"repo_root" : "."
}
},
"name" : "Git::Check",
- "version" : "2.043"
+ "version" : "2.045"
},
{
"class" : "Dist::Zilla::Plugin::CheckStrictVersion",
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "TestRelease",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "UploadToCPAN",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
}
},
"name" : "CopyFilesFromRelease",
- "version" : "0.006"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
}
},
"name" : "@Git::VersionManager/pluginbundle version",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional",
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Update",
"name" : "@Git::VersionManager/MetaProvides::Update",
- "version" : "0.005"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
}
},
"name" : "@Git::VersionManager/CopyFilesFromRelease",
- "version" : "0.006"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.16.1",
+ "git_version" : "2.18.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
}
},
"name" : "@Git::VersionManager/release snapshot",
- "version" : "2.043"
+ "version" : "2.045"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v6.33",
+ "tag" : "v6.35",
"tag_format" : "v%v",
"tag_message" : "v%v"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.16.1",
+ "git_version" : "2.18.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
}
},
"name" : "@Git::VersionManager/Git::Tag",
- "version" : "2.043"
+ "version" : "2.045"
},
{
"class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional",
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Git::VersionManager/NextRelease",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.16.1",
+ "git_version" : "2.18.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
}
},
"name" : "@Git::VersionManager/post-release commit",
- "version" : "2.043"
+ "version" : "2.045"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.16.1",
+ "git_version" : "2.18.0",
"repo_root" : "."
}
},
"name" : "Git::Push",
- "version" : "2.043"
+ "version" : "2.045"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "ConfirmRelease",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.011"
+ "version" : "6.012"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.011"
+ "version" : "6.012"
}
],
"zilla" : {
"config" : {
"is_trial" : 0
},
- "version" : "6.011"
+ "version" : "6.012"
}
},
"x_authority" : "cpan:LWWWP",
"Alex Kapranoff <ka@nadoby.ru>",
"amire80 <amir.aharoni@gmail.com>",
"Andreas J. Koenig <andreas.koenig@anima.de>",
+ "Andrew Grangaard <granny-github@ofb.net>",
+ "Anirvan Chatterjee <anirvan@users.noreply.github.com>",
"BGMNT <freeerider@mailinator.com>",
"Bill Mann <wfmann@alum.mit.edu>",
"Bron Gondwana <brong@fastmail.fm>",
"DAVIDRW <davidrw@cpan.org>",
"David Standish <dnstandish@gmail.com>",
"David Steinbrunner <dsteinbrunner@MountainBook-Pro.local>",
+ "Desmond Daignault <nawglan@cpan.org>",
"Doug Bell <doug@preaction.me>",
"Fabian Zeindler <faz@open.ch>",
"Father Chrysostomos <sprout@cpan.org>",
"sasao <sasao@yugen.org>",
"Sean M. Burke <sburke@cpan.org>",
"Sergey Romanov <sromanov-dev@yandex.ru>",
+ "Shoichi Kaji <skaji@cpan.org>",
"Slaven Rezic <slaven@rezic.de>",
"Spiros Denaxas <s.denaxas@gmail.com>",
"Steffen Ullrich <Steffen_Ullrich@genua.de>",
"Yury Zavarin <yury.zavarin@gmail.com>",
"Zefram <zefram@fysh.org>"
],
- "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239"
+ "x_generated_by_perl" : "v5.28.0",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.04"
}
FindBin: '0'
Test::Fatal: '0'
Test::More: '0'
+ Test::Needs: '0'
Test::RequiresInternet: '0'
configure_requires:
+ CPAN::Meta::Requirements: '2.120620'
ExtUtils::MakeMaker: '0'
File::Copy: '0'
Getopt::Long: '0'
-dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.011, CPAN::Meta::Converter version 2.150010'
+ Module::Metadata: '0'
+dynamic_config: 1
+generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
provides:
LWP:
file: lib/LWP.pm
- version: '6.33'
+ version: '6.35'
LWP::Authen::Basic:
file: lib/LWP/Authen/Basic.pm
- version: '6.33'
+ version: '6.35'
LWP::Authen::Digest:
file: lib/LWP/Authen/Digest.pm
- version: '6.33'
+ version: '6.35'
LWP::Authen::Ntlm:
file: lib/LWP/Authen/Ntlm.pm
- version: '6.33'
+ version: '6.35'
LWP::ConnCache:
file: lib/LWP/ConnCache.pm
- version: '6.33'
+ version: '6.35'
LWP::Debug:
file: lib/LWP/Debug.pm
- version: '6.33'
+ version: '6.35'
x_deprecated: 1
LWP::Debug::TraceHTTP:
file: lib/LWP/Debug/TraceHTTP.pm
- version: '6.33'
+ version: '6.35'
LWP::DebugFile:
file: lib/LWP/DebugFile.pm
- version: '6.33'
+ version: '6.35'
LWP::MemberMixin:
file: lib/LWP/MemberMixin.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol:
file: lib/LWP/Protocol.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::cpan:
file: lib/LWP/Protocol/cpan.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::data:
file: lib/LWP/Protocol/data.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::file:
file: lib/LWP/Protocol/file.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::ftp:
file: lib/LWP/Protocol/ftp.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::gopher:
file: lib/LWP/Protocol/gopher.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::http:
file: lib/LWP/Protocol/http.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::loopback:
file: lib/LWP/Protocol/loopback.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::mailto:
file: lib/LWP/Protocol/mailto.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::nntp:
file: lib/LWP/Protocol/nntp.pm
- version: '6.33'
+ version: '6.35'
LWP::Protocol::nogo:
file: lib/LWP/Protocol/nogo.pm
- version: '6.33'
+ version: '6.35'
LWP::RobotUA:
file: lib/LWP/RobotUA.pm
- version: '6.33'
+ version: '6.35'
LWP::Simple:
file: lib/LWP/Simple.pm
- version: '6.33'
+ version: '6.35'
LWP::UserAgent:
file: lib/LWP/UserAgent.pm
- version: '6.33'
+ version: '6.35'
requires:
Digest::MD5: '0'
Encode: '2.12'
bugtracker: https://github.com/libwww-perl/libwww-perl/issues
homepage: https://github.com/libwww-perl/libwww-perl
repository: https://github.com/libwww-perl/libwww-perl.git
-version: '6.33'
+version: '6.35'
x_Dist_Zilla:
perl:
- version: '5.026001'
+ version: '5.028000'
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: Git::GatherDir
- version: '2.043'
+ version: '2.045'
-
class: Dist::Zilla::Plugin::MetaConfig
name: MetaConfig
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
-
class: Dist::Zilla::Plugin::FinderCode
name: MetaProvides::Package/AUTOVIV/:InstallModulesPM
- version: '6.011'
+ version: '6.012'
include_underscores: 0
Dist::Zilla::Role::MetaProvider::Provider:
$Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004'
meta_noindex: '1'
Dist::Zilla::Role::ModuleMetadata:
Module::Metadata: '1.000033'
- version: '0.004'
+ version: '0.006'
name: MetaProvides::Package
version: '2.004003'
-
class: Dist::Zilla::Plugin::MetaNoIndex
name: MetaNoIndex
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::MetaYAML
name: MetaYAML
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::MetaJSON
name: MetaJSON
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::Deprecated
config:
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.16.1
+ git_version: 2.18.0
include_authors: 0
include_releaser: 1
order_by: name
paths: []
name: Git::Contributors
- version: '0.032'
+ version: '0.034'
-
class: Dist::Zilla::Plugin::GithubMeta
name: GithubMeta
- version: '0.54'
+ version: '0.58'
-
class: Dist::Zilla::Plugin::Authority
name: Authority
-
class: Dist::Zilla::Plugin::Manifest
name: Manifest
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::License
name: License
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::ExecDir
name: ExecDir
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::Prereqs::FromCPANfile
name: Prereqs::FromCPANfile
version: '0.08'
+ -
+ class: Dist::Zilla::Plugin::DynamicPrereqs
+ config:
+ Dist::Zilla::Role::ModuleMetadata:
+ Module::Metadata: '1.000033'
+ version: '0.006'
+ name: DynamicPrereqs
+ version: '0.034'
-
class: Dist::Zilla::Plugin::MakeMaker::Awesome
config:
Dist::Zilla::Plugin::MakeMaker:
make_path: make
- version: '6.011'
+ version: '6.012'
Dist::Zilla::Role::TestRunner:
- default_jobs: 1
- version: '6.011'
+ version: '6.012'
name: MakeMaker::Awesome
- version: '0.41'
+ version: '0.46'
-
class: Dist::Zilla::Plugin::MojibakeTests
name: MojibakeTests
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: Test::ChangesHasContent
version: '0.011'
+ -
+ class: Dist::Zilla::Plugin::Substitute
+ name: Substitute
+ version: '0.006'
-
class: Dist::Zilla::Plugin::Test::MinimumVersion
name: Test::MinimumVersion
- version: '2.000007'
+ version: '2.000008'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: PodSyntaxTests
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable
name: Test::Pod::Coverage::Configurable
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.16.1
+ git_version: 2.18.0
repo_root: .
name: Git::Check
- version: '2.043'
+ version: '2.045'
-
class: Dist::Zilla::Plugin::CheckStrictVersion
name: CheckStrictVersion
-
class: Dist::Zilla::Plugin::TestRelease
name: TestRelease
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: UploadToCPAN
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
config:
- META.json
match: []
name: CopyFilesFromRelease
- version: '0.006'
+ version: '0.007'
-
class: Dist::Zilla::Plugin::Prereqs
config:
phase: develop
type: recommends
name: '@Git::VersionManager/pluginbundle version'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::RewriteVersion::Transitional
config:
-
class: Dist::Zilla::Plugin::MetaProvides::Update
name: '@Git::VersionManager/MetaProvides::Update'
- version: '0.005'
+ version: '0.007'
-
class: Dist::Zilla::Plugin::CopyFilesFromRelease
config:
- Changes
match: []
name: '@Git::VersionManager/CopyFilesFromRelease'
- version: '0.006'
+ version: '0.007'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.16.1
+ git_version: 2.18.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Git::VersionManager/release snapshot'
- version: '2.043'
+ version: '2.045'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
branch: ~
changelog: Changes
signed: 0
- tag: v6.33
+ tag: v6.35
tag_format: v%v
tag_message: v%v
Dist::Zilla::Role::Git::Repo:
- git_version: 2.16.1
+ git_version: 2.18.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Git::VersionManager/Git::Tag'
- version: '2.043'
+ version: '2.045'
-
class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional
config:
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Git::VersionManager/NextRelease'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
- (?^:^lib/.*\.pm$)
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.16.1
+ git_version: 2.18.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Git::VersionManager/post-release commit'
- version: '2.043'
+ version: '2.045'
-
class: Dist::Zilla::Plugin::Git::Push
config:
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.16.1
+ git_version: 2.18.0
repo_root: .
name: Git::Push
- version: '2.043'
+ version: '2.045'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: ConfirmRelease
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '6.011'
+ version: '6.012'
-
class: Dist::Zilla::Plugin::FinderCode
name: MetaProvides::Package/AUTOVIV/:InstallModulesPM
- version: '6.011'
+ version: '6.012'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '6.011'
+ version: '6.012'
x_authority: cpan:LWWWP
x_contributors:
- 'Adam Kennedy <adamk@cpan.org>'
- 'Alex Kapranoff <ka@nadoby.ru>'
- 'amire80 <amir.aharoni@gmail.com>'
- 'Andreas J. Koenig <andreas.koenig@anima.de>'
+ - 'Andrew Grangaard <granny-github@ofb.net>'
+ - 'Anirvan Chatterjee <anirvan@users.noreply.github.com>'
- 'BGMNT <freeerider@mailinator.com>'
- 'Bill Mann <wfmann@alum.mit.edu>'
- 'Bron Gondwana <brong@fastmail.fm>'
- 'DAVIDRW <davidrw@cpan.org>'
- 'David Standish <dnstandish@gmail.com>'
- 'David Steinbrunner <dsteinbrunner@MountainBook-Pro.local>'
+ - 'Desmond Daignault <nawglan@cpan.org>'
- 'Doug Bell <doug@preaction.me>'
- 'Fabian Zeindler <faz@open.ch>'
- 'Father Chrysostomos <sprout@cpan.org>'
- 'sasao <sasao@yugen.org>'
- 'Sean M. Burke <sburke@cpan.org>'
- 'Sergey Romanov <sromanov-dev@yandex.ru>'
+ - 'Shoichi Kaji <skaji@cpan.org>'
- 'Slaven Rezic <slaven@rezic.de>'
- 'Spiros Denaxas <s.denaxas@gmail.com>'
- 'Steffen Ullrich <Steffen_Ullrich@genua.de>'
- 'Yuri Karaban <tech@askold.net>'
- 'Yury Zavarin <yury.zavarin@gmail.com>'
- 'Zefram <zefram@fysh.org>'
-x_serialization_backend: 'YAML::Tiny version 1.70'
+x_generated_by_perl: v5.28.0
+x_serialization_backend: 'YAML::Tiny version 1.73'
# This Makefile.PL for libwww-perl was generated by
-# Dist::Zilla::Plugin::MakeMaker::Awesome 0.41.
+# Dist::Zilla::Plugin::MakeMaker::Awesome 0.46.
# Don't edit it but the dist.ini and plugins used to construct it.
use strict;
"ABSTRACT" => "The World-Wide Web library for Perl",
"AUTHOR" => "Gisle Aas <gisle\@activestate.com>",
"CONFIGURE_REQUIRES" => {
+ "CPAN::Meta::Requirements" => "2.120620",
"ExtUtils::MakeMaker" => 0,
"File::Copy" => 0,
- "Getopt::Long" => 0
+ "Getopt::Long" => 0,
+ "Module::Metadata" => 0
},
"DISTNAME" => "libwww-perl",
"EXE_FILES" => [
"FindBin" => 0,
"Test::Fatal" => 0,
"Test::More" => 0,
+ "Test::Needs" => 0,
"Test::RequiresInternet" => 0
},
- "VERSION" => "6.33",
+ "VERSION" => "6.35",
"test" => {
- "TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/local/*.t t/robot/*.t"
+ "TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/leak/*.t t/local/*.t t/robot/*.t"
}
);
"Scalar::Util" => 0,
"Test::Fatal" => 0,
"Test::More" => 0,
+ "Test::Needs" => 0,
"Test::RequiresInternet" => 0,
"Try::Tiny" => 0,
"URI" => "1.10",
"warnings" => 0
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.034
+requires('HTTP::Status', '6.18') if has_module('HTTP::Status', '6.17');
+
+unless ( eval { ExtUtils::MakeMaker->VERSION('6.63_03') } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
+
+# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.034
+sub _add_prereq {
+ my ($mm_key, $module, $version_or_range) = @_;
+ $version_or_range ||= 0;
+ warn "$module already exists in $mm_key (at version $WriteMakefileArgs{$mm_key}{$module}) -- need to do a sane metamerge!"
+ if exists $WriteMakefileArgs{$mm_key}{$module}
+ and $WriteMakefileArgs{$mm_key}{$module} ne '0'
+ and $WriteMakefileArgs{$mm_key}{$module} ne $version_or_range;
+ warn "$module already exists in FallbackPrereqs (at version $WriteMakefileArgs{$mm_key}{$module}) -- need to do a sane metamerge!"
+ if exists $FallbackPrereqs{$module} and $FallbackPrereqs{$module} ne '0'
+ and $FallbackPrereqs{$module} ne $version_or_range;
+ $WriteMakefileArgs{$mm_key}{$module} = $FallbackPrereqs{$module} = $version_or_range;
+ return;
+}
+
+sub has_module {
+ my ($module, $version_or_range) = @_;
+ require Module::Metadata;
+ my $mmd = Module::Metadata->new_from_module($module);
+ return undef if not $mmd;
+ return $mmd->version($module) if not defined $version_or_range;
+
+ require CPAN::Meta::Requirements;
+ my $req = CPAN::Meta::Requirements->new;
+ $req->add_string_requirement($module => $version_or_range);
+ return 1 if $req->accepts_module($module => $mmd->version($module));
+ return 0;
+}
+
+sub requires { goto &runtime_requires }
+
+sub runtime_requires {
+ my ($module, $version_or_range) = @_;
+ _add_prereq(PREREQ_PM => $module, $version_or_range);
+}
suggests 'Authen::NTLM' => '1.02';
suggests 'IO::Socket::INET';
suggests 'LWP::Protocol::https' => '6.02';
+ suggests 'Data::Dump' => '1.13';
};
on 'test' => sub {
requires 'Test::More';
requires 'Test::RequiresInternet';
requires 'FindBin';
+ requires 'Test::Needs';
+ recommends 'Test::LeakTrace';
};
on 'develop' => sub {
- requires 'Test::CheckManifest' => '1.29';
- requires 'Test::CPAN::Changes' => '0.4';
- requires 'Test::CPAN::Meta';
- requires 'Test::Kwalitee' => '1.22';
- requires 'Test::Pod::Spelling::CommonMistakes' => '1.000';
- requires 'Try::Tiny' => '0.24';
+ requires 'Authen::NTLM' => '1.02';
};
[Prereqs::FromCPANfile]
+[DynamicPrereqs]
+:version = 0.018
+; HTTP::Status 6.17 was buggy
+-body = requires('HTTP::Status', '6.18') if has_module('HTTP::Status', '6.17');
+
[MakeMaker::Awesome]
delimiter = |
header = |use Getopt::Long qw(GetOptions);
; [Test::NoTabs] ; TODO
[Test::EOL]
[Test::ChangesHasContent]
+[Substitute]
+file = xt/release/changes_has_content.t
+code = s{^(note 'Checking Changes')}{if \(\(\$ENV\{TRAVIS_PULL_REQUEST\} \|\| '') eq 'false'\) \{\n chomp\(my \$branch_name = \(\$ENV\{TRAVIS_BRANCH\} || \`git rev-parse --abbrev-ref HEAD\`\)\);\n \$TODO = 'Changes need not have content for this release yet if this is only the master branch'\n if \(\$branch_name \|\| ''\) eq 'master';\n\}\n\n$1}
+
[Test::MinimumVersion]
[PodSyntaxTests]
package LWP;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require LWP::UserAgent; # this should load everything you need
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require MIME::Base64;
use strict;
use base 'LWP::Authen::Basic';
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require Digest::MD5;
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
use Authen::NTLM "1.02";
use MIME::Base64 "2.12";
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
our $DEBUG;
sub new {
package LWP::Debug; # legacy
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require Exporter;
our @ISA = qw(Exporter);
use strict;
use base 'LWP::Protocol::http';
-our $VERSION = '6.33';
+our $VERSION = '6.35';
package # hide from PAUSE
LWP::Debug::TraceHTTP::Socket;
package LWP::DebugFile;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
# legacy stub
package LWP::MemberMixin;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
sub _elem {
my $self = shift;
use base 'LWP::MemberMixin';
-our $VERSION = '6.33';
+our $VERSION = '6.35';
use strict;
use Carp ();
my $content;
my($ua, $max_size) = @{$self}{qw(ua max_size)};
- try {
+ # This can't be moved to Try::Tiny due to the closures within causing
+ # leaks on any version of Perl prior to 5.18.
+ # https://perl5.git.perl.org/perl.git/commitdiff/a0d2bbd5c
+ my $error = do { #catch
+ local $@;
local $\; # protect the print below from surprises
- if (!defined($arg) || !$response->is_success) {
- $response->{default_add_content} = 1;
- }
- elsif (!ref($arg) && length($arg)) {
- open(my $fh, ">", $arg) or die "Can't write to '$arg': $!";
- binmode($fh);
- push(@{$response->{handlers}{response_data}}, {
- callback => sub {
- print $fh $_[3] or die "Can't write to '$arg': $!";
- 1;
- },
- });
- push(@{$response->{handlers}{response_done}}, {
- callback => sub {
- close($fh) or die "Can't write to '$arg': $!";
- undef($fh);
- },
- });
- }
- elsif (ref($arg) eq 'CODE') {
- push(@{$response->{handlers}{response_data}}, {
- callback => sub {
- &$arg($_[3], $_[0], $self);
- 1;
- },
- });
- }
- else {
- die "Unexpected collect argument '$arg'";
- }
+ eval { # try
+ if (!defined($arg) || !$response->is_success) {
+ $response->{default_add_content} = 1;
+ }
+ elsif (!ref($arg) && length($arg)) {
+ open(my $fh, ">", $arg) or die "Can't write to '$arg': $!";
+ binmode($fh);
+ push(@{$response->{handlers}{response_data}}, {
+ callback => sub {
+ print $fh $_[3] or die "Can't write to '$arg': $!";
+ 1;
+ },
+ });
+ push(@{$response->{handlers}{response_done}}, {
+ callback => sub {
+ close($fh) or die "Can't write to '$arg': $!";
+ undef($fh);
+ },
+ });
+ }
+ elsif (ref($arg) eq 'CODE') {
+ push(@{$response->{handlers}{response_data}}, {
+ callback => sub {
+ &$arg($_[3], $_[0], $self);
+ 1;
+ },
+ });
+ }
+ else {
+ die "Unexpected collect argument '$arg'";
+ }
- $ua->run_handlers("response_header", $response);
+ $ua->run_handlers("response_header", $response);
- if (delete $response->{default_add_content}) {
- push(@{$response->{handlers}{response_data}}, {
- callback => sub {
- $_[0]->add_content($_[3]);
- 1;
- },
- });
- }
+ if (delete $response->{default_add_content}) {
+ push(@{$response->{handlers}{response_data}}, {
+ callback => sub {
+ $_[0]->add_content($_[3]);
+ 1;
+ },
+ });
+ }
- my $content_size = 0;
- my $length = $response->content_length;
- my %skip_h;
+ my $content_size = 0;
+ my $length = $response->content_length;
+ my %skip_h;
- while ($content = &$collector, length $$content) {
- for my $h ($ua->handlers("response_data", $response)) {
- next if $skip_h{$h};
- unless ($h->{callback}->($response, $ua, $h, $$content)) {
- # XXX remove from $response->{handlers}{response_data} if present
- $skip_h{$h}++;
+ while ($content = &$collector, length $$content) {
+ for my $h ($ua->handlers("response_data", $response)) {
+ next if $skip_h{$h};
+ unless ($h->{callback}->($response, $ua, $h, $$content)) {
+ # XXX remove from $response->{handlers}{response_data} if present
+ $skip_h{$h}++;
+ }
+ }
+ $content_size += length($$content);
+ $ua->progress(($length ? ($content_size / $length) : "tick"), $response);
+ if (defined($max_size) && $content_size > $max_size) {
+ $response->push_header("Client-Aborted", "max_size");
+ last;
}
}
- $content_size += length($$content);
- $ua->progress(($length ? ($content_size / $length) : "tick"), $response);
- if (defined($max_size) && $content_size > $max_size) {
- $response->push_header("Client-Aborted", "max_size");
- last;
- }
- }
- }
- catch {
- my $error = $_;
+ 1;
+ };
+ $@;
+ };
+
+ if ($error) {
chomp($error);
$response->push_header('X-Died' => $error);
$response->push_header("Client-Aborted", "die");
use base qw(LWP::Protocol);
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require URI;
require HTTP::Status;
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require LWP::MediaTypes;
require HTTP::Request;
use base qw(LWP::Protocol);
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
use Carp ();
use HTTP::Status ();
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require HTTP::Response;
use Carp;
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
use base qw(LWP::Protocol);
our $SENDMAIL;
use base qw(LWP::Protocol);
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require HTTP::Response;
require HTTP::Status;
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require HTTP::Response;
require HTTP::Status;
use base qw(LWP::UserAgent);
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require WWW::RobotRules;
require HTTP::Request;
use strict;
-our $VERSION = '6.33';
+our $VERSION = '6.35';
require Exporter;
use Scalar::Util qw(blessed);
use Try::Tiny qw(try catch);
-our $VERSION = '6.33';
+our $VERSION = '6.35';
sub new
{
=head2 agent
my $agent = $ua->agent;
- $ua->agent('Checkbot/0.4 '); # append the defaul to the end
+ $ua->agent('Checkbot/0.4 '); # append the default to the end
$ua->agent('Mozilla/5.0');
$ua->agent(""); # don't identify
Get/set the timeout value in seconds. The default value is
180 seconds, i.e. 3 minutes.
-The requests is aborted if no activity on the connection to the server
+The request is aborted if no activity on the connection to the server
is observed for C<timeout> seconds. This means that the time it takes
for the complete transaction and the L<LWP::UserAgent/request> method to
actually return might be longer.
+When a request times out, a response object is still returned. The response
+will have a standard HTTP Status Code (500). This response will have the
+"Client-Warning" header set to the value of "Internal response". See the
+L<LWP::UserAgent/get> method description below for further details.
+
=head1 PROXY ATTRIBUTES
The following methods set up when requests should be passed via a
do { my $x = {
'configure' => {
'requires' => {
+ 'CPAN::Meta::Requirements' => '2.120620',
'ExtUtils::MakeMaker' => '0',
'File::Copy' => '0',
- 'Getopt::Long' => '0'
- },
- 'suggests' => {
- 'JSON::PP' => '2.27300'
+ 'Getopt::Long' => '0',
+ 'Module::Metadata' => '0'
}
},
'develop' => {
'recommends' => {
- 'Dist::Zilla::PluginBundle::Git::VersionManager' => '0.005'
+ 'Dist::Zilla::PluginBundle::Git::VersionManager' => '0.007'
},
'requires' => {
+ 'Authen::NTLM' => '1.02',
'File::Spec' => '0',
'IO::Handle' => '0',
'IPC::Open3' => '0',
'Pod::Coverage::TrustPod' => '0',
- 'Test::CPAN::Changes' => '0.4',
- 'Test::CPAN::Meta' => '0',
- 'Test::CheckManifest' => '1.29',
'Test::EOL' => '0',
- 'Test::Kwalitee' => '1.22',
'Test::MinimumVersion' => '0',
'Test::Mojibake' => '0',
'Test::More' => '0.94',
'Test::Pod' => '1.41',
'Test::Pod::Coverage' => '1.08',
- 'Test::Pod::Spelling::CommonMistakes' => '1.000',
'Test::Portability::Files' => '0',
'Test::Spelling' => '0.12',
- 'Test::Version' => '1',
- 'Try::Tiny' => '0.24'
+ 'Test::Version' => '1'
}
},
'runtime' => {
},
'suggests' => {
'Authen::NTLM' => '1.02',
+ 'Data::Dump' => '1.13',
'IO::Socket::INET' => '0',
'LWP::Protocol::https' => '6.02'
}
},
'test' => {
'recommends' => {
- 'CPAN::Meta' => '2.120900'
+ 'CPAN::Meta' => '2.120900',
+ 'Test::LeakTrace' => '0'
},
'requires' => {
'ExtUtils::MakeMaker' => '0',
'FindBin' => '0',
'Test::Fatal' => '0',
'Test::More' => '0',
+ 'Test::Needs' => '0',
'Test::RequiresInternet' => '0'
}
}
--- /dev/null
+use strict;
+use warnings;
+
+# To ensure "no leak" in real LWP code, we should test it against HTTP servers.
+# However, HTTPS is not required here, so let's use an HTTP site neverssl.com.
+use Test::RequiresInternet 'neverssl.com' => 80;
+
+use Test::More;
+use Test::Needs 'Test::LeakTrace';
+
+use File::Temp ();
+use LWP::UserAgent;
+
+plan skip_all => 'skip leak test in COVERAGE' if $ENV{COVERAGE};
+
+my ($tempfh, $tempfile) = File::Temp::tempfile(UNLINK => 0);
+close $tempfh;
+
+Test::LeakTrace::no_leaks_ok(sub {
+ my $ua = LWP::UserAgent->new;
+ my $res = $ua->get("http://neverssl.com/", ':content_file' => $tempfile);
+});
+
+unlink $tempfile;
+
+done_testing;
't/base/simple.t',
't/base/ua.t',
't/base/ua_handlers.t',
+ 't/leak/no_leak.t',
't/local/autoload-get.t',
't/local/autoload.t',
't/local/get.t',
--- /dev/null
+#!perl
+
+use Test::More;
+
+use Test::MinimumVersion;
+all_minimum_version_from_metayml_ok();
Alexandre
Alexey
Andreas
+Andrew
+Anirvan
Asplund
Atzberger
Authen
Ceccarelli
Chamas
Chase
+Chatterjee
Christopher
Chrysostomos
Colin
Coppit
Couzins
DAVIDRW
+Daignault
Daina
Dalgleish
Daniel
Debug
DebugFile
Denaxas
+Desmond
Digest
Doug
Dubois
Graaff
Graeme
Graham
+Grangaard
Greab
Gregoire
Gregory
John
Jr
KONISHI
+Kaji
Kaminsky
Kapranoff
Karaban
Sean
Sergey
Shirazi
+Shoichi
Simple
Sjogren
Skyttä
amir
amire80
andreas
+anirvan
asjo
at
bin
gong
gopher
gpeters
+granny
haarg
hfroehlich
http
mmcleric
murphy
naveedm9
+nawglan
nigelgregoire
nntp
nogo
schwern
shaohua
shildreth
+skaji
slaven
sprout
sromanov
use Test::More tests => 2;
+if (($ENV{TRAVIS_PULL_REQUEST} || '') eq 'false') {
+ chomp(my $branch_name = ($ENV{TRAVIS_BRANCH} || `git rev-parse --abbrev-ref HEAD`));
+ $TODO = 'Changes need not have content for this release yet if this is only the master branch'
+ if ($branch_name || '') eq 'master';
+}
+
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '6.33';
+my $newver = '6.35';
my $trial_token = '-TRIAL';
my $encoding = 'UTF-8';
+++ /dev/null
-#!perl
-
-use Test::More;
-
-eval "use Test::MinimumVersion";
-plan skip_all => "Test::MinimumVersion required for testing minimum versions"
- if $@;
-all_minimum_version_from_metayml_ok();