Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify arbitrator client of timeout #434

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

elupus
Copy link

@elupus elupus commented Sep 10, 2024

Pull request

Choose Correct

  • bug
  • feature

Describe the pull request

When transport times out, and the client is woken up. It should be informed that it's message buffer is invalid.

Set the status of the codec to timeout, so
a correct error handler is triggered in the client.

To Reproduce

Trigger a timeout in underlying protocol, when a client is waiting for a response.

Expected behavior

Client is signaled that a timeout occured.

Screenshots

Desktop (please complete the following information):

  • OS:
  • eRPC Version:

Steps you didn't forgot to do

  • I checked if other PR isn't solving this issue.
  • I read Contribution details and did appropriate actions.
  • PR code is tested.
  • PR code is formatted.
  • Allow edits from maintainers pull request option is set (recommended).

Additional context

When transport times out, and the client is woken up. It should be informed that it's message buffer is invalid.

Set the status of the codec to timeout, so
a correct error handler is triggered in the client.
@elupus elupus marked this pull request as draft October 24, 2024 11:35
@elupus
Copy link
Author

elupus commented Oct 24, 2024

Noticed some issues with this patch. Need to re-push a new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant