Skip to content

Conversation

@Rckov
Copy link
Owner

@Rckov Rckov commented Aug 13, 2025

Optimized Http2Client to avoid loading the native library on every instance creation. Previously each new client would load the same library separately, which was inefficient.
Now the library loads once at startup with Http2Client.Initialize() and all instances share it.

Changes:

  • Http2Client.Initialize() - one-time library loading
  • Http2Client.IsInitialized - check library status
  • Http2Client.Cleanup() - resource cleanup
  • Removed per-instance library path configuration

@Rckov Rckov merged commit e20012a into master Aug 13, 2025
@Rckov Rckov deleted the develop branch August 13, 2025 12:23
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.

2 participants