mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 749839 - apply unexpected server read test only to http pconns r=jduell
This commit is contained in:
parent
ed885d50a9
commit
8673c38cdf
@ -581,7 +581,7 @@ nsHttpConnection::CanReuse()
|
||||
// path is more expensive than just closing the socket now.
|
||||
|
||||
PRUint32 dataSize;
|
||||
if (canReuse && mSocketIn && !mUsingSpdy &&
|
||||
if (canReuse && mSocketIn && !mUsingSpdy && mHttp1xTransactionCount &&
|
||||
NS_SUCCEEDED(mSocketIn->Available(&dataSize)) && dataSize) {
|
||||
LOG(("nsHttpConnection::CanReuse %p %s"
|
||||
"Socket not reusable because read data pending (%d) on it.\n",
|
||||
|
Loading…
Reference in New Issue
Block a user