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: fix caddy v2.7.x runtime error: ResponseWriter doesn't implement… #7

Merged
merged 2 commits into from Oct 17, 2023
Merged

fix: fix caddy v2.7.x runtime error: ResponseWriter doesn't implement… #7

merged 2 commits into from Oct 17, 2023

Conversation

ghost
Copy link

@ghost ghost commented Oct 15, 2023

… http.Flusher

1. What does this change do, exactly?

fix caddy v2.7.x runtime error: ResponseWriter doesn't implement http.Flusher by using ResponseController introduced in golang v1.20

2. Please link to the relevant issues.

klzgrad/naiveproxy#575
caddyserver#107

3. Which documentation changes (if any) need to be made because of this PR?

None

4. Checklist

  • I have written tests and verified that they fail without my change
  • I made pull request as minimal and simple as possible. If change is not small or additional dependencies are required, I opened an issue to propose and discuss the design first
  • I have squashed any insignificant commits
  • This change has comments for package types, values, functions, and non-obvious lines of code

5. PS

This PR does not fix an issue that caused the forwardproxy to not work when turning on the LOG directive in Caddyfile klzgrad/naiveproxy#550 (comment)

@klzgrad
Copy link
Owner

klzgrad commented Oct 15, 2023

@Chilledheart Can you test if this works?

@ghost
Copy link
Author

ghost commented Oct 16, 2023

"5. PS This PR does not" this PR is not for fix that log issue

@klzgrad klzgrad merged commit 95f50f0 into klzgrad:naive Oct 17, 2023
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