b=149868 http must never use starttls type sockets, even when going over a proxy. http allows all flavors of SSL2/SSL3/TLS (while startls type sockets disallow some flavors).

r=bbaetz sr=darin
This commit is contained in:
kaie%netscape.com 2002-06-12 14:36:08 +00:00
Родитель 058faba8ee
Коммит 96c4ac5d92
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -497,12 +497,8 @@ nsHttpConnection::CreateTransport()
// configure the socket type based on the connection type requested.
const char* type = nsnull;
if (mConnectionInfo->UsingSSL()) {
if (mConnectionInfo->UsingHttpProxy())
type = "tlsstepup";
else
type = "ssl";
}
if (mConnectionInfo->UsingSSL())
type = "ssl";
nsCOMPtr<nsITransport> transport;
rv = sts->CreateTransportOfType(type,