зеркало из https://github.com/mozilla/gecko-dev.git
Initialize Async DNS during the rest of the netlib initialization. This will take place on the netlib thread (where appropriate...)
This commit is contained in:
Родитель
f18f85177c
Коммит
08f706df27
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче