close(cn->fd);
rv = close(cn->fd); if (debug) log(L_DEBUG, "close_connection: close(%d) = %d", cn->fd, rv);
static void close_connection(struct connection *cn){	--nconnections;	close(cn->fd);	if (cn->rfd != -1) {		close(cn->rfd);		cn->rfd = -1;	}	cn->state = HC_FREE;}