Temporary implementation of AsyncRead(...). Fixed some ref-counting bugs with the NS_WITH_SERVICE macro...

This commit is contained in:
rpotts%netscape.com 1999-06-14 22:32:54 +00:00
Родитель cd90ffe1f2
Коммит 4158178158
2 изменённых файлов: 1 добавлений и 3 удалений

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

@ -172,7 +172,7 @@ nsHTTPChannel::AsyncRead(PRUint32 startPosition, PRInt32 readCount,
nsIEventQueue *eventQueue,
nsIStreamListener *listener)
{
return NS_ERROR_NOT_IMPLEMENTED;
return Open();
}
NS_IMETHODIMP
@ -313,7 +313,6 @@ nsHTTPChannel::Open(void)
nsISimpleEnumerator* pModules = nsnull;
rv = pNetModuleMgr->EnumerateModules("http-request", &pModules);
NS_RELEASE(pNetModuleMgr);
if (NS_FAILED(rv)) return rv;
nsIProxyObjectManager* proxyObjectManager = nsnull;

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

@ -183,7 +183,6 @@ nsHTTPResponseListener::OnDataAvailable(nsISupports* context,
nsISimpleEnumerator* pModules = nsnull;
rv = pNetModuleMgr->EnumerateModules("http-response", &pModules);
NS_RELEASE(pNetModuleMgr);
if (NS_FAILED(rv)) return rv;
nsIProxyObjectManager* proxyObjectManager = nsnull;