On Fri, Sep 11, 2020 at 2:32 AM Alistair Leslie-Hughes leslie_alistair@hotmail.com wrote:
On 11/9/20 6:21 pm, Hans Leidekker wrote:
On Thu, 2020-09-10 at 22:32 -0600, Alex Henrie wrote:
These functions are incredibly slow on Windows. To avoid timeouts, I had to put the tests in protocol.c rather than the crowded sock.c.
Probably because Windows parses c:\windows\system32\drivers\etc\services. We should use that file too because there are applications that append entries to it and expect them to be resolved.
Currently wine doesn't create those files. That would be staging patch wineboot-drivers_etc_Stubs patchset, now there might be reason to upstream it.
The Wine Staging patch just creates blank files. Eventually we are going to want to distribute premade service files and start parsing them in case applications add to them. However, I would prefer to switch to an in-memory implementation first so that we can get the tests right and move ahead with converting ws2_32 to PE format.
-Alex