We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The stream_socket_get_name function add ":" when using a unix domain socket.
3.18.1
<?php $socket = stream_socket_server("unix://test.sock", $errno, $errstr); if (!$socket) { echo "$errstr ($errno)<br />\n"; } else { $socket_path = stream_socket_get_name($socket, false); echo "$socket_path\n"; fclose($socket); unlink($socket_path); }
test.sock
test.sock: Warning: unlink(test.sock:): No such file or directory in test.php on line 9
The text was updated successfully, but these errors were encountered:
It looks like https://github.com/facebook/hhvm/blob/master/hphp/runtime/ext/stream/ext_stream.cpp#L827 needs a case to handle this.
Sorry, something went wrong.
I have made PR for this issue #7738
1787575
mofarrell
No branches or pull requests
The stream_socket_get_name function add ":" when using a unix domain socket.
HHVM Version
3.18.1
Standalone code, or other way to reproduce the problem
Expected result
Actual result
The text was updated successfully, but these errors were encountered: