walkor %!s(int64=2) %!d(string=hai) anos
pai
achega
808af13928
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;