windows web server app fails to send more than 11680 bytes !?
Eric Pouech
eric.pouech at wanadoo.fr
Sat Oct 14 01:34:34 CDT 2006
[IDC]Dragon wrote:
>>>>a +ntdll trace would be helpful
>>>>
>>>>
>>>How do I enable that? (likely a noob question)
>>>
>>>
>>WINEDEBUG=+ntdll wine foo.exe
>>
>>
>
>OK, got it. I have attached a log to the bugzilla entry.
>
>In addition, I also now attached an executable, complete with sample data, so anybody may quickly reproduce it.
>This is not our WRC app, but the plain vanilla Microsoft sample, which needs no install. It also shows the problem, and even more drastic (failing to serve a small file, too).
>
>Thanks to everyone!
>Jörg
>
>
>
does the attached patch solve your issues ?
A+
-------------- next part --------------
diff --git a/server/sock.c b/server/sock.c
index ce63932..c1a7a8d 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -814,6 +814,7 @@ DECL_HANDLER(set_socket_event)
FILE_WRITE_ATTRIBUTES, &sock_ops))) return;
old_event = sock->event;
sock->mask = req->mask;
+ sock->hmask &= ~req->mask; /* re-enable held events */
sock->event = NULL;
sock->window = req->window;
sock->message = req->msg;
More information about the wine-devel
mailing list