if (debug) log_d("D process_request");
int process_request(struct request *r){	if (debug)		log_d("D process_request");	init_request(r);	if ((r->status = process_headers(r)) == 0)		r->status = process_path(r);	if (r->status > 0 && prepare_reply(r) == -1) {		log_d("cannot prepare reply for client");		return -1;	}	if (r->status_line && r->c)		r->processed = 1;	return r->status > 0 ? 0 : -1;}