Sync OpenBSD patchset 1092:

Stop accepting new clients for 1 second on EMFILE/ENFILE. Based on
ongoing fixes to other daemons by Theo.
This commit is contained in:
Tiago Cunha
2012-04-12 12:43:40 +00:00
parent ce67a44a94
commit bae2701289
3 changed files with 34 additions and 6 deletions

1
tmux.h
View File

@ -1709,6 +1709,7 @@ extern struct clients dead_clients;
extern struct paste_stack global_buffers;
int server_start(int, char *);
void server_update_socket(void);
void server_add_accept(int);
/* server-client.c */
void server_client_create(int);