EReadTimeout fixed

This commit is contained in:
André Mussche 2014-01-17 15:30:09 +01:00
parent c712228bbc
commit e1d2ad094b

View file

@ -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);