p->imax = 0;
p->pipe_params.imax = 0;
void init_child(struct pipe_params *p, struct request *r, int fd){	p->client_input.start = p->client_input.floor;	p->client_input.end = p->client_input.floor;	p->client_input.state = 1;	p->client_output.start = p->client_output.floor;	p->client_output.end = p->client_output.floor;	p->script_input.start = p->script_input.floor;	p->script_input.end = p->script_input.floor;	p->script_input.state = 1;	p->state = 0;	p->cfd = r->cn->fd;	p->pfd = fd;	p->chunkit = r->protocol_minor > 0;	p->nocontent = r->method == M_HEAD;	p->haslen = 0;	p->pmax = 0;	if (r->method == M_POST) {		p->client_input.state = 1;		p->imax = r->in_mblen;	} else {		p->client_input.state = 0;		p->imax = 0;	}	p->cn = r->cn;	set_connection_state(r->cn, HC_FORKED);	p->error_condition = 0;	p->cpollno = -1;	p->ppollno = -1;	p->t = current_time;}