Skip to content

fix: gracefully handle invalid base64 in grpc-status-details-bin header#2578

Open
hieuit095 wants to merge 1 commit into
grpc:masterfrom
hieuit095:fix/panic-on-invalid-base64-details
Open

fix: gracefully handle invalid base64 in grpc-status-details-bin header#2578
hieuit095 wants to merge 1 commit into
grpc:masterfrom
hieuit095:fix/panic-on-invalid-base64-details

Conversation

@hieuit095
Copy link
Copy Markdown

was parsing gRPC response headers and hit a panic when the grpc-status-details-bin header contains invalid base64. replaced the .expect() with proper error handling that logs a warning and returns empty bytes instead of crashing the client.

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