1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-06 21:02:55 +08:00

Chromium tried to close our pipes and falls into infinity loop.

If return value of close() is -1, chromium will fall into infinity loop.
This commit is contained in:
David 2014-01-08 13:38:59 +08:00
parent e2af2f2bd7
commit ecbd735508

View File

@ -304,7 +304,7 @@ int close(int fd) {
fd != resp_pipefd[0] && fd != resp_pipefd[1]) {
return true_close(fd);
}
errno = EINTR;
errno = EBADF;
return -1;
}