Initialize Async DNS during the rest of the netlib initialization. This will take place on the netlib thread (where appropriate...)
git-svn-id: svn://10.0.0.236/trunk@10687 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -49,6 +49,7 @@ extern "C" {
|
||||
|
||||
|
||||
void RL_Init();
|
||||
|
||||
PUBLIC NET_StreamClass *
|
||||
NET_NGLayoutConverter(FO_Present_Types format_out,
|
||||
void *converter_obj,
|
||||
@@ -57,6 +58,10 @@ NET_NGLayoutConverter(FO_Present_Types format_out,
|
||||
|
||||
}; /* end of extern "C" */
|
||||
|
||||
#if defined(XP_PC)
|
||||
void net_InitAsyncDNS();
|
||||
#endif /* XP_PC */
|
||||
|
||||
|
||||
/*
|
||||
* Initialize our protocols
|
||||
@@ -95,6 +100,10 @@ nsresult NS_InitNetlib(void)
|
||||
NET_ChunkedDecoderStream);
|
||||
RL_Init();
|
||||
|
||||
#if defined(XP_PC)
|
||||
net_InitAsyncDNS();
|
||||
#endif /* XP_PC */
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user