File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
37
37
#include "gridinit-utils.h"
38
38
#include "gridinit_internals.h"
39
39
40
- static volatile int backlog_unix = 65536 ;
41
- static volatile int backlog_tcp = 4096 ;
42
-
43
40
int
44
41
__open_unix_client (const char * path )
45
42
{
@@ -56,12 +53,6 @@ __open_unix_client(const char *path)
56
53
if (sock < 0 )
57
54
return -1 ;
58
55
59
- #if 0
60
- /* Got to non-blocking mode */
61
- if (-1 == fcntl (sock , F_SETFL , O_NONBLOCK ))
62
- goto label_error ;
63
- #endif
64
-
65
56
/* Bind to file */
66
57
local .sun_family = AF_UNIX ;
67
58
g_strlcpy (local .sun_path , path , sizeof (local .sun_path )- 1 );
@@ -117,7 +108,7 @@ __open_unix_server(const char *path)
117
108
goto label_error ;
118
109
119
110
/* Listen on that socket */
120
- if (-1 == listen (sock , backlog_unix ))
111
+ if (-1 == listen (sock , 65536 ))
121
112
goto label_error ;
122
113
123
114
errno = 0 ;
You can’t perform that action at this time.
0 commit comments