summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authormaja <maja@openbsd.org>1997-08-09 23:10:11 +0000
committermaja <maja@openbsd.org>1997-08-09 23:10:11 +0000
commite261d0ed3d1eb2a4c0d7c6572c70a73877c33fca (patch)
treebf1491d46984665afe05c5eef6941f0bfdcc3e4b /sys/netinet/tcp_usrreq.c
parentUsing stdio on sockets is gross so don't do it. Also some -Wall. (diff)
downloadwireguard-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