]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Provide config option for SO_LINGER and enable by default
authorMichalis Pappas <michalis@unikraft.io>
Tue, 20 Feb 2024 04:02:02 +0000 (05:02 +0100)
committerRazvan Deaconescu <razvan.deaconescu@upb.ro>
Fri, 31 May 2024 17:51:28 +0000 (20:51 +0300)
commit1176c04afe3ec91983c6812cdf95ea3b2dd5b8c1
tree98476ebf5396db4373e926c69e1aa0d2dd84af30
parent32a11569f0e8f291ac51c96d7b88e2b842740ca4
Provide config option for SO_LINGER and enable by default

Add a Kconfig option that controls support for SO_LINGER, and enable
by default. SO_LINGER allows delaying close() by a specified timeout
when data is still available in the socket.

Signed-off-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #52
Config.uk
include/lwipopts.h