library/src/blockclass/BP-BlockClass.cc
//TODO: Validates one proxy (connect)
Validates one proxy (connect)
Validates one proxy ( connect )
size_t Block::ValidateConnectProxy(char *ip_addr)
{
	if (!this->httpSession)
	{
		this->AddErrorToStack((char*) "Error in Block::ValidateConnectProxies(): This function requires a valid httpSession.");
		return ERR_FAILURE;
	}
	return ERR_SUCCESS;
}
size_t Block :: ValidateConnectProxy ( char * ip_addr ) { if ( ! this -> httpSession ) { this -> AddErrorToStack ( ( char * ) " " ) ; return ERR_FAILURE ; } return ERR_SUCCESS ; }
TODO: Validates one proxy (connect)
TODO : Validates one proxy ( connect )
// ensure we have a http session // return indicating success