git: socket: Use fast close if SO_LINGER and linger==0.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Dec 26 04:42:46 PST 2017


commit 27d2f9e204957dd141f6f14584f0296cc6f32d81
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Dec 26 12:28:39 2017 +0800

    socket: Use fast close if SO_LINGER and linger==0.
    
    It is widely used to reset TCP connection by userland application.

Summary of changes:
 sys/kern/uipc_socket.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/27d2f9e204957dd141f6f14584f0296cc6f32d81


-- 
DragonFly BSD source repository



More information about the Commits mailing list