Commit 4aa8d882 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Apply the workaround suggested in #102.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1382 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3e83eca2
......@@ -657,7 +657,8 @@ cnt_recv(struct sess *sp)
VCL_recv_method(sp);
sp->wantbody = !strcmp(sp->http->hd[HTTP_HDR_REQ].b, "GET");
sp->wantbody = (!strcmp(sp->http->hd[HTTP_HDR_REQ].b, "GET") ||
!strcmp(sp->http->hd[HTTP_HDR_REQ].b, "POST"));
switch(sp->handling) {
case VCL_RET_LOOKUP:
/* XXX: discard req body, if any */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment