Bug 1497994 - Disable TFO for socks proxies. r=nwgh

Differential Revision: https://phabricator.services.mozilla.com/D10248

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dragana Damjanovic 2018-10-30 17:38:05 +00:00
parent 19c4784940
commit a65c0c1cb1

View File

@ -1610,7 +1610,8 @@ nsSocketTransport::InitiateSocket()
}
bool tfo = false;
if (mFastOpenCallback &&
if (!mProxyTransparent &&
mFastOpenCallback &&
mFastOpenCallback->FastOpenEnabled()) {
if (NS_SUCCEEDED(AttachTCPFastOpenIOLayer(fd))) {
tfo = true;