Limit the number of simultaneous connections


Track the number of incoming connections until configured
total limit is reached. If set to 0, the limitation is diabled.
By default this is disabled. Add tests.

[ChangeLog] Added configurable limit of total simultaneous
connections.

Task-number: QTBUG-143593
Change-Id: Icfe346adbca7e7542351893cfeab04440ca10042
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
commitcc82a6a497010dfcb5a121e14f54778b23f6b75d
parent3b04d14d1b9f9a28a26d6344a6d056aeb8f654af
authorAyesha Ishaq <ayesha.ishaq@qt.io>
committerØystein Heskestad <oystein.heskestad@qt.io>
commit timeWed, 20 May 2026 08:13:29 +0000