Skip to content

Use public interfaces in Bandit module #515

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mtrudel
Copy link

@mtrudel mtrudel commented Jun 3, 2025

Previously, the Bandit support module used non-public interfaces within Bandit to obtain the HTTP protocol version and peer address/port info. These interfaces were factored away in Bandit 1.7, since they were never part of the declared public API.

This PR updates the Bandit support module to use publicly accessible methods for obtaining this info.

I've not done any extensive in-situ testing of this, though the suite is green for both Bandit 1.6 and 1.7 versions.

Copy link

linux-foundation-easycla bot commented Jun 3, 2025

CLA Signed


The committers listed above are authorized under a signed CLA.

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

Successfully merging this pull request may close these issues.

1 participant