[ 
https://issues.apache.org/jira/browse/PROTON-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721109#comment-17721109
 ] 

ASF subversion and git services commented on PROTON-2731:
---------------------------------------------------------

Commit bd1a0da76ba86a2f2ae9c85f13b8d74e8ca9017e in qpid-proton-dotnet's branch 
refs/heads/main from Timothy Bish
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-dotnet.git;h=bd1a0da ]

PROTON-2731 Validate timeout value passed to Receive early

Prevent the event loop handler from getting blocked by unexpected error
from the task API delay feature.


> [proton-dotnet] Perform Receive call timeout validation before waiting
> ----------------------------------------------------------------------
>
>                 Key: PROTON-2731
>                 URL: https://issues.apache.org/jira/browse/PROTON-2731
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-dotnet
>    Affects Versions: proton-dotnet-1.0.0-M8
>            Reporter: Timothy A. Bish
>            Assignee: Timothy A. Bish
>            Priority: Major
>             Fix For: proton-dotnet-1.0.0-M9
>
>
> Calls in IReceiver and IStreamReceiver to wait on a delivery need to check 
> that the timeout value is not greater than UInt32.MaxValue milliseconds of 
> the inboult .NET Task API will fail internally in the receiver code and block 
> the call from ever completing.  This should be checked early to prevent a 
> client call hang.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to