walkor 2 anos atrás
pai
commit
808af13928
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/Protocols/Http/Request.php

+ 1 - 1
src/Protocols/Http/Request.php

@@ -400,7 +400,7 @@ class Request
             return;
         }
         $headBuffer = \substr($rawHead, $endLinePosition + 2);
-        $cacheable = static::$enableCache && !isset($headBuffer[2048]);
+        $cacheable = static::$enableCache && !isset($headBuffer[4096]);
         if ($cacheable && isset($cache[$headBuffer])) {
             $this->data['headers'] = $cache[$headBuffer];
             return;