bin/176713: [patch] nc(1) closes network socket too soon

Ronald F. Guilmette rfg at tristatelogic.com
Mon Jul 22 18:12:31 UTC 2013


In message <CAJ-VmokAhE+uy4-3QAW6mK__sgw+L2_Y6M29O_+X+Ak5hoaW6Q at mail.gmail.com>
Adrian Chadd <adrian at freebsd.org> wrote:

>Right. Yes, I had a typo. I meant that it shouldn't die on seeing a
>read EOF after closing the write side of the socket.
>
>So, what you're saying is:
>
>* nc sees EOF on stdin

Yes.

>* nc decides to abort before seeing the rest of the data come in from
>the remote socket

Yes.



More information about the freebsd-hackers mailing list