commit 7323bef77ebc237f29e365140fac9a28288cc6ec
Author: Matthew Dillon <[email protected]>
Date:   Wed Mar 18 16:35:39 2020 -0700

    kernel - Generate POLLHUP for fully disconnected socket
    
    * Properly generate POLLHUP for fully disconnected sockets.
    
      However, there is still a possible issue.  We do not set POLLHUP
      for half-closed sockets and it is really unclear whether we should
      or not once read data has been exhausted.

Summary of changes:
 sys/kern/sys_generic.c | 12 ++++++++----
 sys/kern/uipc_socket.c |  4 ++++
 sys/sys/event.h        |  3 ++-
 3 files changed, 14 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7323bef77ebc237f29e365140fac9a28288cc6ec


-- 
DragonFly BSD source repository

Reply via email to