Skip to content

Commit 161af6c

Browse files
committed
v6.41
- Add maximum size for HTTP::Message->decoded_content This can be used to limit the size of a decompressed HTTP response, especially when making requests to untrusted or user-specified servers. The $HTTP::Message::MAXIMUM_BODY_SIZE variable and the ->max_body_size accessor can set this limit. (GH#181) (Max Maischein)
1 parent f6fe8d9 commit 161af6c

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

META.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
},
5353
"requires" : {
5454
"Carp" : "0",
55+
"Compress::Raw::Bzip2" : "0",
5556
"Compress::Raw::Zlib" : "0",
5657
"Encode" : "3.01",
5758
"Encode::Locale" : "1",
@@ -61,7 +62,6 @@
6162
"IO::Compress::Bzip2" : "2.021",
6263
"IO::Compress::Deflate" : "0",
6364
"IO::Compress::Gzip" : "0",
64-
"Compress::Raw::Zlib" : "2.061",
6565
"IO::HTML" : "0",
6666
"IO::Uncompress::Bunzip2" : "2.021",
6767
"IO::Uncompress::Gunzip" : "0",
@@ -116,7 +116,7 @@
116116
"x_IRC" : "irc://irc.perl.org/#lwp",
117117
"x_MailingList" : "mailto:libwww@perl.org"
118118
},
119-
"version" : "6.40",
119+
"version" : "6.41",
120120
"x_Dist_Zilla" : {
121121
"perl" : {
122122
"version" : "5.036000"
@@ -618,7 +618,7 @@
618618
"branch" : null,
619619
"changelog" : "Changes",
620620
"signed" : 0,
621-
"tag" : "v6.40",
621+
"tag" : "v6.41",
622622
"tag_format" : "v%V",
623623
"tag_message" : "v%V"
624624
},

Makefile.PL

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ my %WriteMakefileArgs = (
1818
"NAME" => "HTTP::Message",
1919
"PREREQ_PM" => {
2020
"Carp" => 0,
21+
"Compress::Raw::Bzip2" => 0,
2122
"Compress::Raw::Zlib" => 0,
2223
"Encode" => "3.01",
2324
"Encode::Locale" => 1,
@@ -32,7 +33,6 @@ my %WriteMakefileArgs = (
3233
"IO::Uncompress::Gunzip" => 0,
3334
"IO::Uncompress::Inflate" => 0,
3435
"IO::Uncompress::RawInflate" => 0,
35-
"Compress::Raw::Zlib" => 2.061,
3636
"LWP::MediaTypes" => 6,
3737
"MIME::Base64" => "2.1",
3838
"MIME::QuotedPrint" => 0,
@@ -63,6 +63,7 @@ my %WriteMakefileArgs = (
6363

6464
my %FallbackPrereqs = (
6565
"Carp" => 0,
66+
"Compress::Raw::Bzip2" => 0,
6667
"Compress::Raw::Zlib" => 0,
6768
"Encode" => "3.01",
6869
"Encode::Locale" => 1,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ HTTP::Message - HTTP style message (base class)
44

55
# VERSION
66

7-
version 6.40
7+
version 6.41
88

99
# SYNOPSIS
1010

cpanfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
33

44
requires "Carp" => "0";
5+
requires "Compress::Raw::Bzip2" => "0";
56
requires "Compress::Raw::Zlib" => "0";
67
requires "Encode" => "3.01";
78
requires "Encode::Locale" => "1";

0 commit comments

Comments
 (0)