Skip to content

Commit 8e1e8b2

Browse files
refactor: remove connection reuse options
Remove CURLOPT_FORBID_REUSE and CURLOPT_FRESH_CONNECT as requested. Keep only the low-speed stall guard and TCP keepalive options. Co-Authored-By: ondrej.hlavacek@keboola.com <ondrej.hlavacek@keboola.com>
1 parent 48ea89a commit 8e1e8b2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Keboola/StorageApi/Client.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,6 @@ private function initClient(array $config)
216216
'curl' => [
217217
CURLOPT_LOW_SPEED_LIMIT => 1,
218218
CURLOPT_LOW_SPEED_TIME => 120,
219-
CURLOPT_FORBID_REUSE => true,
220-
CURLOPT_FRESH_CONNECT => true,
221219
CURLOPT_TCP_KEEPALIVE => 1,
222220
CURLOPT_TCP_KEEPIDLE => 60,
223221
CURLOPT_TCP_KEEPINTVL => 30,

0 commit comments

Comments
 (0)