Skip to content

Conversation

@jonasasx
Copy link
Contributor

Resolves #1614

Copy link
Member

@balamurugana balamurugana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extract response handling logic into a dedicated method to improve readability and maintainability. Simplifies error and success case differentiation while preserving the existing functionality.
@balamurugana balamurugana changed the title Fix: Prevent thread hang on exceptions in onResponse by adding try-catch for safe error handling Gracefully handle exceptions in httpclient callback to avoid hanging Jan 16, 2025
@harshavardhana harshavardhana merged commit ba3d0f1 into minio:master Jan 16, 2025
8 checks passed
@jonasasx jonasasx deleted the bugfix/thread-hang-onresponse branch January 20, 2025 07:18
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.

Lack of Exception Handling in onResponse Causes Thread Hang

3 participants