summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-01-30 17:34:59 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-01-30 17:34:59 +0000
commit2ad85d8d97e961839ddcb838af1f52104af1d030 (patch)
treeb34985d3486b1b1f122f1eb9004b267289652820 /usr.sbin/ppp
parentae280d1b5f9990fabe1466ff8e7f61df8f618db5 (diff)
bump descriptors limit to the max and set the maximum connections count to
three quarters of that limit (a session typically has 3 descriptors). when we hit that limit, we stop accepting connections, and when client closes a session, we start accepting connections again. this prevents us from going into a session that is likely to fail because of scarce resources. idea discussed with jacekm@, code mostly ripped from relayd
Diffstat (limited to 'usr.sbin/ppp')
0 files changed, 0 insertions, 0 deletions