Skip to content

Conversation

@Debakel
Copy link
Contributor

@Debakel Debakel commented Sep 9, 2025

Use a context-managed requests.Session to guarantee that the session and its underlying TCP connections are properly closed.

This prevents ResourceWarning messages being written to stderr.

@psiinon
Copy link
Member

psiinon commented Sep 9, 2025

Logo
Checkmarx One – Scan Summary & Details1ed6024a-0ec0-4a6c-8a81-14dba5026fc3

Great job! No new security vulnerabilities introduced in this pull request


Use @Checkmarx to reach out to us for assistance.

Just send a PR comment with @Checkmarx followed by a natural language request.

Examples: @Checkmarx how are you able to help me? @Checkmarx rescan this PR

@thc202
Copy link
Member

thc202 commented Dec 9, 2025

Thank you!

Use a context-managed `requests.Session` to guarantee that the session and its underlying TCP connections are properly closed.
This prevents `ResourceWarning` messages being written to stderr.

Signed-off-by: Moritz Duchêne <[email protected]>
@thc202
Copy link
Member

thc202 commented Dec 9, 2025

Pushed to trigger the checks.

@thc202 thc202 merged commit 33c6e5a into zaproxy:main Dec 9, 2025
6 checks passed
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.

3 participants