Hi folks,URL example:If I specify port 80 in the URL the SSL_Connect takes a long time to return the response,The server is using port 443 for SSL connections but I want to able to check against port 80 in case it's ever changed to port 80what is the delay with HTTPS and port 80, why dosen't it return a faster response?BCGconnection->ctx= ::initialize_ctx();
BCGconnection->ssl=SSL_new(BCGconnection->ctx);
BCGconnection->sbio=BIO_new_socket(BCGconnection->sock,BIO_NOCLOSE);
SSL_set_bio(BCGconnection->ssl,BCGconnection->sbio,BCGconnection->sbio);
ret = SSL_connect(BCGconnection->ssl);
int errorcode = SSL_get_error(BCGconnection->ssl, ret);
if(ret <= 0)
{
MTWarning(("Error with SSL connection using Hostname--%s PortNumber--%d! ErrorCode = %d. Verify URL and PortNumber in configfile."))
*status = STATUS_UNSPECIFIED_ERROR;
delete connection;
return NULL;
}
else
{
Debug(1, ("SSL Connection Successful! Hostname--%s PortNumber--%d",));
*status = STATUS_SUCCESS;
return connection;
}Thanks for your help,Aoife.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.