Skip to content

feat: add clear_session() to NBAHTTP#654

Open
Anglui wants to merge 1 commit intoswar:masterfrom
Anglui:patch-1
Open

feat: add clear_session() to NBAHTTP#654
Anglui wants to merge 1 commit intoswar:masterfrom
Anglui:patch-1

Conversation

@Anglui
Copy link
Copy Markdown

@Anglui Anglui commented Mar 16, 2026

  • Introduce a public method to close and clear the internal _session.

  • Allows users to drop rate-limited cookies.

  • Prevents potential memory leaks by explicitly closing underlying TCP connections.

Motivated by issues thread: #633.

- Introduce a public method to close and clear the internal _session.

- Allows users to drop rate-limited cookies.

- Prevents potential memory leaks by explicitly closing underlying TCP connections.

Motivated by issues thread: swar#633
@Anglui Anglui requested a review from swar as a code owner March 16, 2026 16:38
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

Successfully merging this pull request may close these issues.

1 participant