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
Use socket.IPPROTO_TCP for Jython #1375
Conversation
There must be a better way to do what I'm doing. Will revisit soon, have to make progress on other fronts for a bit. |
The proper way to solve this is to just use socket.IPPROTO_TCP instead of SOL_TCP. Can you please change your pull request to use that? |
Sorry for the delay. Will test with IPPROTO_TCP and resubmit next week (holiday). |
I installed jython,
|
Does indeed work out of the box with jython 2.7.1, thanks! jython.org offers 2.7.0 as the latest version, that's why I and most likely @jfreeland as well ended up using that. |
Yeah, I noticed that Arch installed 2.7.1, but their site only lists 2.7.0. I'm OK with changing it to |
Thanks for the feedback. I was using Ubuntu 16.04 and out of the box apt
installed jython 2.5.3 which prompted this. Notice in the second commit I
had issues with socket.AF_UNIX as well. I'm relatively confident that my
commits were not the proper way to handle this. I'm happy to revert or try
to learn how to do it the right way, just let me know.
…On Wed, Nov 21, 2018 at 1:04 PM David Lord ***@***.***> wrote:
Yeah, I noticed that Arch installed 2.7.1, but their site only lists
2.7.0. I'm OK with changing it to IPPROTO_TCP then.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1375 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AdgU6KSD6NpvF4gDc1Pko3qf7OG4ACGsks5uxaPOgaJpZM4XaBUP>
.
--
Joey Freeland
+13124518906
|
We already merged a fix for |
Minor change to manually specify SOL_TCP = protocol version 6 when starting serving. This attribute does not exist in Jython and requires manual specification.
#1373
pika/pika#67