Open
Description
Currently, as far as I can see, the only mechanism for getting a timeout on a ReadMessage call is by setting a read deadline with SetReadDeadline.
This works, but if a read times out due to a read deadline, the whole connection is corrupted and cannot be read from anymore(!).
This is a surprising and extremely severe result that makes the mechanism unsuitable when all you really want is to just try receiving for a while, and if no message was received, then go do other stuff, and re-try receiving on the same (intact) connection later. As far as I can tell (please correct me if I'm wrong), there is currently no way to do this, which is unfortunate.
Metadata
Metadata
Assignees
Type
Projects
Status
No status