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

Support for Unix Domain Socket #1

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

Conversation

hvishwanath
Copy link

Hi

I have forked the base repo and added support for Unix domain sockets. My main objective was as less intrusion as possible in the base code, and come up with something which can be 'plug and played'.

I have created a new transport builder (transport->uds.py) and a new address object msgpackrps->udsaddress.py. I have some examples demonstrating how to use UDS instead of tcp/ip sockets for msgpack rpc. Please review my repository and let me know if you are okay with merging these changes.

@hvishwanath
Copy link
Author

Please ignore multiple comments reading the same content. Its a goofup with eclipse and Egit.

@ghost ghost assigned repeatedly Apr 8, 2013
@repeatedly
Copy link
Contributor

In this weekend, I will check this pull request.

@hvishwanath
Copy link
Author

Thanks. Let me know if you need any changes.

@hvishwanath hvishwanath reopened this Apr 21, 2013
@repeatedly
Copy link
Contributor

I have serveral comments:

  • Author comment in each file.

Please remove these comments on top of each file.
It is not msgpack-rpc-python style.

  • README

Please move USD usage to Example section, not top.

  • UDSAddress

UDSADdress is not common name.
LocalAddress is better and its class should be in msgpackrpc.address module.

  • Test and sample code can't run on Python 3.

Please fix these bugs.

  • Document style

See following example.

# OK
"""\
Foo
Bar
"""
# NG
"""Foo
Bar"""

Please apply above changes.

@hvishwanath
Copy link
Author

Thanks for your review. Will update and get back.
On Apr 21, 2013 2:06 PM, "Masahiro Nakagawa" [email protected]
wrote:

I have serveral comments:

  • Author comment in each file.

Please remove these comments on top of each file.
It is not msgpack-rpc-python style.

  • README

Please move USD usage to Example section, not top.

  • UDSAddress

UDSADdress is not common name.
LocalAddress is better and its class should be in msgpackrpc.address
module.

  • Test and sample code can't run on Python 3.

Please fix these bugs.

  • Document style

See following example.

OK"""\FooBar"""

NG"""HogeBar"""

Please apply above changes.


Reply to this email directly or view it on GitHubhttps://github.com//pull/1#issuecomment-16717813
.

@OrangeTux
Copy link

Well, any chance that this will be merged?

@hvishwanath
Copy link
Author

Been a long time! I didn't think people would like to use unix domain
sockets with msgpackrpc, hence never got to updating the pull request. Will
get to it shortly.

Regards,
Harish

On Sat, Feb 14, 2015 at 6:31 PM, Auke Willem Oosterhoff <
[email protected]> wrote:

Well, any chance that this will be merged?


Reply to this email directly or view it on GitHub
#1 (comment)
.

@mmontone
Copy link

What happened with this merge? I would like to use it! :)

@repeatedly
Copy link
Contributor

This patch doesn't apply my reviews so I can't merge.
If you want to use this feature, apply the patch by your hand.

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.

4 participants