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

REMOTE_ERROR when CallInfo contains a negative wait time in request/response communication #23

Open
vcomito-apexai opened this issue Mar 14, 2022 · 0 comments

Comments

@vcomito-apexai
Copy link

According to the documentation, a negative wait time means that the request should wait indefinitely for the response:

typedef int Timeout_t; // in ms, -1 means "forever"

However, it looks like a negative value is ignored in https://github.com/COVESA/capicxx-someip-runtime/blob/master/src/CommonAPI/SomeIP/Connection.cpp#L593 and in https://github.com/COVESA/capicxx-someip-runtime/blob/master/src/CommonAPI/SomeIP/Connection.cpp#L606 sendAndBlockCondition_ waits for a time_point in the past.

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

No branches or pull requests

1 participant