mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
lib/util: allow to set TCP_USER_TIMEOUT socket option
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897 Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
4faab2a77a
commit
bd71d2d92c
@ -71,6 +71,7 @@
|
||||
<listitem><para>TCP_KEEPALIVE_THRESHOLD *</para></listitem>
|
||||
<listitem><para>TCP_KEEPALIVE_ABORT_THRESHOLD *</para></listitem>
|
||||
<listitem><para>TCP_DEFER_ACCEPT *</para></listitem>
|
||||
<listitem><para>TCP_USER_TIMEOUT *</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>Those marked with a <emphasis>'*'</emphasis> take an integer
|
||||
|
@ -1035,6 +1035,9 @@ static const smb_socket_option socket_options[] = {
|
||||
#endif
|
||||
#ifdef TCP_DEFER_ACCEPT
|
||||
{"TCP_DEFER_ACCEPT", IPPROTO_TCP, TCP_DEFER_ACCEPT, 0, OPT_INT},
|
||||
#endif
|
||||
#ifdef TCP_USER_TIMEOUT
|
||||
{"TCP_USER_TIMEOUT", IPPROTO_TCP, TCP_USER_TIMEOUT, 0, OPT_INT},
|
||||
#endif
|
||||
{NULL,0,0,0,0}};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user