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

VCL_Error - Setting bereq.method to empty string #21

Open
lukaszlach opened this issue Apr 4, 2017 · 0 comments
Open

VCL_Error - Setting bereq.method to empty string #21

lukaszlach opened this issue Apr 4, 2017 · 0 comments

Comments

@lukaszlach
Copy link

lukaszlach commented Apr 4, 2017

Debian 8 Jessie
Varnish 5.1.1-1

After building VMOD and running make check error message for src/tests/test04.vtc test file appears in Varnish logs:

VCL_Error b Setting bereq.method to empty string

Setting req.http.x-meth in vcl_recv should be placed outside of if (req.method == "POST") condition or the value should be verified in vcl_backend_fetch before transferring to bereq.method. I chose the first approach in PR with bug fix.

#22

lukaszlach pushed a commit to lukaszlach/libvmod-bodyaccess that referenced this issue Apr 4, 2017
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

No branches or pull requests

1 participant