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

feat: Use caddy's internal Proxy protocol module #166

Merged
merged 1 commit into from
May 31, 2024

Conversation

Embraser01
Copy link
Member

Also deprecated the one we have as it's redundant with the one included in caddy and people should use the one provided by caddy.

Because it's the same library behind, I do not expect any breaking change.

I'll let it in draft until the new proxyprotol module is merged and released in caddy (caddyserver/caddy#5915)

@codecov
Copy link

codecov bot commented Oct 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 18.34%. Comparing base (c3c4342) to head (0334775).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #166      +/-   ##
==========================================
- Coverage   18.90%   18.34%   -0.57%     
==========================================
  Files          30       30              
  Lines        1063     1063              
==========================================
- Hits          201      195       -6     
- Misses        861      867       +6     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

go.mod Outdated Show resolved Hide resolved
pkg/proxy/proxy.go Outdated Show resolved Hide resolved
Also deprecated the one we have as it's redundant with the one included in caddy. Because it's the same library behind, I do not expect any breaking change.
@mavimo mavimo force-pushed the embraser01/use-caddy-proxymodule branch from bb1a8ae to 0334775 Compare May 31, 2024 20:20
@mavimo mavimo marked this pull request as ready for review May 31, 2024 20:21
@mavimo mavimo merged commit 050693a into main May 31, 2024
3 of 4 checks passed
@mavimo mavimo deleted the embraser01/use-caddy-proxymodule branch May 31, 2024 20:31
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.

2 participants