You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
original code is
DECHUNK: while(1) {
$input->read(my $chunk, $buffer_length);
of course it will iterate forever on empty or malformed post chunked request
fix is easy
DECHUNK: while($input->read(my $chunk, $buffer_length)) {
also imho inner dechunking while is very very strange solution for potentially very large data - it copies data every $buffer_length bytes for large content
The text was updated successfully, but these errors were encountered:
Changelog diff is:
diff --git a/Changes b/Changes
index b3986c2..3d0173f 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,11 @@ Revision history for Perl extension HTTP-Entity-Parser
{{$NEXT}}
+0.20 2017-07-18T03:54:04Z
+
+ - [fixed] Throws exception when psgi.input is undef #6
+ - [fixed] dechunk loop can stuck on empty chunked post #7
+
0.19 2017-02-07T08:19:45Z
- Adjust tests for module load from a relative path when . is not in @inc (Thank you toddr)
original code is
DECHUNK: while(1) {
$input->read(my $chunk, $buffer_length);
of course it will iterate forever on empty or malformed post chunked request
fix is easy
DECHUNK: while($input->read(my $chunk, $buffer_length)) {
also imho inner dechunking while is very very strange solution for potentially very large data - it copies data every $buffer_length bytes for large content
The text was updated successfully, but these errors were encountered: