mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-26 23:59:41 +08:00
Race conditions fixed on config reload
Race conditions on logging and name resolution
This commit is contained in:
1 parent
1220c504bd
commit
bd37ffa2f7
7 files changed
+41
-21
No files matched your search
+1
-1
@@ -256,7 +256,7 @@ void * smtppchild(struct clientparam* param) {
|
||||
if(!strncasecmp(command, "MAIL", 4) || !strncasecmp(command, "RCPT", 4) || !strncasecmp(command, "STARTTLS", 8) || !strncasecmp(command, "TURN", 4)){
|
||||
res = (int)strlen(command);
|
||||
command[res] = 0;
|
||||
res = handlehdrfilterscli(param, &command, &res, 0, &res);
|
||||
res = handlehdrfilterscli(param, (unsigned char **)&command, &res, 0, &res);
|
||||
if(res != PASS) {
|
||||
if(res == HANDLED) res = 2;
|
||||
else RETURN(677);
|
||||
|
||||
Reference in new issue
Block a user