Skip to content

Commit 45eb149

Browse files
Disable HTTP Keep Alive to prevent 'error fetching HTTP headers'
1 parent d73ce5d commit 45eb149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/BaseService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(string $wsdl = null, array $options = [])
3030
$options["trace"] = true;
3131
$options["compression"] = SOAP_COMPRESSION_ACCEPT | SOAP_COMPRESSION_GZIP;
3232
$options["cache_wsdl"] = WSDL_CACHE_MEMORY; // https://github.com/php-twinfield/twinfield/issues/50
33-
$options["keep_alive"] = true;
33+
$options["keep_alive"] = false;
3434

3535
if (array_key_exists("cluster", $options)) {
3636
$wsdl = "{$options["cluster"]}{$this->WSDL()}";

0 commit comments

Comments
 (0)