diff options
author | Remi Collet <remi@remirepo.net> | 2021-04-08 07:22:15 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-04-08 07:22:15 +0200 |
commit | 88e55d8c851452f9cf2d275c9a6e97685d2df4d6 (patch) | |
tree | 7fb67cee147f3daae2424c25160c83daba31d851 /php-react-http-client-php8.patch | |
parent | 7c2f6e605ea40c745d4033bc1d2423fe935f56bc (diff) |
Diffstat (limited to 'php-react-http-client-php8.patch')
-rw-r--r-- | php-react-http-client-php8.patch | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/php-react-http-client-php8.patch b/php-react-http-client-php8.patch deleted file mode 100644 index 2a5ee7b..0000000 --- a/php-react-http-client-php8.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up ./src/ChunkedStreamDecoder.php.php8 ./src/ChunkedStreamDecoder.php ---- ./src/ChunkedStreamDecoder.php.php8 2021-04-07 16:01:26.474243377 +0200 -+++ ./src/ChunkedStreamDecoder.php 2021-04-07 16:01:46.823149969 +0200 -@@ -111,7 +111,7 @@ class ChunkedStreamDecoder extends Event - } - } - $this->nextChunkIsLength = false; -- if (dechex(@hexdec($lengthChunk)) !== strtolower($lengthChunk)) { -+ if (dechex((int)@hexdec($lengthChunk)) !== strtolower($lengthChunk)) { - $this->emit('error', array( - new Exception('Unable to validate "' . $lengthChunk . '" as chunk length header'), - )); |