Merge pull request #136 from c7f-m0d3/master
fix non-functional max_conns_per_ip
This commit is contained in:
commit
868fb45bf4
@ -409,7 +409,7 @@ static bool initParent(nsjconf_t* nsjconf, pid_t pid, int pipefd) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool runChild(nsjconf_t* nsjconf, int netfd, int fd_in, int fd_out, int fd_err) {
|
bool runChild(nsjconf_t* nsjconf, int netfd, int fd_in, int fd_out, int fd_err) {
|
||||||
if (!net::limitConns(nsjconf, fd_in)) {
|
if (!net::limitConns(nsjconf, netfd)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
unsigned long flags = 0UL;
|
unsigned long flags = 0UL;
|
||||||
|
Loading…
Reference in New Issue
Block a user