Skip to content
Commit 8438ebe0 authored by Stefy Lanza (nextime / spora )'s avatar Stefy Lanza (nextime / spora )
Browse files

Fix thread synchronization issues in wsssh.c

- Added proper mutex protection for active_tunnel access
- Fixed race condition between main thread and forwarding thread
- Protected SSL connection access with mutex locks
- Fixed socket setting with proper mutex synchronization
- Ensured thread-safe access to tunnel state variables
- Prevented concurrent access to shared tunnel resources
- Added proper SSL connection lifecycle management
- Fixed potential data races in WebSocket message handling
parent 35e6e78f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment