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

fix: stick to a tcp connection for Bloop on non standard OS's. #272

Merged
merged 2 commits into from
Oct 25, 2021

Conversation

ckipp01
Copy link
Contributor

@ckipp01 ckipp01 commented Oct 22, 2021

I'll be honest, I haven't really dug into the JNI/JNA issues, so I'm
unsure if there is a better more appropriate to get domain sockets to
work on FreeBSD in this scenario, but when testing it with --bloop-bsp-protocol
being set to tcp it worked. So this is just a quick fix to ensure that the
default for FreeBSD for now is tcp.

Closes #271

I'll be honest, I haven't really dug into the JNI/JNA issues, so I'm
unsure if there is a better more appropriate to get domain sockets to
work on FreeBSD in this scenario, but when testing it with --bloop-bsp-protocol
being set to tcp it worked. So this is just a quick fix to ensure that the
default for FreeBSD for now is tcp.

Closes VirtusLab#271
Copy link
Contributor

@alexarchambault alexarchambault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I pushed an extra commit to make the check more general (basically, we should default to TCP for any non-standard OS).

@ckipp01
Copy link
Contributor Author

ckipp01 commented Oct 25, 2021

Thanks! I pushed an extra commit to make the check more general (basically, we should default to TCP for any non-standard OS).

Ah yea, that's better 👍🏼

@ckipp01 ckipp01 changed the title fix: stick to a tcp connection for Bloop on FreeBSD. fix: stick to a tcp connection for Bloop on non standard OS's. Oct 25, 2021
@romanowski romanowski merged commit 2ec2877 into VirtusLab:master Oct 25, 2021
@ckipp01 ckipp01 deleted the bsd-tcp branch October 25, 2021 15:41
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.

Default Bloop to tcp for non standard systems
3 participants