necko - had to turn off www.*.com trick until we can identify dns failures

This commit is contained in:
valeski%netscape.com 1999-07-21 16:41:07 +00:00
Родитель 97080d487c
Коммит 20de55f858
2 изменённых файлов: 6 добавлений и 2 удалений

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

@ -2067,6 +2067,8 @@ NS_METHOD nsDocumentBindInfo::OnStopRequest(nsIURI* aURL, nsresult aStatus, cons
if (NS_FAILED(aStatus)) {
#ifdef NECKO
#if 0 // XXX can only turn this on once we can identify dns failures.
// We need to check for a dns failure in aStatus, but dns failure codes
// aren't proliferated yet. This checks for failure for a host lacking
// "www." and/or ".com" and munges the url acordingly, then fires off
@ -2115,7 +2117,7 @@ NS_METHOD nsDocumentBindInfo::OnStopRequest(nsIURI* aURL, nsresult aStatus, cons
nsIChannel::LOAD_NORMAL,
0);
}
#endif // 0
char *url;
if (NS_SUCCEEDED(rv))
aURL->GetSpec(&url);

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

@ -2067,6 +2067,8 @@ NS_METHOD nsDocumentBindInfo::OnStopRequest(nsIURI* aURL, nsresult aStatus, cons
if (NS_FAILED(aStatus)) {
#ifdef NECKO
#if 0 // XXX can only turn this on once we can identify dns failures.
// We need to check for a dns failure in aStatus, but dns failure codes
// aren't proliferated yet. This checks for failure for a host lacking
// "www." and/or ".com" and munges the url acordingly, then fires off
@ -2115,7 +2117,7 @@ NS_METHOD nsDocumentBindInfo::OnStopRequest(nsIURI* aURL, nsresult aStatus, cons
nsIChannel::LOAD_NORMAL,
0);
}
#endif // 0
char *url;
if (NS_SUCCEEDED(rv))
aURL->GetSpec(&url);