int rv;
static void reinit_connection(struct connection *cn){	int rv;	log_request(cn->r);	cn->logged = 1;	if (cn->rfd != -1) {		rv = close(cn->rfd);		if (debug)			log_d("reinit_connection: close(%d) = %d", cn->rfd, rv);		cn->rfd = -1;	}	init_connection(cn);	cn->action = HC_WAITING;}