ServiceEnumerator: add configurable busyRepeatRequest retry count#32
Closed
Copilot wants to merge 1 commit into
Closed
ServiceEnumerator: add configurable busyRepeatRequest retry count#32Copilot wants to merge 1 commit into
Copilot wants to merge 1 commit into
Conversation
…rator Agent-Logs-Url: https://github.com/polybassa/scapy-1/sessions/3a6dc2ac-86dd-4e49-bf2a-50a90a152f8b Co-authored-by: polybassa <1676055+polybassa@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
polybassa
May 2, 2026 20:45
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ServiceEnumeratorpreviously allowed at most one retry on NRC 0x21 (busyRepeatRequest) via the booleanretry_if_busy_returncodeflag. There was no way to control how many times the retry should be attempted.Changes
retry_if_busy_returncode_count(int, default3): maximum number of times a request is re-sent after receiving abusyRepeatRequestNRC. Validated as>= 0._busy_repeat_request_count(defaultdict(int)): tracks in-flight busy retries perEcuState; incremented on each busy response, reset on a non-busy response or when the limit is exceeded._evaluate_retryrewritten: directly manages_retry_pktand the new counter instead of delegating to_populate_retry, which only supported a single retry.Usage