ntdll: Serial with ReadIntervalTimeout set to MAXDWORD should return immediately even if nothing was read.
This commit is contained in:
parent
473717fefd
commit
2e3287bc6a
|
@ -433,7 +433,7 @@ static NTSTATUS get_io_timeouts( HANDLE handle, enum server_fd_type type, ULONG
|
||||||
timeouts->total += count * st.ReadTotalTimeoutMultiplier;
|
timeouts->total += count * st.ReadTotalTimeoutMultiplier;
|
||||||
}
|
}
|
||||||
else if (st.ReadIntervalTimeout == MAXDWORD)
|
else if (st.ReadIntervalTimeout == MAXDWORD)
|
||||||
timeouts->interval = 0;
|
timeouts->interval = timeouts->total = 0;
|
||||||
}
|
}
|
||||||
else /* write */
|
else /* write */
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue