mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Deadlock in SSLPlugin corrected
deadlock due to typo in previous SSL patch
This commit is contained in:
1 parent
bc725189e3
commit
d4f4e4a807
2 files changed
+2
-2
No files matched your search
@@ -60,7 +60,7 @@ static struct SSLqueue *searchSSL(SOCKET s){
|
||||
pthread_mutex_lock(&ssl_mutex);
|
||||
for(sslq = SSLq; sslq; sslq = sslq->next)
|
||||
if(sslq->s == s) break;
|
||||
pthread_mutex_lock(&ssl_mutex);
|
||||
pthread_mutex_unlock(&ssl_mutex);
|
||||
return sslq;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user