Skip to content

Commit

Permalink
Changed timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
jrabausch committed Apr 24, 2021
1 parent 93e0c4c commit 39be708
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ protected function getCurlOptions(): array
CURLOPT_URL => $this->requestUrl,
CURLOPT_HTTPHEADER => $this->getRequestHeaderArray(),

CURLOPT_CONNECTTIMEOUT => 100,
CURLOPT_TIMEOUT => 100,
CURLOPT_CONNECTTIMEOUT => 10,
CURLOPT_TIMEOUT => 10,

CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false,
Expand Down Expand Up @@ -292,7 +292,7 @@ protected function onCurlWrite($handle, string $data): int
}

if ($this->isHttp1) {
header('Transfer-Encoding: chunked');
header('transfer-encoding: chunked');
}
}

Expand Down

0 comments on commit 39be708

Please sign in to comment.