imageproxy
imageproxy copied to clipboard
Add support for UNIX domain socket
This PR adds UNIX domain socket support for the addr option.
I want this as I run all my services behind nginx with unix domain socket. I suppose there are more reasons someone would want to run imageproxy without listening to a TCP port.
I never wrote any Go before this PR, I hope I haven't done anything stupid...
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers
- It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.
Corporate signers
- Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
- The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
- The email used to register you as an authorized contributor must also be attached to your GitHub account.
ℹ️ Googlers: Go here for more info.
Codecov Report
Merging #255 (bbb9aca) into main (c08b3c5) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## main #255 +/- ##
=======================================
Coverage 87.27% 87.27%
=======================================
Files 6 6
Lines 503 503
=======================================
Hits 439 439
Misses 36 36
Partials 28 28
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update c08b3c5...bbb9aca. Read the comment docs.
@googlebot I signed it!