Flush output buffers in the tap reader thread on Windows.

This is basically a port of commit 50fcfea1 to 1.1.
This commit is contained in:
Guus Sliepen 2013-03-01 17:15:26 +01:00
parent 4d05e695ab
commit f9ab8e266b
4 changed files with 11 additions and 0 deletions

View file

@ -80,6 +80,7 @@ static DWORD WINAPI tapreader(void *bla) {
packet.len = len;
packet.priority = 0;
route(myself, &packet);
event_flush_output();
LeaveCriticalSection(&mutex);
}
}