-
Notifications
You must be signed in to change notification settings - Fork 26
Add support for Unix socket path #13
New issue
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
Conversation
|
I believe this should work. Could you please fix the indentation. |
|
It looks like this doesn't work on MacOS |
|
Is your curl version older than 7.40? |
|
Yes |
|
@adellibovi I have curl version 7.54 on macOS Sierra and this builds fine for me. |
|
@na-gupta it does compile, but if you try to execute it will get the wrong branch of the if. |
|
I fixed the PR can someone review it? Maybe @rfdickerson? :) |
|
@adellibovi Apologies that this stalled for so long. I'd like to resurrect this work as part of adding Unix sockets support to Kitura. If you are still interested in making this contribution, please could you sign the CLA? |
|
@djones6 no prob :) the CLA should be good to go now 🥳 |
djones6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks!
This add dynamic support for Unix socket path, which is required by Kitura/Kitura-net#213, the idea is dynamically check if the Curl version has this feature.
Can someone point out how to proper check the availability of CURLOPT_UNIX_SOCKET_PATH?