Missing support for "flags" in stream_socket_client
Open
low-pri
php5 incompatibility
- Dominant language
- C++
- Stars
- 18.7k
- Forks
- 3.1k
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
The current implementation of `stream_socket_client` ignores the `$flags` parameter: https://github.com/facebook/hhvm/blob/HHVM-2.4/hphp/runtime/ext/ext_stream.cpp#L452-L460
The constants `STREAM_CLIENT_CONNECT`, `STREAM_CLIENT_ASYNC_CONNECT` and `STREAM_CLIENT_PERSISTENT` are available, but therefore currently useless.
Contributor guide
Assessment
This issue has not been assessed yet.