bareos: master b3437eee

Author Committer Branch Timestamp Parent
Marco van Wieringen Marco van Wieringen master 2016-01-11 22:37 bareos-15.2 9dd99898 Pending
Affected Issues  0000593: Problem with a job on a passive client and limited Maximum Concurrent Jobs
Changeset socket: Introduce MaximumConnections for filed and stored.

When refactoring the socket_server code for the director we added a new
config option named MaximumConnections which is used to size the listen
backlog. This patch introduces something similar for the filed and
stored so we always size the backlog in a proper way according to the
wanted concurrency. We now check in accepting a connection in the filed
or stored if we already reached the wanted concurrency and then just
disconnect the session.

Fixes 0000593: Problem with a job on a passive client and limited Maximum
            Concurrent Jobs
mod - src/filed/dir_cmd.c Diff File
mod - src/filed/filed.c Diff File
mod - src/filed/filed_conf.c Diff File
mod - src/filed/filed_conf.h Diff File
mod - src/filed/socket_server.c Diff File
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/ndmp_tape.c Diff File
mod - src/stored/socket_server.c Diff File
mod - src/stored/stored.c Diff File
mod - src/stored/stored_conf.c Diff File
mod - src/stored/stored_conf.h Diff File