diff --git a/src/main/php/xp/web/srv/ForwardRequests.class.php b/src/main/php/xp/web/srv/ForwardRequests.class.php index edfd28d..15b0a86 100755 --- a/src/main/php/xp/web/srv/ForwardRequests.class.php +++ b/src/main/php/xp/web/srv/ForwardRequests.class.php @@ -66,7 +66,7 @@ public function handleData($socket) { // \util\cmd\Console::writeLine('>>> ', $message); $this->backend->write($message."\r\n"); foreach ($this->transmit($request->incoming(), $this->backend) as $step) { - yield 'read' => $socket; + // yield 'read' => $socket; } $response= new Input($this->backend); @@ -79,7 +79,7 @@ public function handleData($socket) { $result= null; } - yield 'write' => $socket; + // yield 'write' => $socket; $message= "HTTP/{$response->version()} {$response->status()} {$response->message()}\r\n"; foreach ($response->headers() as $name => $value) { isset($exclude[$name]) || $message.= "{$name}: {$value}\r\n"; @@ -88,7 +88,7 @@ public function handleData($socket) { $socket->write($message."\r\n"); foreach ($this->transmit($response->incoming(), $socket) as $step) { - yield 'write' => $socket; + // yield 'write' => $socket; } $this->backend->close();