FluentModbus icon indicating copy to clipboard operation
FluentModbus copied to clipboard

ReadTimeout will not be considered when using async

Open endrelovas opened this issue 3 months ago • 0 comments

Hello,

With reference to:

https://github.com/Apollo3zehn/FluentModbus/blob/bbd7dcd1d628811a73328233700ca352b2d3d71c/src/FluentModbus/Client/ModbusTcpClientAsync.cs#L54

timeoutCts will not be cancelled ever IMO. _networkStream.ReadTimeout is not considered when you call it Async.

Do I miss something here?

endrelovas avatar Oct 15 '25 12:10 endrelovas