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

Untitled #2

Merged
4 commits merged into from
Feb 12, 2011
Merged

Untitled #2

4 commits merged into from
Feb 12, 2011

Conversation

quentinmit
Copy link
Contributor

I added support for UNIX domain sockets to jsonrpclib, for both clients and servers. You can look at the test case I added to see how it works; the client recognizes a URL of the form "unix:/tmp/jsonrpclib.sock", and the server takes an address_family parameter that can be set to AF_UNIX.

UNIX sockets have improved performance and security properties; the latter is why I needed a JSON-RPC implementation over UNIX sockets.

@joshmarshall
Copy link
Owner

Excellent addition. I ran the tests everything seemed fine, so I went ahead and merged. I welcome any additional contributions / ideas / etc!

Zectbumo pushed a commit to Zectbumo/jsonrpclib that referenced this pull request Feb 23, 2014
- Allows to use the 'client("close")()' method to close the
  transport layer of a ServerProxy, even on Python 2.6
  => Fixes joshmarshall#2
- Updated tests to _really_ close the transport layer
  (and not just to retrieve the closing method)
Zectbumo pushed a commit to Zectbumo/jsonrpclib that referenced this pull request Feb 23, 2014
Zectbumo pushed a commit to Zectbumo/jsonrpclib that referenced this pull request Feb 23, 2014
Also added supported Python versions to setup.py
This pull request was closed.
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