Hi. >> + /* listen and net in gone, queues empty, done */ >> + if (lflag && pfd[POLL_NETIN].fd == -1 > > lflag ??? > warning only one ref in the diff >
lflag is a global, the "listen" flag, as in: nc -l 127.0.0.1 80 I believe this is correct. Only when we listen do we want to close when the network input is gone. - Arne