This commit is contained in:
Marcel Pociot
2020-04-28 23:52:59 +02:00
parent 873207a655
commit c2084e6be6
4 changed files with 13 additions and 10 deletions

View File

@@ -101,12 +101,6 @@ class HttpClient
$response->buffer .= $chunk;
$this->sendChunkToServer($chunk, $proxyConnection);
if ($chunk === "") {
$this->logResponse($response->buffer);
optional($proxyConnection)->close();
}
});
$body->on('close', function () use ($proxyConnection, $response) {