-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[issue #3661] http.send unix domain sockets #3667
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for contributing! I've got a couple of nitpicks and a question re: http.Transport inline 👇 🙃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for bearing with me. I'm afraid I've got a few more comments and questions 😅
Sorry for the radio silence -- didn't manage to get back to this today. I'll take another look tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for bearing with me. I'm a little suspicious of the signal handler stuff -- do we really need that? That's the last bump, I think 🔍
Thanks again!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for bearing with me. This looks good! A last nitpick, and I think we can get this merged 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing! One last thing (promised!) -- could you please squash your commits and a add a little commit message describing the change, please? There's some guidance in CONTRIBUTING.md.
ok, I think I got my commits squashed |
@kirk-patton can you please update the Also you can squash your commits with something like |
|
Certainly 👍 |
@srenatus if this looks good, let's get this merged. |
while attempting to call the http.send() function using unix://localhost/?socket=%F2tmp%F2http.socket, I am getting undefined back. It does not appear that the code I added is getting called. I need to take closer look. |
I double checked this morning and the cause of the issue I saw earlier was just that I needed to update my policy to use the new url format... It works |
I'm afraid I had forgotten about it, but @ashutosh-narkar is correct, this could use a bit of documentation. Would you mind adding some? |
Yes, I will add that today. 👍 |
@kirk-patton thanks for addressing our comments. Can you please squash your commits and sign-off your final commit. This link should help. Something like:
Let us know if any questions. |
Signed-off-by: Kirk Patton <kpatton@verizonmedia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 Thank you for contributing this, and thanks for bearing with us! 🚀 👏
@kirk-patton the only thing that is a little off here is that github won't recognize the commit as yours -- I guess that's because the commit's email address hasn't been added to the list of addresses that are "yours" on github. https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/managing-email-preferences/setting-your-commit-email-address should have all the details, this is something that can be fixed retroactively if you don't mind having your yahoo email in github. |
Fixes open-policy-agent#3661. Signed-off-by: Kirk Patton <kpatton@verizonmedia.com>
Fixes open-policy-agent#3661. Signed-off-by: Kirk Patton <kpatton@verizonmedia.com> Signed-off-by: Dolev Farhi <farhi.dolev@gmail.com>
No description provided.