http://bugs.winehq.org/show_bug.cgi?id=26340
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2011-03-07 05:34:59 CST --- That's enough, thanks. It looks like you use VT_UI1|VT_ARRAY to store POST body, and after that this variant is passed as VT_VARIANT|VT_BYREF to send() method. I'll do some tests for that case, should be simple.
By the way, unrelated to this bug but still. It's better to avoid wait loops like you use, it's designed to be async so you can set your callback with onreadystatechange() and use another timer to track timeout. It will be a nice test for our implementation as well.