failed_already = 1;
handle_connection( PRFileDesc *ssl_sock, int connection){    int	    countRead = 0;    PRInt32 rv;    char    *buf;    buf = PR_Malloc(RD_BUF_SIZE);    if (!buf)	return SECFailure;    /* compose the http request here. */    rv = PR_Write(ssl_sock, request, strlen(request));    if (rv <= 0) {	errWarn("PR_Write");	PR_Free(buf);	buf = 0;	return SECFailure;    }    printSecurityInfo(ssl_sock);    /* read until EOF */    while (1) {	rv = PR_Read(ssl_sock, buf, RD_BUF_SIZE);	if (rv == 0) {	    break;	/* EOF */	}	if (rv < 0) {	    errWarn("PR_Read");	    break;	}	countRead += rv;	FPRINTF(stderr, "strsclnt: connection %d read %d bytes (%d total).\n", 		connection, rv, countRead );    }    PR_Free(buf);    buf = 0;    /* Caller closes the socket. */    FPRINTF(stderr,     "strsclnt: connection %d read %d bytes total. -----------------------\n",     	    connection, countRead);    return SECSuccess;	/* success */}