mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: handle out-of-files better
When we don't have enough files to accept the connection, clear the _IN flag so that we don't try to accept if over and over again. When a client disconnects, set the flag again so that we try to accecpt new connections again. See #1305
This commit is contained in:
parent
22b5b6b120
commit
def0caf281
2 changed files with 22 additions and 4 deletions
|
|
@ -198,6 +198,7 @@ struct server {
|
|||
struct spa_source *source;
|
||||
struct spa_list clients;
|
||||
uint32_t n_clients;
|
||||
uint32_t wait_clients;
|
||||
unsigned int activated:1;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue