Skip to content

Conversation

@stevenctl
Copy link
Contributor

@stevenctl stevenctl commented Nov 7, 2025

What kind of change does this PR introduce?

Bug-fix

What is the current behavior?

While http.Client is safe for concurrent usage the way this package modifies the headers passed along is not concurrent safe.

What is the new behavior?

RWMutex protected access to headers on transport.

Additional context

This does NOT make the client concurrent-safe when using ClientError

@muratmirgun muratmirgun merged commit 7d7f517 into supabase-community:main Nov 10, 2025
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