Thanks to review my patch agian.
I need this kind of patch to run KakaoTalk which is the dominant messenger application in Korea. All communication between client and server is done this way. So, there is a problem in Login and Sending files currently.
I've analyzed the appplication and made prototype server/client programs to test the problem. The client sends messages, which are part of a file, to the server. The server assembles the messages and write them to a file. And compare the result file with the original one. If two files are different, there is a problem in message ordering.
Actually, the other patch is originated from this test.
I'll try embed the test into winetest, but I dont't know what file is chosen to test. Could you give me an advice? As you know, this test is not deterministic for a small file because there are few chances to cut in line. I use 96MB file to test and it always guarantees the test result.
Also, to convince you quickly that there is a problem, could I send you the code of the test programs?
Last question, sorry. What is in-tree/out-of-tree test?
Thanks.