Closed hubertshelley closed 1 month ago
Is it really necessary to use rwlock? My project supports find a HttpPeer
and rewrite the request path without lock.
https://github.com/vicanso/pingap/blob/main/src/proxy/server.rs#L375
I'm not sure if this is relevant to the Pingora framework. This is a user defined lock. Only you can lock it. Where is write()
called for the lock?
This question has been stale for a week. It will be closed in an additional day if not updated.
This issue has been closed because it has been stalled with no activity.
What is the problem your feature solves, or the need it fulfills?
Rwlock is locked in lb, and I not sure it's a bug or designed.
Describe the solution you'd like
Rwlock is free in request_filter.
Additional context