swoole / library

📚 Swoole Library
https://wiki.swoole.com/#/library
Apache License 2.0
233 stars 59 forks source link

CURLOPT_UNIX_SOCKET_PATH is not supported #120

Closed TorstenDittmann closed 2 years ago

TorstenDittmann commented 2 years ago

This part with curl hooks enabled:

 \curl_setopt($ch, CURLOPT_UNIX_SOCKET_PATH, '/var/run/docker.sock');

results into following error message:

Fatal error: Uncaught Swoole\Curl\Exception: swoole_curl_setopt(): option[10231] is not supported in @swoole-src/library/core/Curl/Handler.php:655

Is there a chance that this can be implemented?

sy-records commented 2 years ago

Thank you for your feedback, I will add it later