[PATCH resend] ws2_32: Avoid depending on system getservby(name|port) functions

Alexandre Julliard julliard at winehq.org
Fri Sep 11 02:52:58 CDT 2020


Alex Henrie <alexhenrie24 at gmail.com> writes:

> Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
> ---
> 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.

The right way to avoid timeouts is to make the test faster. It doesn't
seem necessary to call these functions thousands of times.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list