diff --git a/src/Rxnet/Httpd/RequestParser.php b/src/Rxnet/Httpd/RequestParser.php index 511c125..e63e604 100644 --- a/src/Rxnet/Httpd/RequestParser.php +++ b/src/Rxnet/Httpd/RequestParser.php @@ -93,7 +93,7 @@ public function parseContentLength($data) } public function parseChunkedBuffer($data) { - preg_match_all('/^([ABCDEF0123456789]{2,4})\r\n|\r\n([ABCDEF0123456789]{2,4})\r\n/i', $data, $matches); + preg_match_all('/^([ABCDEF0123456789]{1,8})\r\n|\r\n([ABCDEF0123456789]{1,8})\r\n/i', $data, $matches); if (!$matches[0]) { // No chunk limiter, add return $data;