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

lambda.go: do not return status if >= 400 to prevent DefaultErrorFunc from running #9

Merged
merged 1 commit into from
Sep 11, 2018

Conversation

coopernurse
Copy link
Owner

This hopefully fixes #6

If the status is >= 400 then return 0 from this function to tell caddy not to run the DefaultErrorFunc

@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.857% when pulling 1261343 on fix-extra-status-str into 75731c3 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.857% when pulling 1261343 on fix-extra-status-str into 75731c3 on master.

@coopernurse coopernurse merged commit 4a9fdc3 into master Sep 11, 2018
@coopernurse coopernurse deleted the fix-extra-status-str branch September 11, 2018 14:12
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.

malformed non-200 responses when caddy accepts http/2
2 participants