walkor пре 2 година
родитељ
комит
808af13928
1 измењених фајлова са 1 додато и 1 уклоњено
  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;