Hello community,

here is the log from the commit of package perl-Net-HTTP for openSUSE:Factory 
checked in at 2018-05-16 11:23:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-HTTP (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Net-HTTP.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Net-HTTP"

Wed May 16 11:23:52 2018 rev:21 rq:606965 version:6.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-HTTP/perl-Net-HTTP.changes      
2017-09-05 15:13:45.433575543 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Net-HTTP.new/perl-Net-HTTP.changes 
2018-05-16 11:23:57.242781630 +0200
@@ -1,0 +2,9 @@
+Thu May 10 05:39:52 UTC 2018 - co...@suse.com
+
+- updated to 6.18
+   see /usr/share/doc/packages/perl-Net-HTTP/Changes
+
+  6.18      2018-05-09 14:55:43Z
+      - Move test that relies on http://httpbin.org to author tests
+
+-------------------------------------------------------------------

Old:
----
  Net-HTTP-6.17.tar.gz

New:
----
  Net-HTTP-6.18.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Net-HTTP.spec ++++++
--- /var/tmp/diff_new_pack.lflBgG/_old  2018-05-16 11:23:59.734691111 +0200
+++ /var/tmp/diff_new_pack.lflBgG/_new  2018-05-16 11:23:59.742690820 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Net-HTTP
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,11 +17,11 @@
 
 
 Name:           perl-Net-HTTP
-Version:        6.17
+Version:        6.18
 Release:        0
 %define cpan_name Net-HTTP
 Summary:        Low-level HTTP connection (client)
-License:        Artistic-1.0 or GPL-1.0+
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Net-HTTP/
 Source0:        
https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz

++++++ Net-HTTP-6.17.tar.gz -> Net-HTTP-6.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/Changes new/Net-HTTP-6.18/Changes
--- old/Net-HTTP-6.17/Changes   2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/Changes   2018-05-09 16:55:47.000000000 +0200
@@ -1,5 +1,8 @@
 Release history for Net-HTTP
 
+6.18      2018-05-09 14:55:43Z
+    - Move test that relies on http://httpbin.org to author tests
+
 6.17      2017-09-01 15:30:20Z
     - Fix test which relied on cpan.org speaking plain HTTP GH#54 (Chase
       Whitener)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/INSTALL new/Net-HTTP-6.18/INSTALL
--- old/Net-HTTP-6.17/INSTALL   2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/INSTALL   2018-05-09 16:55:47.000000000 +0200
@@ -31,13 +31,22 @@
 
     % make install
 
+On Windows platforms, you should use `dmake` or `nmake`, instead of `make`.
+
 If your perl is system-managed, you can create a local::lib in your home
 directory to install modules to. For details, see the local::lib documentation:
 https://metacpan.org/pod/local::lib
 
+
+The prerequisites of this distribution will also have to be installed 
manually. The
+prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` 
generated
+by running the manual build process described above.
+
 ## Documentation
 
 Net-HTTP documentation is available as POD.
-You can run perldoc from a shell to read the documentation:
+You can run `perldoc` from a shell to read the documentation:
 
     % perldoc Net::HTTP
+For more information on installing Perl modules via CPAN, please see:
+https://www.cpan.org/modules/INSTALL.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/MANIFEST new/Net-HTTP-6.18/MANIFEST
--- old/Net-HTTP-6.17/MANIFEST  2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/MANIFEST  2018-05-09 16:55:47.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.009.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.012.
 CONTRIBUTORS
 Changes
 INSTALL
@@ -22,5 +22,5 @@
 t/http.t
 t/live-https.t
 t/live.t
-t/rt-112313.t
 tidyall.ini
+xt/rt-112313.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/META.json new/Net-HTTP-6.18/META.json
--- old/Net-HTTP-6.17/META.json 2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/META.json 2018-05-09 16:55:47.000000000 +0200
@@ -4,7 +4,7 @@
       "Gisle Aas <gi...@activestate.com>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 6.009, CPAN::Meta::Converter version 
2.150010",
+   "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010",
    "license" : [
       "perl_5"
    ],
@@ -29,6 +29,11 @@
             "JSON::PP" : "2.27300"
          }
       },
+      "develop" : {
+         "requires" : {
+            "Test::More" : "0"
+         }
+      },
       "runtime" : {
          "requires" : {
             "Carp" : "0",
@@ -78,16 +83,16 @@
       "x_IRC" : "irc://irc.perl.org/#lwp",
       "x_MailingList" : "mailto:lib...@perl.org";
    },
-   "version" : "6.17",
+   "version" : "6.18",
    "x_Dist_Zilla" : {
       "perl" : {
-         "version" : "5.026000"
+         "version" : "5.026001"
       },
       "plugins" : [
          {
             "class" : "Dist::Zilla::Plugin::MetaResources",
             "name" : "MetaResources",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::Prereqs",
@@ -98,7 +103,7 @@
                }
             },
             "name" : "Prereqs",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -115,7 +120,7 @@
                }
             },
             "name" : "@Author::OALDERS/stale modules, build",
-            "version" : "0.053"
+            "version" : "0.055"
          },
          {
             "class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -130,7 +135,7 @@
                }
             },
             "name" : "@Author::OALDERS/stale modules, release",
-            "version" : "0.053"
+            "version" : "0.055"
          },
          {
             "class" : "Dist::Zilla::Plugin::MAXMIND::TidyAll",
@@ -145,12 +150,12 @@
                }
             },
             "name" : "@Author::OALDERS/MakeMaker",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::CPANFile",
             "name" : "@Author::OALDERS/CPANFile",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::ContributorsFile",
@@ -160,57 +165,52 @@
          {
             "class" : "Dist::Zilla::Plugin::MetaJSON",
             "name" : "@Author::OALDERS/MetaJSON",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaYAML",
             "name" : "@Author::OALDERS/MetaYAML",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::Manifest",
             "name" : "@Author::OALDERS/Manifest",
-            "version" : "6.009"
-         },
-         {
-            "class" : "Dist::Zilla::Plugin::ManifestSkip",
-            "name" : "@Author::OALDERS/ManifestSkip",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaNoIndex",
             "name" : "@Author::OALDERS/MetaNoIndex",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaConfig",
             "name" : "@Author::OALDERS/MetaConfig",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaResources",
             "name" : "@Author::OALDERS/MetaResources",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::License",
             "name" : "@Author::OALDERS/License",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::InstallGuide",
             "name" : "@Author::OALDERS/InstallGuide",
-            "version" : "1.200007"
+            "version" : "1.200009"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExecDir",
             "name" : "@Author::OALDERS/ExecDir",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::TestRelease",
             "name" : "@Author::OALDERS/TestRelease",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
@@ -228,11 +228,6 @@
             "version" : "0.029"
          },
          {
-            "class" : "Dist::Zilla::Plugin::PkgVersion",
-            "name" : "@Author::OALDERS/PkgVersion",
-            "version" : "6.009"
-         },
-         {
             "class" : "Dist::Zilla::Plugin::PodWeaver",
             "config" : {
                "Dist::Zilla::Plugin::PodWeaver" : {
@@ -330,7 +325,7 @@
          {
             "class" : "Dist::Zilla::Plugin::PruneCruft",
             "name" : "@Author::OALDERS/PruneCruft",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild",
@@ -338,11 +333,6 @@
             "version" : "0.170880"
          },
          {
-            "class" : "Dist::Zilla::Plugin::NextRelease",
-            "name" : "@Author::OALDERS/NextRelease",
-            "version" : "6.009"
-         },
-         {
             "class" : "Dist::Zilla::Plugin::GithubMeta",
             "name" : "@Author::OALDERS/GithubMeta",
             "version" : "0.54"
@@ -371,7 +361,7 @@
                }
             },
             "name" : "@Author::OALDERS/Git::GatherDir",
-            "version" : "2.042"
+            "version" : "2.043"
          },
          {
             "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
@@ -407,12 +397,105 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.12.2",
+                  "git_version" : "2.16.3",
                   "repo_root" : "."
                }
             },
             "name" : "@Author::OALDERS/Git::Check",
-            "version" : "2.042"
+            "version" : "2.043"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Git::Contributors",
+            "config" : {
+               "Dist::Zilla::Plugin::Git::Contributors" : {
+                  "git_version" : "2.16.3",
+                  "include_authors" : 0,
+                  "include_releaser" : 1,
+                  "order_by" : "name",
+                  "paths" : []
+               }
+            },
+            "name" : "@Author::OALDERS/Git::Contributors",
+            "version" : "0.034"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
+            "config" : {
+               "Dist::Zilla::Role::FileWatcher" : {
+                  "version" : "0.006"
+               }
+            },
+            "name" : "@Author::OALDERS/ReadmeMdInBuild",
+            "version" : "0.163250"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ShareDir",
+            "name" : "@Author::OALDERS/ShareDir",
+            "version" : "6.012"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::TravisCI::StatusBadge",
+            "name" : "@Author::OALDERS/TravisCI::StatusBadge",
+            "version" : "0.007"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::ConfirmRelease",
+            "name" : "@Author::OALDERS/ConfirmRelease",
+            "version" : "6.012"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::UploadToCPAN",
+            "name" : "@Author::OALDERS/UploadToCPAN",
+            "version" : "6.012"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional",
+            "config" : {
+               "Dist::Zilla::Plugin::RewriteVersion" : {
+                  "add_tarball_name" : 0,
+                  "finders" : [
+                     ":ExecFiles",
+                     ":InstallModules"
+                  ],
+                  "global" : 0,
+                  "skip_version_provider" : 0
+               },
+               "Dist::Zilla::Plugin::RewriteVersion::Transitional" : {
+                  "_fallback_version_provider_args" : {},
+                  "fallback_version_provider" : "Git::NextVersion"
+               },
+               "Git::NextVersion" : {
+                  "Dist::Zilla::Plugin::Git::NextVersion" : {
+                     "first_version" : "0.001",
+                     "version_by_branch" : 0,
+                     "version_regexp" : "(?^:^v(.+)$)"
+                  },
+                  "Dist::Zilla::Role::Git::Repo" : {
+                     "git_version" : "2.16.3",
+                     "repo_root" : "."
+                  }
+               }
+            },
+            "name" : 
"@Author::OALDERS/@Git::VersionManager/RewriteVersion::Transitional",
+            "version" : "0.009"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::MetaProvides::Update",
+            "name" : 
"@Author::OALDERS/@Git::VersionManager/MetaProvides::Update",
+            "version" : "0.007"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
+            "config" : {
+               "Dist::Zilla::Plugin::CopyFilesFromRelease" : {
+                  "filename" : [
+                     "Changes"
+                  ],
+                  "match" : []
+               }
+            },
+            "name" : 
"@Author::OALDERS/@Git::VersionManager/CopyFilesFromRelease",
+            "version" : "0.006"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -436,29 +519,15 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.12.2",
+                  "git_version" : "2.16.3",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
                   "time_zone" : "local"
                }
             },
-            "name" : "@Author::OALDERS/commit generated files",
-            "version" : "2.042"
-         },
-         {
-            "class" : "Dist::Zilla::Plugin::Git::Contributors",
-            "config" : {
-               "Dist::Zilla::Plugin::Git::Contributors" : {
-                  "git_version" : "2.12.2",
-                  "include_authors" : 0,
-                  "include_releaser" : 1,
-                  "order_by" : "name",
-                  "paths" : []
-               }
-            },
-            "name" : "@Author::OALDERS/Git::Contributors",
-            "version" : "0.030"
+            "name" : "@Author::OALDERS/@Git::VersionManager/release snapshot",
+            "version" : "2.043"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -467,20 +536,70 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v6.17",
+                  "tag" : "v6.18",
                   "tag_format" : "v%v",
                   "tag_message" : "v%v"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.12.2",
+                  "git_version" : "2.16.3",
+                  "repo_root" : "."
+               },
+               "Dist::Zilla::Role::Git::StringFormatter" : {
+                  "time_zone" : "local"
+               }
+            },
+            "name" : "@Author::OALDERS/@Git::VersionManager/Git::Tag",
+            "version" : "2.043"
+         },
+         {
+            "class" : 
"Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional",
+            "config" : {
+               "Dist::Zilla::Plugin::BumpVersionAfterRelease" : {
+                  "finders" : [
+                     ":ExecFiles",
+                     ":InstallModules"
+                  ],
+                  "global" : 0,
+                  "munge_makefile_pl" : 1
+               },
+               "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional" : 
{}
+            },
+            "name" : 
"@Author::OALDERS/@Git::VersionManager/BumpVersionAfterRelease::Transitional",
+            "version" : "0.009"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::NextRelease",
+            "name" : "@Author::OALDERS/@Git::VersionManager/NextRelease",
+            "version" : "6.012"
+         },
+         {
+            "class" : "Dist::Zilla::Plugin::Git::Commit",
+            "config" : {
+               "Dist::Zilla::Plugin::Git::Commit" : {
+                  "add_files_in" : [],
+                  "commit_msg" : "increment $VERSION after %v release"
+               },
+               "Dist::Zilla::Role::Git::DirtyFiles" : {
+                  "allow_dirty" : [
+                     "Build.PL",
+                     "Changes",
+                     "Makefile.PL"
+                  ],
+                  "allow_dirty_match" : [
+                     "(?^:^lib/.*\\.pm$)"
+                  ],
+                  "changelog" : "Changes"
+               },
+               "Dist::Zilla::Role::Git::Repo" : {
+                  "git_version" : "2.16.3",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
                   "time_zone" : "local"
                }
             },
-            "name" : "@Author::OALDERS/Git::Tag",
-            "version" : "2.042"
+            "name" : "@Author::OALDERS/@Git::VersionManager/post-release 
commit",
+            "version" : "2.043"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Push",
@@ -492,47 +611,17 @@
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.12.2",
+                  "git_version" : "2.16.3",
                   "repo_root" : "."
                }
             },
             "name" : "@Author::OALDERS/Git::Push",
-            "version" : "2.042"
-         },
-         {
-            "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
-            "config" : {
-               "Dist::Zilla::Role::FileWatcher" : {
-                  "version" : "0.006"
-               }
-            },
-            "name" : "@Author::OALDERS/ReadmeMdInBuild",
-            "version" : "0.163250"
-         },
-         {
-            "class" : "Dist::Zilla::Plugin::ShareDir",
-            "name" : "@Author::OALDERS/ShareDir",
-            "version" : "6.009"
-         },
-         {
-            "class" : "Dist::Zilla::Plugin::TravisCI::StatusBadge",
-            "name" : "@Author::OALDERS/TravisCI::StatusBadge",
-            "version" : "0.007"
-         },
-         {
-            "class" : "Dist::Zilla::Plugin::ConfirmRelease",
-            "name" : "@Author::OALDERS/ConfirmRelease",
-            "version" : "6.009"
-         },
-         {
-            "class" : "Dist::Zilla::Plugin::UploadToCPAN",
-            "name" : "@Author::OALDERS/UploadToCPAN",
-            "version" : "6.009"
+            "version" : "2.043"
          },
          {
             "class" : "Dist::Zilla::Plugin::AutoPrereqs",
             "name" : "AutoPrereqs",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::Prereqs",
@@ -543,7 +632,7 @@
                }
             },
             "name" : "RuntimeSuggests",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::Prereqs::Soften",
@@ -567,52 +656,52 @@
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":InstallModules",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":IncModules",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":TestFiles",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExtraTestFiles",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExecFiles",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":PerlExecFiles",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ShareFiles",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":MainModule",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":AllFiles",
-            "version" : "6.009"
+            "version" : "6.012"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":NoFiles",
-            "version" : "6.009"
+            "version" : "6.012"
          }
       ],
       "zilla" : {
@@ -620,7 +709,7 @@
          "config" : {
             "is_trial" : 0
          },
-         "version" : "6.009"
+         "version" : "6.012"
       }
    },
    "x_contributors" : [
@@ -694,6 +783,7 @@
       "Yuri Karaban <t...@askold.net>",
       "Zefram <zef...@fysh.org>"
    ],
-   "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233"
+   "x_generated_by_perl" : "v5.26.1",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/META.yml new/Net-HTTP-6.18/META.yml
--- old/Net-HTTP-6.17/META.yml  2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/META.yml  2018-05-09 16:55:47.000000000 +0200
@@ -12,7 +12,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.009, CPAN::Meta::Converter version 
2.150010'
+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
@@ -40,15 +40,15 @@
   bugtracker: https://github.com/libwww-perl/Net-HTTP/issues
   homepage: https://github.com/libwww-perl/Net-HTTP
   repository: https://github.com/libwww-perl/Net-HTTP.git
-version: '6.17'
+version: '6.18'
 x_Dist_Zilla:
   perl:
-    version: '5.026000'
+    version: '5.026001'
   plugins:
     -
       class: Dist::Zilla::Plugin::MetaResources
       name: MetaResources
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::Prereqs
       config:
@@ -56,7 +56,7 @@
           phase: runtime
           type: requires
       name: Prereqs
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::PromptIfStale
       config:
@@ -69,7 +69,7 @@
           run_under_travis: 0
           skip: []
       name: '@Author::OALDERS/stale modules, build'
-      version: '0.053'
+      version: '0.055'
     -
       class: Dist::Zilla::Plugin::PromptIfStale
       config:
@@ -81,7 +81,7 @@
           run_under_travis: 0
           skip: []
       name: '@Author::OALDERS/stale modules, release'
-      version: '0.053'
+      version: '0.055'
     -
       class: Dist::Zilla::Plugin::MAXMIND::TidyAll
       name: '@Author::OALDERS/MAXMIND::TidyAll'
@@ -92,11 +92,11 @@
         Dist::Zilla::Role::TestRunner:
           default_jobs: 1
       name: '@Author::OALDERS/MakeMaker'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::CPANFile
       name: '@Author::OALDERS/CPANFile'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::ContributorsFile
       name: '@Author::OALDERS/ContributorsFile'
@@ -104,47 +104,43 @@
     -
       class: Dist::Zilla::Plugin::MetaJSON
       name: '@Author::OALDERS/MetaJSON'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::MetaYAML
       name: '@Author::OALDERS/MetaYAML'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::Manifest
       name: '@Author::OALDERS/Manifest'
-      version: '6.009'
-    -
-      class: Dist::Zilla::Plugin::ManifestSkip
-      name: '@Author::OALDERS/ManifestSkip'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::MetaNoIndex
       name: '@Author::OALDERS/MetaNoIndex'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::MetaConfig
       name: '@Author::OALDERS/MetaConfig'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::MetaResources
       name: '@Author::OALDERS/MetaResources'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::License
       name: '@Author::OALDERS/License'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::InstallGuide
       name: '@Author::OALDERS/InstallGuide'
-      version: '1.200007'
+      version: '1.200009'
     -
       class: Dist::Zilla::Plugin::ExecDir
       name: '@Author::OALDERS/ExecDir'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::TestRelease
       name: '@Author::OALDERS/TestRelease'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::Test::ReportPrereqs
       name: '@Author::OALDERS/Test::ReportPrereqs'
@@ -157,10 +153,6 @@
       name: '@Author::OALDERS/RunExtraTests'
       version: '0.029'
     -
-      class: Dist::Zilla::Plugin::PkgVersion
-      name: '@Author::OALDERS/PkgVersion'
-      version: '6.009'
-    -
       class: Dist::Zilla::Plugin::PodWeaver
       config:
         Dist::Zilla::Plugin::PodWeaver:
@@ -237,16 +229,12 @@
     -
       class: Dist::Zilla::Plugin::PruneCruft
       name: '@Author::OALDERS/PruneCruft'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::CopyFilesFromBuild
       name: '@Author::OALDERS/CopyFilesFromBuild'
       version: '0.170880'
     -
-      class: Dist::Zilla::Plugin::NextRelease
-      name: '@Author::OALDERS/NextRelease'
-      version: '6.009'
-    -
       class: Dist::Zilla::Plugin::GithubMeta
       name: '@Author::OALDERS/GithubMeta'
       version: '0.54'
@@ -270,7 +258,7 @@
         Dist::Zilla::Plugin::Git::GatherDir:
           include_untracked: 0
       name: '@Author::OALDERS/Git::GatherDir'
-      version: '2.042'
+      version: '2.043'
     -
       class: Dist::Zilla::Plugin::CopyFilesFromRelease
       config:
@@ -298,10 +286,80 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.12.2
+          git_version: 2.16.3
           repo_root: .
       name: '@Author::OALDERS/Git::Check'
-      version: '2.042'
+      version: '2.043'
+    -
+      class: Dist::Zilla::Plugin::Git::Contributors
+      config:
+        Dist::Zilla::Plugin::Git::Contributors:
+          git_version: 2.16.3
+          include_authors: 0
+          include_releaser: 1
+          order_by: name
+          paths: []
+      name: '@Author::OALDERS/Git::Contributors'
+      version: '0.034'
+    -
+      class: Dist::Zilla::Plugin::ReadmeAnyFromPod
+      config:
+        Dist::Zilla::Role::FileWatcher:
+          version: '0.006'
+      name: '@Author::OALDERS/ReadmeMdInBuild'
+      version: '0.163250'
+    -
+      class: Dist::Zilla::Plugin::ShareDir
+      name: '@Author::OALDERS/ShareDir'
+      version: '6.012'
+    -
+      class: Dist::Zilla::Plugin::TravisCI::StatusBadge
+      name: '@Author::OALDERS/TravisCI::StatusBadge'
+      version: '0.007'
+    -
+      class: Dist::Zilla::Plugin::ConfirmRelease
+      name: '@Author::OALDERS/ConfirmRelease'
+      version: '6.012'
+    -
+      class: Dist::Zilla::Plugin::UploadToCPAN
+      name: '@Author::OALDERS/UploadToCPAN'
+      version: '6.012'
+    -
+      class: Dist::Zilla::Plugin::RewriteVersion::Transitional
+      config:
+        Dist::Zilla::Plugin::RewriteVersion:
+          add_tarball_name: 0
+          finders:
+            - ':ExecFiles'
+            - ':InstallModules'
+          global: 0
+          skip_version_provider: 0
+        Dist::Zilla::Plugin::RewriteVersion::Transitional:
+          _fallback_version_provider_args: {}
+          fallback_version_provider: Git::NextVersion
+        Git::NextVersion:
+          Dist::Zilla::Plugin::Git::NextVersion:
+            first_version: '0.001'
+            version_by_branch: 0
+            version_regexp: (?^:^v(.+)$)
+          Dist::Zilla::Role::Git::Repo:
+            git_version: 2.16.3
+            repo_root: .
+      name: 
'@Author::OALDERS/@Git::VersionManager/RewriteVersion::Transitional'
+      version: '0.009'
+    -
+      class: Dist::Zilla::Plugin::MetaProvides::Update
+      name: '@Author::OALDERS/@Git::VersionManager/MetaProvides::Update'
+      version: '0.007'
+    -
+      class: Dist::Zilla::Plugin::CopyFilesFromRelease
+      config:
+        Dist::Zilla::Plugin::CopyFilesFromRelease:
+          filename:
+            - Changes
+          match: []
+      name: '@Author::OALDERS/@Git::VersionManager/CopyFilesFromRelease'
+      version: '0.006'
     -
       class: Dist::Zilla::Plugin::Git::Commit
       config:
@@ -321,23 +379,12 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.12.2
+          git_version: 2.16.3
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
-      name: '@Author::OALDERS/commit generated files'
-      version: '2.042'
-    -
-      class: Dist::Zilla::Plugin::Git::Contributors
-      config:
-        Dist::Zilla::Plugin::Git::Contributors:
-          git_version: 2.12.2
-          include_authors: 0
-          include_releaser: 1
-          order_by: name
-          paths: []
-      name: '@Author::OALDERS/Git::Contributors'
-      version: '0.030'
+      name: '@Author::OALDERS/@Git::VersionManager/release snapshot'
+      version: '2.043'
     -
       class: Dist::Zilla::Plugin::Git::Tag
       config:
@@ -345,16 +392,53 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v6.17
+          tag: v6.18
           tag_format: v%v
           tag_message: v%v
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.12.2
+          git_version: 2.16.3
+          repo_root: .
+        Dist::Zilla::Role::Git::StringFormatter:
+          time_zone: local
+      name: '@Author::OALDERS/@Git::VersionManager/Git::Tag'
+      version: '2.043'
+    -
+      class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional
+      config:
+        Dist::Zilla::Plugin::BumpVersionAfterRelease:
+          finders:
+            - ':ExecFiles'
+            - ':InstallModules'
+          global: 0
+          munge_makefile_pl: 1
+        Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional: {}
+      name: 
'@Author::OALDERS/@Git::VersionManager/BumpVersionAfterRelease::Transitional'
+      version: '0.009'
+    -
+      class: Dist::Zilla::Plugin::NextRelease
+      name: '@Author::OALDERS/@Git::VersionManager/NextRelease'
+      version: '6.012'
+    -
+      class: Dist::Zilla::Plugin::Git::Commit
+      config:
+        Dist::Zilla::Plugin::Git::Commit:
+          add_files_in: []
+          commit_msg: 'increment $VERSION after %v release'
+        Dist::Zilla::Role::Git::DirtyFiles:
+          allow_dirty:
+            - Build.PL
+            - Changes
+            - Makefile.PL
+          allow_dirty_match:
+            - (?^:^lib/.*\.pm$)
+          changelog: Changes
+        Dist::Zilla::Role::Git::Repo:
+          git_version: 2.16.3
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
-      name: '@Author::OALDERS/Git::Tag'
-      version: '2.042'
+      name: '@Author::OALDERS/@Git::VersionManager/post-release commit'
+      version: '2.043'
     -
       class: Dist::Zilla::Plugin::Git::Push
       config:
@@ -363,37 +447,14 @@
             - origin
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.12.2
+          git_version: 2.16.3
           repo_root: .
       name: '@Author::OALDERS/Git::Push'
-      version: '2.042'
-    -
-      class: Dist::Zilla::Plugin::ReadmeAnyFromPod
-      config:
-        Dist::Zilla::Role::FileWatcher:
-          version: '0.006'
-      name: '@Author::OALDERS/ReadmeMdInBuild'
-      version: '0.163250'
-    -
-      class: Dist::Zilla::Plugin::ShareDir
-      name: '@Author::OALDERS/ShareDir'
-      version: '6.009'
-    -
-      class: Dist::Zilla::Plugin::TravisCI::StatusBadge
-      name: '@Author::OALDERS/TravisCI::StatusBadge'
-      version: '0.007'
-    -
-      class: Dist::Zilla::Plugin::ConfirmRelease
-      name: '@Author::OALDERS/ConfirmRelease'
-      version: '6.009'
-    -
-      class: Dist::Zilla::Plugin::UploadToCPAN
-      name: '@Author::OALDERS/UploadToCPAN'
-      version: '6.009'
+      version: '2.043'
     -
       class: Dist::Zilla::Plugin::AutoPrereqs
       name: AutoPrereqs
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::Prereqs
       config:
@@ -401,7 +462,7 @@
           phase: runtime
           type: suggests
       name: RuntimeSuggests
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::Prereqs::Soften
       config:
@@ -420,48 +481,48 @@
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':InstallModules'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':IncModules'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':TestFiles'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExtraTestFiles'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExecFiles'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':PerlExecFiles'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ShareFiles'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':MainModule'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':AllFiles'
-      version: '6.009'
+      version: '6.012'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':NoFiles'
-      version: '6.009'
+      version: '6.012'
   zilla:
     class: Dist::Zilla::Dist::Builder
     config:
       is_trial: '0'
-    version: '6.009'
+    version: '6.012'
 x_contributors:
   - 'Adam Kennedy <ad...@cpan.org>'
   - 'Adam Sjogren <a...@koldfront.dk>'
@@ -532,4 +593,5 @@
   - 'Ville Skytta <ville.sky...@iki.fi>'
   - 'Yuri Karaban <t...@askold.net>'
   - 'Zefram <zef...@fysh.org>'
+x_generated_by_perl: v5.26.1
 x_serialization_backend: 'YAML::Tiny version 1.70'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/Makefile.PL 
new/Net-HTTP-6.18/Makefile.PL
--- old/Net-HTTP-6.17/Makefile.PL       2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/Makefile.PL       2018-05-09 16:55:47.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.009.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.012.
 use strict;
 use warnings;
 
@@ -35,7 +35,7 @@
     "Socket" => 0,
     "Test::More" => 0
   },
-  "VERSION" => "6.17",
+  "VERSION" => "6.18",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/README.md new/Net-HTTP-6.18/README.md
--- old/Net-HTTP-6.17/README.md 2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/README.md 2018-05-09 16:55:47.000000000 +0200
@@ -4,7 +4,7 @@
 
 # VERSION
 
-version 6.17
+version 6.18
 
 # SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/cpanfile new/Net-HTTP-6.18/cpanfile
--- old/Net-HTTP-6.17/cpanfile  2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/cpanfile  2018-05-09 16:55:47.000000000 +0200
@@ -34,3 +34,7 @@
 on 'configure' => sub {
   suggests "JSON::PP" => "2.27300";
 };
+
+on 'develop' => sub {
+  requires "Test::More" => "0";
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/dist.ini new/Net-HTTP-6.18/dist.ini
--- old/Net-HTTP-6.17/dist.ini  2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/dist.ini  2018-05-09 16:55:47.000000000 +0200
@@ -4,7 +4,6 @@
 main_module = lib/Net/HTTP.pm
 copyright_holder = Gisle Aas
 copyright_year   = 2001-2017
-version = 6.17
 
 [MetaResources]
 x_IRC = irc://irc.perl.org/#lwp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/lib/Net/HTTP/Methods.pm 
new/Net-HTTP-6.18/lib/Net/HTTP/Methods.pm
--- old/Net-HTTP-6.17/lib/Net/HTTP/Methods.pm   2017-09-01 17:30:24.000000000 
+0200
+++ new/Net-HTTP-6.18/lib/Net/HTTP/Methods.pm   2018-05-09 16:55:47.000000000 
+0200
@@ -1,5 +1,5 @@
 package Net::HTTP::Methods;
-$Net::HTTP::Methods::VERSION = '6.17';
+our $VERSION = '6.18';
 use strict;
 use warnings;
 use URI;
@@ -649,7 +649,7 @@
 
 =head1 VERSION
 
-version 6.17
+version 6.18
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/lib/Net/HTTP/NB.pm 
new/Net-HTTP-6.18/lib/Net/HTTP/NB.pm
--- old/Net-HTTP-6.17/lib/Net/HTTP/NB.pm        2017-09-01 17:30:24.000000000 
+0200
+++ new/Net-HTTP-6.18/lib/Net/HTTP/NB.pm        2018-05-09 16:55:47.000000000 
+0200
@@ -1,5 +1,5 @@
 package Net::HTTP::NB;
-$Net::HTTP::NB::VERSION = '6.17';
+our $VERSION = '6.18';
 use strict;
 use warnings;
 
@@ -60,7 +60,7 @@
 
 =head1 VERSION
 
-version 6.17
+version 6.18
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/lib/Net/HTTP.pm 
new/Net-HTTP-6.18/lib/Net/HTTP.pm
--- old/Net-HTTP-6.17/lib/Net/HTTP.pm   2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/lib/Net/HTTP.pm   2018-05-09 16:55:47.000000000 +0200
@@ -1,5 +1,5 @@
 package Net::HTTP;
-$Net::HTTP::VERSION = '6.17';
+our $VERSION = '6.18';
 use strict;
 use warnings;
 
@@ -50,7 +50,7 @@
 
 =head1 VERSION
 
-version 6.17
+version 6.18
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/lib/Net/HTTPS.pm 
new/Net-HTTP-6.18/lib/Net/HTTPS.pm
--- old/Net-HTTP-6.17/lib/Net/HTTPS.pm  2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/lib/Net/HTTPS.pm  2018-05-09 16:55:47.000000000 +0200
@@ -1,5 +1,5 @@
 package Net::HTTPS;
-$Net::HTTPS::VERSION = '6.17';
+our $VERSION = '6.18';
 use strict;
 use warnings;
 
@@ -90,7 +90,7 @@
 
 =head1 VERSION
 
-version 6.17
+version 6.18
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/t/00-report-prereqs.dd 
new/Net-HTTP-6.18/t/00-report-prereqs.dd
--- old/Net-HTTP-6.17/t/00-report-prereqs.dd    2017-09-01 17:30:24.000000000 
+0200
+++ new/Net-HTTP-6.18/t/00-report-prereqs.dd    2018-05-09 16:55:47.000000000 
+0200
@@ -7,6 +7,11 @@
                                         'JSON::PP' => '2.27300'
                                       }
                       },
+       'develop' => {
+                      'requires' => {
+                                      'Test::More' => '0'
+                                    }
+                    },
        'runtime' => {
                       'requires' => {
                                       'Carp' => '0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/t/rt-112313.t 
new/Net-HTTP-6.18/t/rt-112313.t
--- old/Net-HTTP-6.17/t/rt-112313.t     2017-09-01 17:30:24.000000000 +0200
+++ new/Net-HTTP-6.18/t/rt-112313.t     1970-01-01 01:00:00.000000000 +0100
@@ -1,118 +0,0 @@
-BEGIN {
-  if ( $ENV{NO_NETWORK_TESTING} ) {
-    print "1..0 # SKIP Live tests disabled due to NO_NETWORK_TESTING\n";
-    exit;
-  }
-  eval {
-        require IO::Socket::INET;
-        my $s = IO::Socket::INET->new(
-            PeerHost => "httpbin.org:80",
-            Timeout  => 5,
-        );
-        die "Can't connect: $@" unless $s;
-  };
-  if ($@) {
-        print "1..0 # SKIP Can't connect to httpbin.org\n";
-        print $@;
-        exit;
-  }
-}
-
-use strict;
-use warnings;
-use Test::More;
-use Net::HTTP;
-
-# Attempt to verify that RT#112313 (Hang in my_readline() when keep-alive => 1 
and $reponse_size % 1024 == 0) is fixed
-
-# To do that, we need responses (headers + body) that are even multiples of 
1024 bytes. So we
-# iterate over the same URL, trying to grow the response size incrementally...
-
-# There's a chance this test won't work if, for example, the response body 
grows by one byte while
-# the Content-Length also rolls over to one more digit, thus increasing the 
total response by two
-# bytes.
-
-# So, we check that the reponse growth is only one byte after each iteration 
and also test multiple
-# times across the 1024, 2048 and 3072 boundaries...
-
-
-sub try
-{
-    my $n = shift;
-
-    # Need a new socket every time because we're testing with Keep-Alive...
-    my $s = Net::HTTP->new(
-        Host            => "httpbin.org",
-        KeepAlive       => 1,
-        PeerHTTPVersion => "1.1",
-    ) or die "$@";
-
-    $s->write_request(GET => '/headers',
-        'User-Agent' => "Net::HTTP - $0",
-        'X-Foo'      => ('x' x $n),
-    );
-
-    # Wait until all data is probably available on the socket...
-    sleep 1;
-
-    my ($code, $mess, @headers) = $s->read_response_headers();
-
-    # XXX remove X-Processed-Time header
-    for my $i (0..$#headers) {
-        if ($headers[$i] eq 'X-Processed-Time') {
-            splice @headers, $i, 2;
-            last;
-        }
-    }
-
-    my $body = '';
-    while ($s->read_entity_body(my $buf, 1024))
-    {
-        $body .= $buf;
-    }
-
-    # Compute what is probably the total response length...
-    my $total_len = length(join "\r\n", 'HTTP/1.1', "$code $mess", @headers, 
'', $body) - 1;
-
-    # diag("$n - $code $mess => $total_len");
-    # diag(join "\r\n", 'HTTP/1.1', "$code $mess", @headers, '', $body);
-
-    $code == 200
-        or die "$code $mess";
-
-    return $total_len;
-}
-
-my $timeout = 15;
-my $wiggle_room = 3;
-
-local $SIG{ALRM} = sub { die 'timeout' };
-
-my $base_len = try(1);
-ok($base_len < 1024, "base response length is less than 1024: $base_len");
-
-for my $kb (1024, 2048, 3072)
-{
-    my $last;
-
-    # Calculate range that will take us across the 1024 boundary...
-    for my $n (($kb - $base_len - $wiggle_room) .. ($kb - $base_len + 
$wiggle_room))
-    {
-        my $len = -1;
-
-        eval {
-            alarm $timeout;
-            $len = try($n);
-        };
-
-        ok(!$@, "ok for n $n -> response length $len")
-            or diag("error: $@");
-
-        # Verify that response length only increased by one since the whole 
test rests on that assumption...
-        is($len - $last, 1, 'reponse length increased by 1') if $last;
-
-        $last = $len;
-    }
-}
-
-done_testing();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.17/xt/rt-112313.t 
new/Net-HTTP-6.18/xt/rt-112313.t
--- old/Net-HTTP-6.17/xt/rt-112313.t    1970-01-01 01:00:00.000000000 +0100
+++ new/Net-HTTP-6.18/xt/rt-112313.t    2018-05-09 16:55:47.000000000 +0200
@@ -0,0 +1,118 @@
+BEGIN {
+  if ( $ENV{NO_NETWORK_TESTING} ) {
+    print "1..0 # SKIP Live tests disabled due to NO_NETWORK_TESTING\n";
+    exit;
+  }
+  eval {
+        require IO::Socket::INET;
+        my $s = IO::Socket::INET->new(
+            PeerHost => "httpbin.org:80",
+            Timeout  => 5,
+        );
+        die "Can't connect: $@" unless $s;
+  };
+  if ($@) {
+        print "1..0 # SKIP Can't connect to httpbin.org\n";
+        print $@;
+        exit;
+  }
+}
+
+use strict;
+use warnings;
+use Test::More;
+use Net::HTTP;
+
+# Attempt to verify that RT#112313 (Hang in my_readline() when keep-alive => 1 
and $reponse_size % 1024 == 0) is fixed
+
+# To do that, we need responses (headers + body) that are even multiples of 
1024 bytes. So we
+# iterate over the same URL, trying to grow the response size incrementally...
+
+# There's a chance this test won't work if, for example, the response body 
grows by one byte while
+# the Content-Length also rolls over to one more digit, thus increasing the 
total response by two
+# bytes.
+
+# So, we check that the reponse growth is only one byte after each iteration 
and also test multiple
+# times across the 1024, 2048 and 3072 boundaries...
+
+
+sub try
+{
+    my $n = shift;
+
+    # Need a new socket every time because we're testing with Keep-Alive...
+    my $s = Net::HTTP->new(
+        Host            => "httpbin.org",
+        KeepAlive       => 1,
+        PeerHTTPVersion => "1.1",
+    ) or die "$@";
+
+    $s->write_request(GET => '/headers',
+        'User-Agent' => "Net::HTTP - $0",
+        'X-Foo'      => ('x' x $n),
+    );
+
+    # Wait until all data is probably available on the socket...
+    sleep 1;
+
+    my ($code, $mess, @headers) = $s->read_response_headers();
+
+    # XXX remove X-Processed-Time header
+    for my $i (0..$#headers) {
+        if ($headers[$i] eq 'X-Processed-Time') {
+            splice @headers, $i, 2;
+            last;
+        }
+    }
+
+    my $body = '';
+    while ($s->read_entity_body(my $buf, 1024))
+    {
+        $body .= $buf;
+    }
+
+    # Compute what is probably the total response length...
+    my $total_len = length(join "\r\n", 'HTTP/1.1', "$code $mess", @headers, 
'', $body) - 1;
+
+    # diag("$n - $code $mess => $total_len");
+    # diag(join "\r\n", 'HTTP/1.1', "$code $mess", @headers, '', $body);
+
+    $code == 200
+        or die "$code $mess";
+
+    return $total_len;
+}
+
+my $timeout = 15;
+my $wiggle_room = 3;
+
+local $SIG{ALRM} = sub { die 'timeout' };
+
+my $base_len = try(1);
+ok($base_len < 1024, "base response length is less than 1024: $base_len");
+
+for my $kb (1024, 2048, 3072)
+{
+    my $last;
+
+    # Calculate range that will take us across the 1024 boundary...
+    for my $n (($kb - $base_len - $wiggle_room) .. ($kb - $base_len + 
$wiggle_room))
+    {
+        my $len = -1;
+
+        eval {
+            alarm $timeout;
+            $len = try($n);
+        };
+
+        ok(!$@, "ok for n $n -> response length $len")
+            or diag("error: $@");
+
+        # Verify that response length only increased by one since the whole 
test rests on that assumption...
+        is($len - $last, 1, 'reponse length increased by 1') if $last;
+
+        $last = $len;
+    }
+}
+
+done_testing();


Reply via email to