diff options
author | 1997-08-09 23:10:11 +0000 | |
---|---|---|
committer | 1997-08-09 23:10:11 +0000 | |
commit | e261d0ed3d1eb2a4c0d7c6572c70a73877c33fca (patch) | |
tree | bf1491d46984665afe05c5eef6941f0bfdcc3e4b /sys/netinet/tcp_usrreq.c | |
parent | Using stdio on sockets is gross so don't do it. Also some -Wall. (diff) | |
download | wireguard-openbsd-e261d0ed3d1eb2a4c0d7c6572c70a73877c33fca.tar.xz wireguard-openbsd-e261d0ed3d1eb2a4c0d7c6572c70a73877c33fca.zip |
Increased performance in ypserv by two different actions:
1) ypdb_open_db now check error condition when something goes wrong.
Instead of always as before. by request of theo.
2) turned on -DOPTDB in Makefile. This will cause ypserv to keep databases
opened. If not defined ypserv will open and close the map for every
request. I think it was turned off before when yppush didn't work.
If a map changes yppush will signal to ypserv that the map has changed
and ypserv will reopen the map.
ypserv will start closing maps when it run out of file descriptors. Then
it will close the map least resent used.
-moj
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
0 files changed, 0 insertions, 0 deletions