RestApiClient: do not send Connection: close...
...just throw away the curl handle. Otherwise Icinga v2.9 fails
This commit is contained in:
parent
b644a7c6a7
commit
44af7b3ae3
|
@ -95,7 +95,8 @@ class RestApiClient
|
|||
];
|
||||
|
||||
if (! $this->keepAlive) {
|
||||
$headers[] = 'Connection: close';
|
||||
// This fails on Icinga 2.9:
|
||||
// $headers[] = 'Connection: close';
|
||||
}
|
||||
|
||||
if (! $raw) {
|
||||
|
|
Loading…
Reference in New Issue