Comments (3)
@Vovan-VE hello! This looks like a useful feature - could you send pull request?
from phpcent.
To pass SSL host verification host name in URL must match with name in the certificate. So currently it is not possible to connect directly to IP like https://127.0.0.1:8000
in SAFE manner.
As of PHP >= 7.0.7 and cURL >= 7.49 there is CURLOPT_CONNECT_TO
option which should solve the problem. But I currently cannot use it to check this. Ubuntu 16.04 LTS currently has libcurl3 version 7.47.
from phpcent.
@Vovan-VE thanks for you contribution!
from phpcent.
Related Issues (20)
- use JSON to POST data to API HOT 1
- Cannot send / receive data to /api if Centrifugo use ssl HOT 4
- Centrifugo v2 support HOT 2
- Migrate library for Centrifugo v2 HOT 2
- $safety as non static HOT 2
- Got error: Notice: Undefined variable: response HOT 1
- Query result parsed without ASSOC option of json_decode?! HOT 1
- How I can use generateConnectionToken($user, $timestamp)? HOT 2
- PHP 7.2 Compile Error HOT 6
- Sync package releases with packagist HOT 6
- Integration with CI
- Disable curl's IPv6 host name resolution HOT 1
- Fatal error: Allowed memory size during the installation HOT 2
- 108. not available HOT 3
- Add GH actions with integration tests HOT 1
- centrifugo v4 is live HOT 1
- Does generatePrivateChannelToken need a way to set JWT 'sub' claim? HOT 3
- Add support for http-client HOT 1
- DEPRECATED hash_hmac() passing null to parameter HOT 2
- Doesn't work when many requests need to be made HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpcent.