Files
drip/internal
Gouryella e05f128a9c feat (tunnel/manager): Optimized concurrency security and resource management for tunnel registration.
A CAS loop is used to implement atomic operations on the global tunnel counter, avoiding race conditions.
Add a rollback mechanism to ensure that the occupied counter resources are properly released when registration fails.
Concurrency safety for IP rate limiting is achieved by using atomic operations and locks in combination.
Add appropriate resource rollback logic at each faulty branch to prevent resource leaks.
2025-12-24 10:13:30 +08:00
..