Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 39ffc1a

Browse files
committed
Server->Client messages will be non-blocking thanks to stream_copy_to_stream()
1 parent cfd4491 commit 39ffc1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ProxyProcess.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,6 @@ private function pipe($client, $server)
102102
}
103103
}
104104
fwrite($server, implode($lines) . $body);
105-
fwrite($client, stream_get_contents($server));
105+
stream_copy_to_stream($server, $client);
106106
}
107107
}

0 commit comments

Comments
 (0)