On Mon, 2015-12-07 at 11:27 +0100, Hans Leidekker wrote:
It fails here: winhttp.c:2389: Test failed: expected 11, got 15
is that a clean build + fresh .wine prefix? Just applied first 3 patches from the series on top of clean Wine source, recompiled, created new ~/.wine and the tests pass cleanly for me.
It is a clean build. If I run the test with WINEDEBUG=+winhttp it passes.
You have trailing data in your test. You set Content-Length to 12 but send sizeof("Unauthorized\r\n\r\n") - 1 bytes. If I remove the line endings it passes reliably.