зеркало из https://github.com/mozilla/gecko-dev.git
adding hostname to socket provider. (r) warren.
This commit is contained in:
Родитель
319ef7e115
Коммит
38f4e29eb0
|
@ -621,7 +621,7 @@ nsresult nsSocketTransport::doConnection(PRInt16 aSelectFlags)
|
|||
rv = pProviderService->GetSocketProvider(mSocketType, getter_AddRefs(pProvider));
|
||||
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = pProvider->NewSocket(&mSocketFD);
|
||||
rv = pProvider->NewSocket(mHostName, &mSocketFD);
|
||||
}
|
||||
|
||||
if (mSocketFD) {
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
[noscript, uuid(0906de00-5414-11d3-bbc8-0000861d1237)]
|
||||
interface nsISocketProvider : nsISupports {
|
||||
|
||||
nsFileDescStar NewSocket ( );
|
||||
nsFileDescStar NewSocket ( in string hostName );
|
||||
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче