Lines Matching refs:max_bodysize
29 public $max_bodysize = 0; variable in dokuwiki\\HTTP\\HTTPClient
171 $this->max_bodysize &&
320 …if ($this->max_bodysize && preg_match('/\r?\nContent-Length:\s*(\d+)\r?\n/i', $r_headers, $match))…
321 if ($match[1] > $this->max_bodysize) {
414 … if ($this->max_bodysize && $chunk_size + strlen($r_body) > $this->max_bodysize) {
418 $chunk_size = $this->max_bodysize - strlen($r_body);
440 $this->max_bodysize &&
441 $this->max_bodysize < $this->resp_headers['content-length']
443 $length = $this->max_bodysize + 1;
449 …} elseif (!isset($this->resp_headers['transfer-encoding']) && $this->max_bodysize && !$this->keep_…
450 …$r_body = $this->readData($socket, $this->max_bodysize + 1, 'response (content-length limited)', t…
461 if ($this->max_bodysize) {
462 if (strlen($r_body) > $this->max_bodysize) {