Commit 9f4b7c2a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make Pass work again


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@453 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 74eb768a
......@@ -339,7 +339,13 @@ DOT }
DOT pass -> PASSBODY
*/
static void cnt_pass(struct worker *w, struct sess *sp) { (void)w; (void)sp; INCOMPL(); }
static void
cnt_pass(struct worker *w, struct sess *sp)
{
PassSession(w, sp);
sp->step = STP_DONE; /* XXX */
}
/*--------------------------------------------------------------------
......
......@@ -182,8 +182,7 @@ PassSession(struct worker *w, struct sess *sp)
else if (http_HdrIs(hp, "Transfer-Encoding", "chunked"))
cls = pass_chunked(sp, vc->fd, hp);
else {
INCOMPL();
cls = 1;
cls = pass_straight(sp, vc->fd, hp, NULL);
}
vca_flush(sp);
......
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