lkml.org 
[lkml]   [2018]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[QUESTION] AF_UNIX connect behavior when listener backlog=0
The current implementation of AF_UNIX sockets immediately establishes a
new connection even when the backlog on the listener is zero.

Wouldn't it make more sense for connects to become synchronous with
accept when the listener is configured with a backlog of zero?

That way connects can be reliably refused from the listener side via
e.g. closing the listener instead of accepting the connect.

I'm not subscribed to netdev, so please take care to include me in any
replies on that list.

Regards,
Vito Caputo

\
 
 \ /
  Last update: 2018-10-23 18:33    [W:0.026 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site