You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$connecting->then(function (ConnectionInterface$stream) use ($target, $auth, $deferred) {
162
+
$headers = $this->headers;
163
+
$connecting->then(function (ConnectionInterface$stream) use ($target, $headers, $deferred) {
156
164
// keep buffering data until headers are complete
157
165
$buffer = '';
158
166
$stream->on('data', $fn = function ($chunk) use (&$buffer, $deferred, $stream, &$fn) {
@@ -212,7 +220,7 @@ public function connect($uri)
212
220
$deferred->reject(newRuntimeException('Connection to proxy lost while waiting for response (ECONNRESET)', defined('SOCKET_ECONNRESET') ? SOCKET_ECONNRESET : 104));
0 commit comments