зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
058faba8ee
Коммит
96c4ac5d92
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче