OSDN Git Service

More than 4k of input can be queued up in a pipe, so loop needs to continue reading...
authorRob Landley <rob@landley.net>
Wed, 19 Nov 2008 04:17:43 +0000 (22:17 -0600)
committerRob Landley <rob@landley.net>
Wed, 19 Nov 2008 04:17:43 +0000 (22:17 -0600)
commit7dbbe0d9ddc3d1b43b6699dc3c9cdd8a7b61851e
tree49aca5a645eea6b4ca3a03af7b063cd3b962a7c3
parent206a832f21f7b28f32127812da5ea764f8dd2644
More than 4k of input can be queued up in a pipe, so loop needs to continue reading until POLLIN is exhausted before acknowledging POLLHUP.
toys/netcat.c