EReadTimeout fixed
This commit is contained in:
parent
c712228bbc
commit
e1d2ad094b
1 changed files with 2 additions and 0 deletions
|
@ -545,6 +545,8 @@ end;
|
|||
|
||||
function TIdIOHandlerWebsocket.Readable(AMSec: Integer): Boolean;
|
||||
begin
|
||||
if FWSInputBuffer.Size > 0 then Exit(True);
|
||||
|
||||
if not FSelectLock.TryEnter then Exit(False);
|
||||
try
|
||||
Result := inherited Readable(AMSec);
|
||||
|
|
Loading…
Reference in a new issue