Skip to content
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

Add UNIX socket support #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add UNIX socket support #22

wants to merge 2 commits into from

Conversation

Niek
Copy link

@Niek Niek commented Jan 24, 2012

If port == 0, take the hostname as path to the unix socket. On local connections this can speed up your connection ~20%.

@Niek
Copy link
Author

Niek commented Feb 26, 2012

Does this need any cleanup? Let me know, I'd be happy to see this merged.

@erikdubbelboer
Copy link

Nice patch but it only works when you use == instead of ===

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants