facebook / facebook/hhvm

Missing support for "flags" in stream_socket_client

Open
#2,146 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.