Enhancements

Add support for parsing authentication info in SOCKS5 links. (#652)
Optimize codes.
This commit is contained in:
Tindy X committed 2023-11-27 00:52:00 +08:00
1 parent fdf983bc1b
commit 38fd0da1ba
6 files changed
+95 -67

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ std::mutex cache_rw_lock;
class RWLock
{
#define WRITE_LOCK_STATUS -1
#define WRITE_LOCK_STATUS (-1)
#define FREE_STATUS 0
private:
const std::thread::id NULL_THREAD;