git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1637
d4fa192b-c00b-0410-8231-
f00ffab90ce4
#undef HTTPH
/* cache_pipe.c */
-void PipeSession(struct sess *sp, struct bereq *bereq);
+void PipeSession(struct sess *sp);
/* cache_pool.c */
void WRK_Init(void);
if (sp->handling == VCL_RET_ERROR)
INCOMPL();
- PipeSession(sp, bereq);
+ sp->bereq = bereq;
+ PipeSession(sp);
sp->step = STP_DONE;
return (0);
}
}
void
-PipeSession(struct sess *sp, struct bereq *bereq)
+PipeSession(struct sess *sp)
{
struct vbe_conn *vc;
char *b, *e;
struct worker *w;
+ struct bereq *bereq;
struct pollfd fds[2];
int i;
CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
CHECK_OBJ_NOTNULL(sp->wrk, WORKER_MAGIC);
w = sp->wrk;
+ bereq = sp->bereq;
+ sp->bereq = NULL;
vc = VBE_GetFd(sp);
if (vc == NULL)