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(middleware): avoid sending empty Content-Length #555

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

imlonghao
Copy link
Contributor

Fix caddyserver/cache-handler#104

Tested with

FROM caddy:2.8.4-builder AS builder
RUN xcaddy build --with github.com/darkweak/souin=github.com/imlonghao/souin@fix-empty-response --with github.com/darkweak/souin/plugins/caddy

FROM caddy:2.8.4
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

Copy link

netlify bot commented Oct 8, 2024

Deploy Preview for teal-sprinkles-4c7f14 canceled.

Name Link
🔨 Latest commit a04d5b3
🔍 Latest deploy log https://app.netlify.com/sites/teal-sprinkles-4c7f14/deploys/67053e8571851b00081ec38f

@darkweak darkweak merged commit d9ddd13 into darkweak:master Oct 9, 2024
19 of 20 checks passed
@darkweak
Copy link
Owner

darkweak commented Oct 9, 2024

Thank you @imlonghao ! 🚀

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.

http2 error occurred when upstream response body is empty
2 participants